CoreDX Data Distribution Service
The High Performance, Small Footprint DDS from Twin Oaks Computing, Inc
|
The DynamicTypeSupport interface extends the TypeSupport interface defined by the DDS specification. This TypeSupport operates on DynamicData samples. More...
Inherits TypeSupport, and DynamicTypeSupport.
Public Member Functions | |
ReturnCode_t | register_type (DomainParticipant participant, String type_name) |
Register the TypeSupport with the DomainParticipant. | |
override string | get_typename () |
Returns the name of the type supported by this TypeSupport instance. More... | |
string | get_type_name () |
Returns the name of the type supported by this TypeSupport instance. More... | |
DynamicType | get_type () |
Returns the DynamicType that is supported by this TypeSupport instance. More... | |
Static Public Member Functions | |
static DynamicTypeSupport | create_type_support (DDS_DynamicType type) |
Create and return a new DynamicTypeSupport object capable of supporting the given type. More... | |
static ReturnCode_t | delete_type_support (DynamicTypeSupport type_support) |
Delete the given type support object, which was previously created by a call to DynamicTypeSupport::create_type_support. More... | |
The DynamicTypeSupport interface extends the TypeSupport interface defined by the DDS specification. This TypeSupport operates on DynamicData samples.
|
inlinestatic |
Create and return a new DynamicTypeSupport object capable of supporting the given type.
The new type support has a "copy" of the given 'type' parameter, such that subsequent changes to, or deletions of, the 'type' parameter do not impact the new type support.
Any object returned by this operation should eventually be deleted by calling DynamicTypeSupport::delete_type_support.
Parameter type - The type for which to create a type support.
nil | If an error occurs, or the parameter is invalid |
|
inlinestatic |
Delete the given type support object, which was previously created by a call to DynamicTypeSupport::create_type_support.
DDS_RETCODE_BAD_PARAMETER | invalid parameter |
DDS_RETCODE_OK | on success |
|
inline |
Returns the DynamicType that is supported by this TypeSupport instance.
The application should not modify the returned DynamicType.
|
inline |
Returns the name of the type supported by this TypeSupport instance.
The returned string is owned by the TypeSupport, and must not be free'd or modified.
|
inline |
Returns the name of the type supported by this TypeSupport instance.
The returned string is owned by the TypeSupport, and must not be free'd or modified.