C++ TargetRTS
Loading...
Searching...
No Matches
RTDaemonInfo.h
1/*
2 * Licensed Materials - Property of HCL and/or IBM
3 * Copyright HCL Technologies Ltd. 2016, 2021. All Rights Reserved.
4 * Copyright IBM Corporation 1999, 2016. All Rights Reserved.
5 *
6 * U.S. Government Users Restricted Rights - Use, duplication or
7 * disclosure restricted by GSA ADP Schedule.
8 */
9
10#ifndef __RTDaemonInfo_h__
11#define __RTDaemonInfo_h__ included
12
13#ifdef PRAGMA
14#pragma interface
15#endif
16
17#ifndef __RTConfig_h__
18#include <RTConfig.h>
19#endif
20
21struct RTActor_class;
22
24{
25public:
26 enum ActorInfoType
27 {
28 InfoActor,
29 InfoPort,
30 InfoState,
31 InfoChain,
32 InfoVariable
33 };
34
35 int daemonKind;
36 int probeNr;
37 char * actorPath;
38 int actorIndex;
39 const RTActor_class * info;
40 int actorDepth; // /=0, /ActorA:0=1, /ActorA:0/ActorB:0=2
41
42 // used by actor daemons:
43 int allRecurs;
44
45 // used by port daemons:
46 char * portName;
47 int portId;
48 int portIndex;
49
50 // used by state daemons:
51 char * stateStrTarget;
52 int stateTarget;
53 int stateDepth;
54
55 // used by chain daemons:
56 char * chainStrOrigin;
57 char * chainStrTrans;
58 int chainOrigin;
59 int chainTrans;
60 int chainPosition;
61
62 // used by variable daemons:
63 char * variableName;
64
65 RTDaemonInfo( void );
66 virtual ~RTDaemonInfo( void );
67
68 void setInfo ( const char * theActor );
69 void setInfoActor( const char * theActor, int theAllRecurs );
70 void setInfoChain( const char * theActor,
71 const char * theOrigin,
72 const char * theTrans,
73 int thePos );
74 void setInfoPort ( const char * theActor, const char * thePort );
75 void setInfoState( const char * theActor, const char * theState );
76 void setInfoVariable( const char * theActor, const char * theVariable );
77
78private:
79 // unavailable methods
80 RTDaemonInfo( const RTDaemonInfo & );
81 RTDaemonInfo & operator=( const RTDaemonInfo & );
82}; //lint !e1712
83
84#endif // __RTDaemonInfo_h__
Definition: RTDaemonInfo.h:24
Definition: RTActor_class.h:49