C++ TargetRTS
Loading...
Searching...
No Matches
RTRootProtocol.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 __RTRootProtocol_h__
11#define __RTRootProtocol_h__ included
12
13#ifdef PRAGMA
14#pragma interface
15#endif
16
17#ifndef __RTInSignal_h__
18#include <RTInSignal.h>
19#endif
20
21#ifndef __RTProtocol_h__
22#include <RTProtocol.h>
23#endif
24
32{
33public:
34 RTS_INLINE RTRootProtocol( void );
35 RTS_INLINE ~RTRootProtocol( void );
36
37 static const RTProtocolDescriptor rt_class;
38
39 enum // "in" signals
40 {
41 rti_rtBound = rtiLast_RTProtocol + 1,
42 rti_rtUnbound
43 };
44
45 RTS_INLINE RTInSignal rtBound( void );
46 RTS_INLINE RTInSignal rtUnbound( void );
47
48protected:
49 enum
50 {
51 rtiLast_RTRootProtocol = rti_rtUnbound
52 };
53
54private:
55 // unavailable methods
57 RTRootProtocol & operator=( const RTRootProtocol & );
58}; //lint !e1712
59
60#if RTS_INLINES
61#include <RTRootProtocol.inl>
62#endif
63
64#endif // __RTRootProtocol_h__
Represents a general capsule port typed by a protocol which determines the set of events that can be ...
Definition: RTProtocol.h:50
Represents a capsule port which at run-time can be bound to another capsule port.
Definition: RTRootProtocol.h:32
Provides the API for working with messages of a certain protocol event received on a certain port.
Definition: RTInSignal.h:34
Definition: RTProtocolDescriptor.h:40