CoreDX Data Distribution Service
The High Performance, Small Footprint DDS from Twin Oaks Computing, Inc
|
The FooTypeSupport class impliments the TypeSupport inteface for the Data Type 'Foo'. More...
Public Member Functions | |
ReturnCode_t | register_type (DomainParticipant dp, String type_name) |
String | get_type_name () |
Public Member Functions inherited from com.toc.coredx.DDS.TypeSupport | |
String | get_typename () |
String | get_fully_qualified_typename () |
DDS.DynamicType | get_type () |
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) |
Object | alloc () |
The FooTypeSupport class impliments the TypeSupport inteface for the Data Type 'Foo'.
This provides a mechanism for an application to register the 'Foo' application defined data type with CoreDX DDS.
Note: FooTypeSupport is provided here for illustration purposes and is not really included in the com.toc.coredx.DDS package.
String com.toc.coredx.DDS.examples.FooTypeSupport.get_type_name | ( | ) |
Returns the default name of the Data Type supported by this instance of TypeSupport (in this case, 'Foo').
Implements com.toc.coredx.DDS.TypeSupport.
ReturnCode_t com.toc.coredx.DDS.examples.FooTypeSupport.register_type | ( | DomainParticipant | dp, |
String | type_name | ||
) |
Registers the 'Foo' Data Type with the DDS infrastructure. The type is registered under the name 'type_name'. If the 'type_name' parameter is null, then the default name ('Foo' in this case), will be used.
Implements com.toc.coredx.DDS.TypeSupport.