11 #define DDS_SAFE_UNMARSH 1 12 #include <dds/dds_marsh.h> 14 # pragma warning(push) 15 # pragma warning(disable:4251) 16 # pragma warning(disable:4996) 19 # define RPC_TYPES_DDL_VERSION_MAJOR 4 20 # define RPC_TYPES_DDL_VERSION_MINOR 0 21 # define RPC_TYPES_DDL_VERSION_PATCH 10 22 # define RPC_TYPES_DDL_VERSION_MAJOR_STR "4" 23 # define RPC_TYPES_DDL_VERSION_MINOR_STR "0" 24 # define RPC_TYPES_DDL_VERSION_PATCH_STR "10" 32 static const int SUCCESS_RETCODE = 0;
33 typedef unsigned char UnknownOperation;
35 typedef unsigned char UnknownException;
37 typedef unsigned char UnusedMember;
40 enum SystemExceptionCode_t {
44 PRECONDITION_NOT_MET = 3,
48 ILLEGAL_OPERATION = 7,
49 UNKNOWN_OPERATION = 8,
51 INITIALIZE_ERROR = 10,
52 CLIENT_INTERNAL_ERROR = 11,
53 SERVER_INTERNAL_ERROR = 12,
54 SERVER_NOT_FOUND = 13,
63 static const int INSTANCE_NAME_MAXLEN = 255;
65 class RequestHeaderTypeSupport;
66 class RequestHeaderDataReader;
67 class RequestHeaderDataWriter;
70 #ifndef _DDS_sequence_cpp_DDS_rpc_RequestHeaderPtr_defined 71 #define _DDS_sequence_cpp_DDS_rpc_RequestHeaderPtr_defined 72 DECLARE_CPP_UNBOUNDED_SEQ( DDS::rpc::RequestHeader * , RequestHeaderPtrSeq );
75 struct COREDX_TS_STRUCT_EXPORT RequestHeader {
80 RequestHeader(
const RequestHeader & other );
81 RequestHeader& operator=(
const RequestHeader & other);
83 #ifndef _DDS_cpp_DDS_rpc_RequestHeader_fixedstring255_t_defined 84 #define _DDS_cpp_DDS_rpc_RequestHeader_fixedstring255_t_defined 85 typedef char fixedstring255_t[255+1];
90 void copy(
const DDS::rpc::RequestHeader * instance );
92 int get_marshal_size(
int offset,
int just_keys)
const ;
93 int marshal_cdr(
unsigned char * buf,
int offset,
int stream_len,
94 unsigned char swap,
int just_keys)
const ;
95 int marshal_key_hash(
unsigned char *buf,
int offset,
int stream_len)
const;
96 int unmarshal_cdr(
unsigned char * buf,
int offset,
int stream_len,
97 unsigned char swap,
int just_keys);
98 int unmarshal_key_hash(
unsigned char *buf,
int offset,
int stream_len);
101 static unsigned char get_field_def(
const char * fieldname,
102 CoreDX_FieldDef_t * field_def);
104 fixedstring255_t instanceName;
106 typedef RequestHeaderTypeSupport TypeSupport;
107 typedef RequestHeaderDataReader DataReader;
108 typedef RequestHeaderDataWriter DataWriter;
109 typedef RequestHeaderPtrSeq Seq;
116 class ReplyHeaderTypeSupport;
117 class ReplyHeaderDataReader;
118 class ReplyHeaderDataWriter;
121 #ifndef _DDS_sequence_cpp_DDS_rpc_ReplyHeaderPtr_defined 122 #define _DDS_sequence_cpp_DDS_rpc_ReplyHeaderPtr_defined 123 DECLARE_CPP_UNBOUNDED_SEQ( DDS::rpc::ReplyHeader * , ReplyHeaderPtrSeq );
126 struct COREDX_TS_STRUCT_EXPORT ReplyHeader {
131 ReplyHeader(
const ReplyHeader & other );
132 ReplyHeader& operator=(
const ReplyHeader & other);
136 void copy(
const DDS::rpc::ReplyHeader * instance );
138 int get_marshal_size(
int offset,
int just_keys)
const ;
139 int marshal_cdr(
unsigned char * buf,
int offset,
int stream_len,
140 unsigned char swap,
int just_keys)
const ;
141 int marshal_key_hash(
unsigned char *buf,
int offset,
int stream_len)
const;
142 int unmarshal_cdr(
unsigned char * buf,
int offset,
int stream_len,
143 unsigned char swap,
int just_keys);
144 int unmarshal_key_hash(
unsigned char *buf,
int offset,
int stream_len);
147 static unsigned char get_field_def(
const char * fieldname,
148 CoreDX_FieldDef_t * field_def);
151 typedef ReplyHeaderTypeSupport TypeSupport;
152 typedef ReplyHeaderDataReader DataReader;
153 typedef ReplyHeaderDataWriter DataWriter;
154 typedef ReplyHeaderPtrSeq Seq;
166 # pragma warning(pop) Provides the DDS infrastructure.
Definition: dds_builtin_basic.hh:28
Definition: dds_builtin_basic.hh:239