State machine for the run control events
State machine for the run control events. This state machine handles the run control objects and works with the run control internal event mechanism. Note that this is different from the corba event notifier stuff, the reason being that most of the run control coordination is done within the run control server itself. E.g. the partition object doesn't need to send the event to the event notifier if all it want to do is to tell a process stage to start downloading its components (as the process stage object is in the same server).
The mechanism is embarrasingly simple, rcFsm registers itself with the event queue and its takeEvent gets called whenever it receives an event. The takeEvent is implemented by the subclasses as it needs to know more about the states and transitions.See also: rcEvent, rcEventQueue
Last update Feb 5, 2000, CW
~rcFsm()
char* getFsmName()
int getCurrentState()
const char* getcCurrentState()
virtual void setCurrentState(int iNewState )
virtual int TakeEvent( rcEvent *Event )
void setEventTrace( bool bTrace )
bool getEventTrace()
virtual int ignoreEvent( rcEvent *pEvent )
virtual int canthappenEvent( rcEvent *pEvent )
bool bEventTrace
bool bNoTimersAccepted
char* pcFsmName
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de