The Robot Application Programming Interface Delegate Project
|
A collection of useful methods for dealing with objects of type OctetSequence.
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 OctetSequenceTypeSupport | get_instance () |
static OctetSequenceTypeSupport | getInstance () |
Protected Member Functions | |
DataWriter | create_datawriter (long native_writer, DataWriterListener listener, int mask) |
DataReader | create_datareader (long native_reader, DataReaderListener listener, int mask) |
OctetSequenceTypeSupport () | |
OctetSequenceTypeSupport (boolean enableKeySupport) |
OctetSequenceTypeSupport | ( | ) | [protected] |
OctetSequenceTypeSupport | ( | boolean | enableKeySupport | ) | [protected] |
Object copy_data | ( | Object | destination, |
Object | source | ||
) |
This method will perform a deep copy of source
into destination
.
src | The Object which contains the data to be copied. |
destination
. NullPointerException | If destination or source is null. |
ClassCastException | If either destination or this is not a OctetSequence type. |
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 OctetSequenceTypeSupport 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 OctetSequenceTypeSupport getInstance | ( | ) | [static] |
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] |