The Robot Application Programming Interface Delegate Project
RAPID Logo

FileQueueSample Class Reference

Holds information about a file that could be transferred to the ground from the robot.

Inheritance diagram for FileQueueSample:
Collaboration diagram for FileQueueSample:

List of all members.

Public Member Functions

 FileQueueSample ()
 FileQueueSample (FileQueueSample other)
boolean equals (Object o)
int hashCode ()
Object copy_from (Object src)
 This is the implementation of the Copyable interface.
String toString ()
String toString (String desc, int indent)

Static Public Member Functions

static Object create ()

Public Attributes

String fileUuid = ""
 The unique identifier for this file.
int chunkId
 Bucket number of sliced file.
int numChunks
 Total number of chunks to transfer.
gov.nasa.rapid.idl.dds.rapid.OctetSequence1K chunkData = (gov.nasa.rapid.idl.dds.rapid.OctetSequence1K) gov.nasa.rapid.idl.dds.rapid.OctetSequence1K.create()
 Bit bucket with the binary data chunk.

Constructor & Destructor Documentation

Here is the call graph for this function:


Member Function Documentation

Object copy_from ( Object  src)

This method will perform a deep copy of src This method could be placed into FileQueueSampleTypeSupport rather than here by using the -noCopyable option to rtiddsgen.

Parameters:
srcThe Object which contains the data to be copied.
Returns:
Returns this.
Exceptions:
NullPointerExceptionIf src is null.
ClassCastExceptionIf src is not the same type as this.
See also:
com.rti.dds.infrastructure.Copyable.copy_from(java.lang.Object)

Reimplemented from Message.

Here is the call graph for this function:

static Object create ( ) [static]

Reimplemented from Message.

Here is the call graph for this function:

boolean equals ( Object  o)

Reimplemented from Message.

Here is the call graph for this function:

int hashCode ( )

Reimplemented from Message.

Here is the call graph for this function:

String toString ( String  desc,
int  indent 
)

Reimplemented from Message.

Here is the call graph for this function:

String toString ( )

Reimplemented from Message.


Member Data Documentation

Max size of the bucket is 128KByte. For samples with chunkId < numChunks - 1, chunkData.length() == 131072.

int chunkId
String fileUuid = ""
int numChunks

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