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 DDS.DynamicTypeSupport.
Public Member Functions | |
ReturnCode_t | register_type (DomainParticipant participant, String type_name) |
Register the TypeSupport with the DomainParticipant. | |
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... | |
String | get_fully_qualified_typename () |
DDS.DynamicType | get_type () |
Returns the DynamicType that is supported by this TypeSupport instance. More... | |
long | getCTypeSupport () |
DataReader | create_datareader (Subscriber sub, TopicDescription td, SWIGTYPE_p__DataReader jni_dr) |
DataWriter | create_datawriter (Publisher pub, Topic topic, SWIGTYPE_p__DataWriter jni_dw) |
DynamicData | alloc () |
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 (DDS.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.
DynamicData com.toc.coredx.dynamictype.DynamicTypeSupport.alloc | ( | ) |
Private, access to raw marshal / unmarshal
Implements com.toc.coredx.DDS.TypeSupport.
DataReader com.toc.coredx.dynamictype.DynamicTypeSupport.create_datareader | ( | Subscriber | sub, |
TopicDescription | td, | ||
SWIGTYPE_p__DataReader | jni_dr | ||
) |
Private.
Implements com.toc.coredx.DDS.TypeSupport.
DataWriter com.toc.coredx.dynamictype.DynamicTypeSupport.create_datawriter | ( | Publisher | pub, |
Topic | topic, | ||
SWIGTYPE_p__DataWriter | jni_dw | ||
) |
Private.
Implements com.toc.coredx.DDS.TypeSupport.
|
static |
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 |
|
static |
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 |
String com.toc.coredx.dynamictype.DynamicTypeSupport.get_fully_qualified_typename | ( | ) |
Returns the fully-qualified name of the data type supported by this object.
Implements com.toc.coredx.DDS.TypeSupport.
DDS.DynamicType com.toc.coredx.dynamictype.DynamicTypeSupport.get_type | ( | ) |
Returns the DynamicType that is supported by this TypeSupport instance.
The application should not modify the returned DynamicType.
Implements com.toc.coredx.DDS.TypeSupport.
String com.toc.coredx.dynamictype.DynamicTypeSupport.get_type_name | ( | ) |
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.
Implements com.toc.coredx.DDS.TypeSupport.
String com.toc.coredx.dynamictype.DynamicTypeSupport.get_typename | ( | ) |
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.
Implements com.toc.coredx.DDS.TypeSupport.
long com.toc.coredx.dynamictype.DynamicTypeSupport.getCTypeSupport | ( | ) |
Private.
Implements com.toc.coredx.DDS.TypeSupport.