CoreDX Data Distribution Service
The High Performance, Small Footprint DDS from Twin Oaks Computing, Inc
com.toc.coredx.DDS.examples.FooTypeSupport Class Reference

The FooTypeSupport class impliments the TypeSupport inteface for the Data Type 'Foo'. More...

Inheritance diagram for com.toc.coredx.DDS.examples.FooTypeSupport:
com.toc.coredx.DDS.TypeSupport

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 ()
 

Detailed Description

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.

See also
com.toc.coredx.DDS.FooTypeSupport FooTypeSupport

Member Function Documentation

◆ get_type_name()

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.

◆ register_type()

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.


© 2009-2020 Twin Oaks Computing, Inc
Castle Rock, CO 80104
All rights reserved.