The Robot Application Programming Interface Delegate Project
RAPID Logo

BatteryInfoSampleSequenceTypeSupport Class Reference

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

Inheritance diagram for BatteryInfoSampleSequenceTypeSupport:
Collaboration diagram for BatteryInfoSampleSequenceTypeSupport:

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
BatteryInfoSampleSequenceTypeSupport 
get_instance ()
static
BatteryInfoSampleSequenceTypeSupport 
getInstance ()

Protected Member Functions

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

Constructor & Destructor Documentation

BatteryInfoSampleSequenceTypeSupport ( 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 BatteryInfoSampleSequence 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 BatteryInfoSampleSequenceTypeSupport 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 BatteryInfoSampleSequenceTypeSupport 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