FACT++
1.0
|
|
protected |
Calling this function, a new (named) event is added to the state machine. Therefore an instance of type DimEvent is created and added to the list of available commands fListOfEvents.
name | The command name which should initiate the transition. The DimCommand will be constructed with the name given to the constructor and this name, e.g. "DRIVE/CHANGE_STATE_TO_NEW_STATE" |
fmt | A format as defined by the dim system can be given for the command. However, it has no real meaning except that it is stored within the DimCommand object. However, the user must make sure that the data of received commands is properly extracted. No check is done. |
s1,s2,s3,s4,s5 | A list of states from which a transition to targetstate is allowed by this command. |
Definition at line 589 of file StateMachineImp.cc.
References AddEvent(), and str.