The DynamicTypeSupport interface extends the TypeSupport interface defined by the DDS specification. This TypeSupport operates on DynamicData samples.
More...
Inherits TypeSupport.
The DynamicTypeSupport interface extends the TypeSupport interface defined by the DDS specification. This TypeSupport operates on DynamicData samples.
- See also
- DynamicType
-
DynamicTypeBuilderFactory
-
DynamicTypeBuilder
DDS::DynamicTypeSupport::DynamicTypeSupport |
( |
| ) |
|
|
protected |
Constructor, Copy Constructor, Destructor, Assignment operator
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.
- Return values
-
nil | If an error occurs, or the parameter is invalid |
Delete the given type support object, which was previously created by a call to DynamicTypeSupport::create_type_support.
- Return values
-
DDS_RETCODE_BAD_PARAMETER | invalid parameter |
DDS_RETCODE_OK | on success |
virtual DynamicType* DDS::DynamicTypeSupport::get_type |
( |
| ) |
|
|
pure virtual |
Returns the DynamicType that is supported by this TypeSupport instance.
The application should not modify the returned DynamicType.
virtual const char* DDS::DynamicTypeSupport::get_type_name |
( |
| ) |
|
|
pure virtual |
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.