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 37 of file sample-simulator.cc.
      
  | 
  private | 
Simple event handler.
| [in] | eventValue | Event argument. | 
Definition at line 59 of file sample-simulator.cc.
References ns3::Time::GetSeconds(), and ns3::Simulator::Now().
Referenced by sample-simulator.MyModel::Start(), and Start().
 Here is the call graph for this function:
 Here is the caller graph for this function:| void MyModel::Start | ( | void | ) | 
Start model execution by scheduling a HandleEvent.
Definition at line 52 of file sample-simulator.cc.
References HandleEvent(), ns3::Simulator::Now(), ns3::Simulator::Schedule(), and ns3::Seconds().
Referenced by ExampleFunction().
 Here is the call graph for this function:
 Here is the caller graph for this function: