The Robot Application Programming Interface Delegate Project
RAPID Logo

DataTypeTypeSupport Class Reference

A collection of useful methods for dealing with objects of type DataType.

Inheritance diagram for DataTypeTypeSupport:
Collaboration diagram for DataTypeTypeSupport:

List of all members.

Public Member Functions

Object create_data ()
void destroy_data (Object data)
Object copy_data (Object destination, Object source)
void serialize (Object endpoint_data, Object src, CdrOutputStream dst, boolean serialize_encapsulation, short encapsulation_id, boolean serialize_sample, Object endpoint_plugin_qos)
Object deserialize_sample (Object endpoint_data, Object dst, CdrInputStream src, boolean deserialize_encapsulation, boolean deserialize_sample, Object endpoint_plugin_qos)
void skip (Object endpoint_data, CdrInputStream src, boolean skip_encapsulation, boolean skip_sample, Object endpoint_plugin_qos)
long get_serialized_sample_max_size (Object endpoint_data, boolean include_encapsulation, short encapsulation_id, long currentAlignment)
long get_serialized_sample_min_size (Object endpoint_data, boolean include_encapsulation, short encapsulation_id, long currentAlignment)
long get_serialized_sample_size (Object endpoint_data, boolean include_encapsulation, short encapsulation_id, long current_alignment, Object sample)
void serialize_key (Object endpoint_data, Object src, CdrOutputStream dst, boolean serialize_encapsulation, short encapsulation_id, boolean serialize_key, Object endpoint_plugin_qos)
Object deserialize_key_sample (Object endpoint_data, Object dst, CdrInputStream src, boolean deserialize_encapsulation, boolean deserialize_key, Object endpoint_plugin_qos)
long get_serialized_key_max_size (Object endpoint_data, boolean include_encapsulation, short encapsulation_id, long currentAlignment)
Object serialized_sample_to_key (Object endpoint_data, Object sample, CdrInputStream src, boolean deserialize_encapsulation, boolean deserialize_key, Object endpoint_plugin_qos)
Class get_type ()

Static Public Member Functions

static String get_type_name ()
static DataTypeTypeSupport get_instance ()
static DataTypeTypeSupport getInstance ()

Protected Member Functions

DataWriter create_datawriter (long native_writer, DataWriterListener listener, int mask)
DataReader create_datareader (long native_reader, DataReaderListener listener, int mask)
 DataTypeTypeSupport ()

Constructor & Destructor Documentation

DataTypeTypeSupport ( ) [protected]

Member Function Documentation

Object copy_data ( Object  destination,
Object  source 
)
Object create_data ( )
DataReader create_datareader ( long  native_reader,
DataReaderListener  listener,
int  mask 
) [protected]
DataWriter create_datawriter ( long  native_writer,
DataWriterListener  listener,
int  mask 
) [protected]
Object deserialize_key_sample ( Object  endpoint_data,
Object  dst,
CdrInputStream  src,
boolean  deserialize_encapsulation,
boolean  deserialize_key,
Object  endpoint_plugin_qos 
)

Here is the call graph for this function:

Object deserialize_sample ( Object  endpoint_data,
Object  dst,
CdrInputStream  src,
boolean  deserialize_encapsulation,
boolean  deserialize_sample,
Object  endpoint_plugin_qos 
)

Here is the call graph for this function:

void destroy_data ( Object  data)
static DataTypeTypeSupport get_instance ( ) [static]
long get_serialized_key_max_size ( Object  endpoint_data,
boolean  include_encapsulation,
short  encapsulation_id,
long  currentAlignment 
)

Here is the call graph for this function:

long get_serialized_sample_max_size ( Object  endpoint_data,
boolean  include_encapsulation,
short  encapsulation_id,
long  currentAlignment 
)
long get_serialized_sample_min_size ( Object  endpoint_data,
boolean  include_encapsulation,
short  encapsulation_id,
long  currentAlignment 
)

Here is the call graph for this function:

long get_serialized_sample_size ( Object  endpoint_data,
boolean  include_encapsulation,
short  encapsulation_id,
long  current_alignment,
Object  sample 
)

Here is the call graph for this function:

Class get_type ( )
static String get_type_name ( ) [static]
static DataTypeTypeSupport getInstance ( ) [static]

Here is the call graph for this function:

void serialize ( Object  endpoint_data,
Object  src,
CdrOutputStream  dst,
boolean  serialize_encapsulation,
short  encapsulation_id,
boolean  serialize_sample,
Object  endpoint_plugin_qos 
)
void serialize_key ( Object  endpoint_data,
Object  src,
CdrOutputStream  dst,
boolean  serialize_encapsulation,
short  encapsulation_id,
boolean  serialize_key,
Object  endpoint_plugin_qos 
)

Here is the call graph for this function:

Object serialized_sample_to_key ( Object  endpoint_data,
Object  sample,
CdrInputStream  src,
boolean  deserialize_encapsulation,
boolean  deserialize_key,
Object  endpoint_plugin_qos 
)

Here is the call graph for this function:

void skip ( Object  endpoint_data,
CdrInputStream  src,
boolean  skip_encapsulation,
boolean  skip_sample,
Object  endpoint_plugin_qos 
)

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines