Inheritance diagram for sample-simulator.MyModel:
Collaboration diagram for sample-simulator.MyModel:Public Member Functions | |
| def | HandleEvent (self, value) |
| def | Start (self) |
Simple model object to illustrate event handling.
Definition at line 31 of file sample-simulator.py.
| def sample-simulator.MyModel.HandleEvent | ( | self, | |
| value | |||
| ) |
| [in] | self | This instance of MyModel |
| [in] | value | Event argument. |
Simple event handler.
Definition at line 42 of file sample-simulator.py.
Referenced by sample-simulator.MyModel.Start().
Here is the caller graph for this function:| def sample-simulator.MyModel.Start | ( | self | ) |
Start model execution by scheduling a HandleEvent.
Definition at line 35 of file sample-simulator.py.
References sample-simulator.MyModel.HandleEvent(), and anonymous_namespace{sample-simulator.cc}::MyModel.HandleEvent().
Here is the call graph for this function: