Simple model object to illustrate event handling. More...
| Public Member Functions | |
| void | Start (void) | 
| Start model execution by scheduling a HandleEvent.  More... | |
| Private Member Functions | |
| void | HandleEvent (double eventValue) | 
| Simple event handler.  More... | |
Simple model object to illustrate event handling.
Definition at line 40 of file sample-simulator.cc.
| 
 | private | 
Simple event handler.
| [in] | eventValue | Event argument. | 
Definition at line 63 of file sample-simulator.cc.
References ns3::Time::GetSeconds(), and ns3::Simulator::Now().
Referenced by sample-simulator.MyModel::Start().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| void anonymous_namespace{sample-simulator.cc}::MyModel::Start | ( | void | ) | 
Start model execution by scheduling a HandleEvent.
Definition at line 56 of file sample-simulator.cc.
References ns3::Simulator::Now(), ns3::Simulator::Schedule(), and ns3::Seconds().
Referenced by anonymous_namespace{sample-simulator.cc}::ExampleFunction().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function: