Defines generic classes and macros to support user data types.
More...
|
#define | DDS_DATAWRITER_CPP(TDataWriter, TData) |
| Declares the interface required to support a user data type specific data writer.
|
|
#define | DDS_DATAREADER_CPP(TDataReader, TData) |
| Declares the interface required to support a user data type-specific data reader.
|
|
#define | DDS_TYPESUPPORT_CPP(TTypeSupport, TData) |
| Declares the interface required to support a user data type.
|
|
Defines generic classes and macros to support user data types.
Defines the DDS user data type support.
DDS specifies strongly typed interfaces to read and write user data. For each data class defined by the application, there is a number of specialised classes that are required to facilitate the type-safe interaction of the application with RTI Connext DDS Micro.
RTI Connext DDS Micro provides an automatic means to generate all these type-specific classes with the RTI IDL Compiler User Manual utility. The complete set of automatic classes created for a hypothetical user data type named Foo
are shown below.
"Classes auto-created for an application data type named Foo"
The macros defined here declare the strongly typed APIs needed to support an arbitrary user defined data of type Foo
.
◆ DDS_DATAWRITER_CPP
#define DDS_DATAWRITER_CPP |
( |
| TDataWriter, |
|
|
| TData ) |
◆ DDS_DATAREADER_CPP
#define DDS_DATAREADER_CPP |
( |
| TDataReader, |
|
|
| TData ) |
◆ DDS_TYPESUPPORT_CPP
#define DDS_TYPESUPPORT_CPP |
( |
| TTypeSupport, |
|
|
| TData ) |
◆ DDS_InstanceHandle_t
◆ DDS_InstanceHandle_equals()
Compares this instance handle with another handle for equality.
- Parameters
-
self | <<in>> This handle. Cannot be NULL. |
other | <<in>> The other handle to be compared with this handle. Cannot be NULL. |
- Returns
- DDS_BOOLEAN_TRUE if the two handles have equal values, or DDS_BOOLEAN_FALSE otherwise.
- See also
- DDS_InstanceHandle_is_nil
◆ DDS_InstanceHandle_is_nil()
◆ DDS_HANDLE_NIL