The Robot Application Programming Interface Delegate Project
RAPID Logo

CommandRecord Class Reference

ResultType describes the result of a command on the completed queue. More...

Inheritance diagram for CommandRecord:
Collaboration diagram for CommandRecord:

List of all members.

Public Member Functions

 CommandRecord ()
 CommandRecord (CommandRecord 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

gov.nasa.rapid.idl.dds.rapid.Command cmd = (gov.nasa.rapid.idl.dds.rapid.Command) gov.nasa.rapid.idl.dds.rapid.Command.create()
gov.nasa.rapid.idl.dds.rapid.ResultType trResult = (gov.nasa.rapid.idl.dds.rapid.ResultType) gov.nasa.rapid.idl.dds.rapid.ResultType.create()
gov.nasa.rapid.idl.dds.rapid.StatusType trStatus = (gov.nasa.rapid.idl.dds.rapid.StatusType) gov.nasa.rapid.idl.dds.rapid.StatusType.create()

Detailed Description

  • Q_STATUS_INIT:
  • Q_STATUS_OUTBOUND: SENT
  • Q_STATUS_LOST: SENT
  • Q_STATUS_INLINE: PENDING
  • Q_STATUS_PREEMPTED: PENDING
  • Q_STATUS_INPROCESS: ACTIVE
  • Q_STATUS_PAUSED: ACTIVE
  • Q_STATUS_CANCELED: COMPLETED
  • Q_STATUS_SUCCEEDED: COMPLETED
  • Q_STATUS_FAILED: COMPLETED
  • Q_STATUS_ALIEN_PENDING:
  • Q_STATUS_ALIEN_ACTIVE:
  • Q_STATUS_ALIEN_COMPLETED:
  • Q_STATUS_FORGOTTEN_BY_ROBOT:
  • Q_RESULT_INIT:
  • Q_RESULT_SUCCEEDED:
  • Q_RESULT_FAILED:

CommandRecord holds a command, its status and its result.


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 CommandRecordTypeSupport 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)

Here is the call graph for this function:

static Object create ( ) [static]

Here is the call graph for this function:

boolean equals ( Object  o)

Here is the call graph for this function:

int hashCode ( )

Here is the call graph for this function:

String toString ( String  desc,
int  indent 
)

Here is the call graph for this function:

String toString ( )

Member Data Documentation

gov.nasa.rapid.idl.dds.rapid.Command cmd = (gov.nasa.rapid.idl.dds.rapid.Command) gov.nasa.rapid.idl.dds.rapid.Command.create()

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