User Data Type Support
[Topic Module]

Defines generic classes and macros to support user data types. More...

Classes

struct  DDS::InstanceHandle_t
 Type definition for an instance handle. More...
class  DDS::InstanceHandleSeq
 Instantiates DDS::Sequence < DDS::InstanceHandle_t > . More...
class  DDS::TypeSupport
 <<interface>> An abstract marker interface that has to be specialized for each concrete user data type that will be used by the application. More...
struct  Foo
 A representative user-defined data type. More...
class  FooTypeSupport
 <<interface>> <<generic>> User data type specific interface. More...

Variables

static InstanceHandle_t DDS::InstanceHandle_t::HANDLE_NIL
 The NIL instance handle.

Properties

bool DDS::InstanceHandle_t::is_nil [get]
 Compare this handle to DDS::InstanceHandle_t::HANDLE_NIL.

Detailed Description

Defines generic classes and macros to support user data types.

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 Data Distribution Service.

RTI Data Distribution Service provides an automatic means to generate all these type-specific classes with the rtiddsgen utility. The complete set of automatic classes created for a hypothetical user data type named Foo are shown below.

DDSUserDataSupport.png

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.

See also:
rtiddsgen

Variable Documentation

The NIL instance handle.

Special DDS::InstanceHandle_t value

See also:
DDS::InstanceHandle_t::is_nil
Examples:
HelloWorld_publisher.cpp.


Properties

bool DDS::InstanceHandle_t::is_nil [get, inherited]

Compare this handle to DDS::InstanceHandle_t::HANDLE_NIL.

Returns:
true if the given instance handle is equal to DDS::InstanceHandle_t::HANDLE_NIL or false otherwise.
See also:
DDS::InstanceHandle::Equals


RTI Data Distribution Service .Net APIs Version 4.5e Copyright © 23 Oct 2011 Real-Time Innovations, Inc