CoreDX DDS
Java Reference Manual

DynamicTypeTypeSupport Class Reference
[CoreDX DDS DynamicType]

DynamicTypeTypeSupport is an implementation of TypeSupport that supports DynamicTypes. More...

Inheritance diagram for DynamicTypeTypeSupport:
TypeSupport

List of all members.

Public Member Functions

ReturnCode_t register_type (DomainParticipant dp, String type_name)
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)

Static Public Member Functions

static DynamicTypeTypeSupport create_dynamic_typesupport (TypecodeQosPolicy typecode)
 Create a TypeSupport based on a discovered TypeCode. Using the builtin PublicationBuiltinTopicDataDataReader or SubscriptionBuiltinTopicDataDataReader it is possible for an application to discover external Entities and their associated data types. With the typecode that defines a data type, it is possible to generate a TypeSupport object that is capable of supporting DataReaders and DataWriters of this discovered data type. This allows an application to discover and interact with entities within the domain without prior knowledge of the data types.

Detailed Description

DynamicTypeTypeSupport is an implementation of TypeSupport that supports DynamicTypes.


Member Function Documentation

DataReader create_datareader ( Subscriber  sub,
TopicDescription  td,
SWIGTYPE_p__DataReader  jni_dr 
) [inline]

Private.

Implements TypeSupport.

DataWriter create_datawriter ( Publisher  pub,
Topic  topic,
SWIGTYPE_p__DataWriter  jni_dw 
) [inline]

Private.

Implements TypeSupport.

String get_type_name (  )  [inline]

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

Implements TypeSupport.

long getCTypeSupport (  )  [inline]

Private.

Implements TypeSupport.

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

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

Implements TypeSupport.

 All Classes Functions Variables

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