Run control internal event class
Run control internal event class. The objects within the run control communicate by passing events between them. These events are implemented by this class rcEvent and are freely modelled after the ShlaerMellor religion (sorry - methodology). Note that these events are totally different from the PHENIX CORBA events using the event notifier. rcEvent is only passed between objects in the run control server.
For communicating with the CORBA objects outside the run control server, CORBA events are passed to the event notifier and from there to the remote object.
The run control internal events rcEvent are simply put on to an event queue (class rcEventQueue) and are passed from there to the destination object based in the order that they have been sent. (Note that there are two instances of rcEventQueue: one for events that an object sends to itself, one for events that an object sends to an instance of another class.)
The processing of the rcEvents is interleaved with the main CORBA event loop (member rcMain::rcMainLoop).See also: rcFsm, rcEventQueue, smTimer
First version: Mar 12, 98, CW
Last update: Implemented proper handling of event data by adding rcEventData as data parameter
Feb 3, 2000, CW
rcEvent( const char *source, const char *dest, int id, const char *pcMsg )
int send()
inline void identify( ostream &os = cout )
inline const char* get_source()
int get_id()
char* get_dest()
inline const rcEventData* get_data()
inline bool toSelfEvent()
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de