The Robot Application Programming Interface Delegate Project
RAPID Logo

OctetSequence2KTypeSupport Class Reference

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

Inheritance diagram for OctetSequence2KTypeSupport:
Collaboration diagram for OctetSequence2KTypeSupport:

List of all members.

Public Member Functions

Object create_data ()
void destroy_data (Object data)
Object create_key ()
void destroy_key (Object key)
Object copy_data (Object destination, Object source)
 This is a concrete implementation of this method inherited from the base class.
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)
long get_serialized_key_max_size (Object endpoint_data, boolean include_encapsulation, short encapsulation_id, long currentAlignment)
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)
Object deserialize_sample (Object endpoint_data, Object dst, CdrInputStream src, boolean deserialize_encapsulation, boolean deserialize_sample, 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)
void skip (Object endpoint_data, CdrInputStream src, boolean skip_encapsulation, boolean skip_sample, Object endpoint_plugin_qos)
Object serialized_sample_to_key (Object endpoint_data, Object sample, CdrInputStream src, boolean deserialize_encapsulation, boolean deserialize_key, Object endpoint_plugin_qos)
Object on_participant_attached (Object registration_data, TypeSupportParticipantInfo participant_info, boolean top_level_registration, Object container_plugin_context, TypeCode type_code)
void on_participant_detached (Object participant_data)
Object on_endpoint_attached (Object participantData, TypeSupportEndpointInfo endpoint_info, boolean top_level_registration, Object container_plugin_context)
void on_endpoint_detached (Object endpoint_data)
Class get_type ()

Static Public Member Functions

static String get_type_name ()
static void register_type (DomainParticipant participant, String type_name)
static void unregister_type (DomainParticipant participant, String type_name)
static OctetSequence2KTypeSupport get_instance ()
static OctetSequence2KTypeSupport getInstance ()

Protected Member Functions

DataWriter create_datawriter (long native_writer, DataWriterListener listener, int mask)
DataReader create_datareader (long native_reader, DataReaderListener listener, int mask)
 OctetSequence2KTypeSupport ()
 OctetSequence2KTypeSupport (boolean enableKeySupport)

Constructor & Destructor Documentation

OctetSequence2KTypeSupport ( ) [protected]
OctetSequence2KTypeSupport ( boolean  enableKeySupport) [protected]

Member Function Documentation

Object copy_data ( Object  destination,
Object  source 
)

This method will perform a deep copy of source into destination.

Parameters:
srcThe Object which contains the data to be copied.
Returns:
Returns destination.
Exceptions:
NullPointerExceptionIf destination or source is null.
ClassCastExceptionIf either destination or this is not a OctetSequence2K type.

Here is the call graph for this function:

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 create_key ( )
Object deserialize_key_sample ( Object  endpoint_data,
Object  dst,
CdrInputStream  src,
boolean  deserialize_encapsulation,
boolean  deserialize_key,
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 destroy_data ( Object  data)
void destroy_key ( Object  key)
static OctetSequence2KTypeSupport get_instance ( ) [static]
long get_serialized_key_max_size ( Object  endpoint_data,
boolean  include_encapsulation,
short  encapsulation_id,
long  currentAlignment 
)
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 
)
Class get_type ( )
static String get_type_name ( ) [static]
static OctetSequence2KTypeSupport getInstance ( ) [static]

Here is the call graph for this function:

Object on_endpoint_attached ( Object  participantData,
TypeSupportEndpointInfo  endpoint_info,
boolean  top_level_registration,
Object  container_plugin_context 
)
void on_endpoint_detached ( Object  endpoint_data)
Object on_participant_attached ( Object  registration_data,
TypeSupportParticipantInfo  participant_info,
boolean  top_level_registration,
Object  container_plugin_context,
TypeCode  type_code 
)
void on_participant_detached ( Object  participant_data)
static void register_type ( DomainParticipant  participant,
String  type_name 
) [static]
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 
)
Object serialized_sample_to_key ( Object  endpoint_data,
Object  sample,
CdrInputStream  src,
boolean  deserialize_encapsulation,
boolean  deserialize_key,
Object  endpoint_plugin_qos 
)
void skip ( Object  endpoint_data,
CdrInputStream  src,
boolean  skip_encapsulation,
boolean  skip_sample,
Object  endpoint_plugin_qos 
)
static void unregister_type ( DomainParticipant  participant,
String  type_name 
) [static]

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