CoreDX DDS
Java Reference Manual

TypeSupport Interface Reference

Inheritance diagram for TypeSupport:
DynamicTypeTypeSupport FooTypeSupport

List of all members.

Public Member Functions

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

Package Functions

ReturnCode_t register_type (DomainParticipant dp, String type_name)

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.FooTypeSupport FooTypeSupport

Member Function Documentation

DataReader create_datareader ( Subscriber  sub,
TopicDescription  td,
SWIGTYPE_p__DataReader  jni_dr 
)

Private.

Implemented in DynamicTypeTypeSupport.

DataWriter create_datawriter ( Publisher  pub,
Topic  topic,
SWIGTYPE_p__DataWriter  jni_dw 
)

Private.

Implemented in DynamicTypeTypeSupport.

String get_type_name (  ) 

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

Implemented in DynamicTypeTypeSupport, and FooTypeSupport.

long getCTypeSupport (  ) 

Private.

Implemented in DynamicTypeTypeSupport.

ReturnCode_t register_type ( DomainParticipant  dp,
String  type_name 
) [package]

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.FooTypeSupport FooTypeSupport

Implemented in DynamicTypeTypeSupport, and FooTypeSupport.

 All Classes Functions Variables

© 2009-2012 Twin Oaks Computing, Inc
Castle Rock, CO 80108
All rights reserved.