C++ TargetRTS
Loading...
Searching...
No Matches
RTProbe.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 __RTProbe_h__
11#define __RTProbe_h__ included
12
13#ifdef PRAGMA
14#pragma interface
15#endif
16
17#ifndef __RTConfig_h__
18#include <RTConfig.h>
19#endif
20
21class RTActor;
22class RTDebugger;
23
25{
26public:
27 virtual ~RTProbe( void );
28
29 RTS_INLINE int adjustRefCount( int offset );
30 RTS_INLINE const char * getStringPath( void ) const;
31 RTS_INLINE int getActorIndex( void ) const;
32
33 virtual int connectProbe ( void );
34 virtual int disconnectProbe( RTActor * actor );
35
36 RTS_INLINE int getProbeId( void ) const;
37 virtual const char * getTypeStr( void ) const = 0;
38
39 int breakPointAction( void );
40 int showProbe( void );
41 RTS_INLINE int cmdline( void ) const;
42 RTS_INLINE int connected( void ) const;
43 RTS_INLINE RTActor * actor( void ) const;
44
45protected:
46 RTProbe( RTDebugger * debugger,
47 int id,
48 const char * strPath,
49 int actorIndex );
50
51 RTDebugger * _debugger;
52 int _id;
53 int _owner;
54 RTActor * _actor;
55 int _doReport;
56 int _refCount;
57 char * _stringPath;
58 int _actorIndex;
59
60public:
61 int _destroyMe;
62
63private:
64 // unavailable methods
65 RTProbe( const RTProbe & );
66 RTProbe & operator=( const RTProbe & );
67}; //lint !e1712
68
69#if RTS_INLINES
70#include <RTProbe.inl>
71#endif
72
73#endif // __RTProbe_h__
An instance of this class represents a capsule instance.
Definition: RTActor.h:44
Definition: RTDebugger.h:58
Definition: RTProbe.h:25