C++ TargetRTS
Loading...
Searching...
No Matches
Public Member Functions | Protected Types | Protected Attributes | List of all members
RTObserver Class Reference
Inheritance diagram for RTObserver:
RTCmdLineObserver RTToolsetObserver RTWebObserver

Public Member Functions

 RTObserver (RTDebugger *theDebugger, RTTcpSocket *theSocket, int theObsId, const char *initBuf=nullptr, int initLen=0)
 
int setDaemon (int daemonNr)
 
void cmdCommand (const char *commandString)
 
void cmdCreateDaemon (int daemonNr)
 
void cmdDestroyDaemon (int daemonNr)
 
int addInfo (RTDaemonInfo *theInfo)
 
int delInfo (RTDaemonInfo *theInfo)
 
int prepareEvent (RTEventInfo &eventInfo)
 
void dispatchEvent (RTEventInfo &eventInfo)
 
virtual int evtChain (int daemonId, const RTDaemonInfo &daemonInfo, const RTEventInfo &eventInfo)
 
virtual int evtState (int daemonId, const RTDaemonInfo &daemonInfo, const RTEventInfo &eventInfo)
 
virtual int evtPresence (int daemonId, const RTDaemonInfo &daemonInfo, const RTEventInfo &eventInfo)
 
virtual int evtReference (int daemonId, const RTDaemonInfo &daemonInfo, const RTEventInfo &eventInfo)
 
virtual int evtMessageIn (int daemonId, const RTDaemonInfo &daemonInfo, const RTEventInfo &eventInfo)
 
virtual int evtMessageOut (int daemonId, const RTDaemonInfo &daemonInfo, const RTEventInfo &eventInfo)
 
virtual int evtMessageOutIn (int daemonId, const RTDaemonInfo &sndDaemonInfo, const RTDaemonInfo &recDaemonInfo, const RTEventInfo &eventInfo)
 
virtual int evtRtsStatus (int daemonId, const RTEventInfo &eventInfo)
 
virtual int evtVariable (int daemonId, const RTDaemonInfo &daemonInfo, const RTEventInfo &eventInfo)
 
virtual int evtChildren (int daemonId, const RTDaemonInfo &daemonInfo, const RTEventInfo &eventInfo)
 
virtual int evtHistory (int daemonId, const RTDaemonInfo &daemonInfo, const RTEventInfo &eventInfo)
 
virtual int evtMessageQueue (int daemonId, const RTDaemonInfo &daemonInfo, const RTEventInfo &eventInfo)
 
virtual int receiveData (void)
 
virtual int transmitData (void)
 
int readData (char *buf, int buflen)
 
int sendData (const char *buf, int buflen=0)
 

Protected Types

enum  LastFlowCmd { FlowNone , FlowPause , FlowResume }
 

Protected Attributes

RTDebuggerdebugger
 
RTTcpSocketsocket
 
int observerId
 
RTDaemondaemon
 
RTElasticArray daemons
 
RTDaemonsuperDaemon
 
int bufSize
 
int bufUsed
 
char * inBuffer
 
int haltByProbe
 
int resumeToRun
 
LastFlowCmd lastFlowCmd
 

The documentation for this class was generated from the following file: