C++ TargetRTS
Loading...
Searching...
No Matches
RTProtocolAdapter.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 __RTProtocolAdapter_h__
11#define __RTProtocolAdapter_h__ included
12
13#ifdef PRAGMA
14#pragma interface
15#endif
16
17#ifndef __RTConfig_h__
18#include <RTConfig.h>
19#endif
20
22
24{
25public:
26 RTProtocolAdapter( void );
27 ~RTProtocolAdapter( void );
28
29 void adapt( const RTProtocolDescriptor * source,
30 const RTProtocolDescriptor * target,
31 const int ** sourceMap,
32 const int ** targetMap );
33
34private:
35 struct Entry
36 {
37 const RTProtocolDescriptor * source;
38 const RTProtocolDescriptor * target;
39 int maps[ 1 /* 0 or more */ ];
40 };
41
42 Entry ** entry;
43 int size;
44 int used;
45};
46
47#endif // __RTProtocolAdapter_h__
Definition: RTProtocolAdapter.h:24
Definition: RTProtocolDescriptor.h:40