The Robot Application Programming Interface Delegate Project
RAPID Logo

Command Class Reference

Priority denotes where on the queue this command should go. More...

Inheritance diagram for Command:
Collaboration diagram for Command:

List of all members.

Public Member Functions

 Command ()
 Command (Command 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 cmdName = ""
 Name of command being sent.
String cmdID = ""
 Unique ID for command, = username+timestamp.
String cmdSrc = ""
 Source that generated the command.
gov.nasa.rapid.idl.dds.rapid.Priority cmdPriority = (gov.nasa.rapid.idl.dds.rapid.Priority) gov.nasa.rapid.idl.dds.rapid.Priority.create()
 Priority of the command.
String subsysName = ""
 Subsystem name if command is being sent to subsystem of an Agent.
gov.nasa.rapid.idl.dds.rapid.ParameterSequence16 arguments = (gov.nasa.rapid.idl.dds.rapid.ParameterSequence16) gov.nasa.rapid.idl.dds.rapid.ParameterSequence16.create()
 Name, data type and value of the arguments for this particular command.

Detailed Description

The default value is PRI_ASYNC, unless using the RAPID Sequencer.

  • PRI_LOW:
  • PRI_MEDIUM:
  • PRI_HIGH:
  • PRI_ASYNC:

Command is a message used to send directives to an Agent.


Constructor & Destructor Documentation

Command ( )
Command ( Command  other)

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 CommandTypeSupport 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

String cmdID = ""
String cmdName = ""

Should get this from list of possible commands in CommandConfig.

String cmdSrc = ""
String subsysName = ""

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