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().
def sample-simulator.MyModel.Start | ( | self | ) |
Start model execution by scheduling a HandleEvent.
Definition at line 35 of file sample-simulator.py.
References anonymous_namespace{sample-simulator.cc}::MyModel.HandleEvent(), and sample-simulator.MyModel.HandleEvent().