RTI Connext DDS Micro C++ API
Version 4.0.1
|
Basic DDS value types for use in user data types. More...
Macros | |
#define | DDS_BOOLEAN_TRUE CDR_BOOLEAN_TRUE |
Defines TRUE value of IDL boolean data type. | |
#define | DDS_BOOLEAN_FALSE CDR_BOOLEAN_FALSE |
Defines FALSE value of IDL boolean data type. |
Typedefs | |
typedef CDR_Char | DDS_Char |
Defines IDL char data type. | |
typedef RTI_UINT16 | DDS_Wchar |
Defines IDL wchar data type. | |
typedef CDR_Octet | DDS_Octet |
Defines IDL octet data type. | |
typedef CDR_Short | DDS_Short |
Defines IDL short data type. | |
typedef CDR_UnsignedShort | DDS_UnsignedShort |
Defines IDL unsigned short data type. | |
typedef CDR_Long | DDS_Long |
Defines IDL long data type. | |
typedef CDR_UnsignedLong | DDS_UnsignedLong |
Defines IDL unsigned long data type. | |
typedef CDR_LongLong | DDS_LongLong |
Defines IDL long long data type. | |
typedef CDR_UnsignedLongLong | DDS_UnsignedLongLong |
Defines IDL unsigned long long data type. | |
typedef CDR_Float | DDS_Float |
Defines IDL float data type. | |
typedef CDR_Double | DDS_Double |
Defines IDL double data type. | |
typedef CDR_LongDouble | DDS_LongDouble |
Defines IDL long double data type. | |
typedef CDR_Boolean | DDS_Boolean |
Defines IDL boolean data type. | |
typedef CDR_Enum | DDS_Enum |
Defines IDL enum data type. | |
typedef CDR_String | DDS_String |
IDL string type representation. | |
typedef DDS_Wchar * | DDS_Wstring |
Defines IDL wstring data type. |
Basic DDS value types for use in user data types.
As part of the finalization of the DDS standard, a number of DDS-specific primitive types will be introduced. By using these types, you will ensure that your data is serialized consistently across platforms even if the built-in types have different sizes on those platforms.
In this version of RTI Connext DDS Micro, the DDS primitive types are defined using the OMG's Common Data Representation (CDR) standard.
#define DDS_BOOLEAN_TRUE CDR_BOOLEAN_TRUE |
Defines TRUE value of IDL boolean data type.
#define DDS_BOOLEAN_FALSE CDR_BOOLEAN_FALSE |
Defines FALSE value of IDL boolean data type.
typedef CDR_Char DDS_Char |
Defines IDL char data type.
An 8-bit quantity that encodes a single byte charater from any byte-oriented code set.
typedef RTI_UINT16 DDS_Wchar |
Defines IDL wchar data type.
An 16-bit quantity that encodes a wide character from any character set.
typedef CDR_Octet DDS_Octet |
Defines IDL octet data type.
An 8-bit quantity that is guaranteed not to undergo any conversion when transmitted by the middleware.
typedef CDR_Short DDS_Short |
Defines IDL short data type.
A 16-bit signed short integer value.
typedef CDR_UnsignedShort DDS_UnsignedShort |
Defines IDL unsigned short data type.
A 16-bit unsigned short integer value.
typedef CDR_Long DDS_Long |
Defines IDL long data type.
A 32-bit signed long integer value.
typedef CDR_UnsignedLong DDS_UnsignedLong |
Defines IDL unsigned long data type.
A 32-bit unsigned long integer value.
typedef CDR_LongLong DDS_LongLong |
Defines IDL long long data type.
A 64-bit signed long long integer value.
Since some architectures do not support long long (8 bytes long), RTI has defined character arrays that match the expected size of these types.
typedef CDR_UnsignedLongLong DDS_UnsignedLongLong |
Defines IDL unsigned long long data type.
An 64-bit unsigned long long integer value.
Since some architectures do not support (unsigned) long long (8 byte long), RTI has defined character arrays that match the expected size of these types.
typedef CDR_Float DDS_Float |
Defines IDL float data type.
A 32-bit floating point value.
typedef CDR_Double DDS_Double |
Defines IDL double data type.
A 64-bit floating point value.
typedef CDR_LongDouble DDS_LongDouble |
Defines IDL long double data type.
A 16-byte floating point value.
Since some architectures do not support long double, RTI has defined character arrays that match the expected size of this type. On systems that do have native long double, you have to define RTI_CDR_SIZEOF_LONG_DOUBLE as 16 to map them to native types.
typedef CDR_Boolean DDS_Boolean |
Defines IDL boolean data type.
An 8-bit boolean value that is used to denote a data item that can only take one of the values DDS_BOOLEAN_TRUE (1) or DDS_BOOLEAN_FALSE (0).
typedef CDR_Enum DDS_Enum |
Defines IDL enum data type.
Encoded as unsigned long value. The first enum identifier has the numeric value zero (0). Successive enum identifiers take ascending numeric values, in order of declaration from left to right.
typedef CDR_String DDS_String |
IDL string
type representation.
Has a range of ISO Latin-1 (except ASCII NULL) and a variable length.
typedef DDS_Wchar* DDS_Wstring |
Defines IDL wstring data type.
Each character composing the string is a 16-bit quantity that encodes a wide character from any character set.