CoreDX Data Distribution Service
The High Performance, Small Footprint DDS from Twin Oaks Computing, Inc
com.toc.coredx.DDS.TypeSupport Interface Reference
Inheritance diagram for com.toc.coredx.DDS.TypeSupport:
com.toc.coredx.DDS.examples.FooTypeSupport

Public Member Functions

ReturnCode_t register_type (DomainParticipant dp, String type_name)
 
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 TypeSupport interface is implemented by an application defined data type specific TypeSupport class. This provides a mechanism for an application to register an application defined data type with CoreDX DDS.

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

Member Function Documentation

◆ alloc()

Object com.toc.coredx.DDS.TypeSupport.alloc ( )

Private, access to raw marshal / unmarshal

Implemented in com.toc.coredx.dynamictype.DynamicTypeSupport.

◆ create_datareader()

DataReader com.toc.coredx.DDS.TypeSupport.create_datareader ( Subscriber  sub,
TopicDescription  td,
SWIGTYPE_p__DataReader  jni_dr 
)

◆ create_datawriter()

DataWriter com.toc.coredx.DDS.TypeSupport.create_datawriter ( Publisher  pub,
Topic  topic,
SWIGTYPE_p__DataWriter  jni_dw 
)

◆ get_fully_qualified_typename()

String com.toc.coredx.DDS.TypeSupport.get_fully_qualified_typename ( )

Returns the fully-qualified name of the data type supported by this object.

Implemented in com.toc.coredx.dynamictype.DynamicTypeSupport.

◆ get_type()

DDS.DynamicType com.toc.coredx.DDS.TypeSupport.get_type ( )

Returns a DynamicType instance that represents the data type supported by this TypeSupport instance.

Implemented in com.toc.coredx.dynamictype.DynamicTypeSupport.

◆ get_typename()

String com.toc.coredx.DDS.TypeSupport.get_typename ( )

Returns the default name of the data type supported by this object.

Implemented in com.toc.coredx.dynamictype.DynamicTypeSupport.

◆ getCTypeSupport()

long com.toc.coredx.DDS.TypeSupport.getCTypeSupport ( )

◆ register_type()

ReturnCode_t com.toc.coredx.DDS.TypeSupport.register_type ( DomainParticipant  dp,
String  type_name 
)

Registers a new Application Defined Data Type with the DDS infrastructure. This method is implemented by the application specific TypeSupport class generated by coredx_ddl.

The type is registered under the name 'type_name'. If the 'type_name' parameter is null, then the default name will be used.

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

Implemented in com.toc.coredx.dynamictype.DynamicTypeSupport, and com.toc.coredx.DDS.examples.FooTypeSupport.


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