A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
sample-simulator.cc File Reference
#include <iostream>
#include "ns3/simulator.h"
#include "ns3/nstime.h"
#include "ns3/command-line.h"
#include "ns3/double.h"
#include "ns3/random-variable-stream.h"
+ Include dependency graph for sample-simulator.cc:

Go to the source code of this file.

Classes

class  MyModel
 

Functions

static void CancelledEvent (void)
 
static void ExampleFunction (MyModel *model)
 
int main (int argc, char *argv[])
 
static void RandomFunction (void)
 

Function Documentation

static void CancelledEvent ( void  )
static

Definition at line 69 of file sample-simulator.cc.

Referenced by main().

+ Here is the caller graph for this function:

static void ExampleFunction ( MyModel model)
static

Definition at line 54 of file sample-simulator.cc.

References ns3::Time::GetSeconds(), ns3::Simulator::Now(), and MyModel::Start().

Referenced by main().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void RandomFunction ( void  )
static

Definition at line 62 of file sample-simulator.cc.

References ns3::Time::GetSeconds(), and ns3::Simulator::Now().

Referenced by main().

+ Here is the call graph for this function:

+ Here is the caller graph for this function: