The Robot Application Programming Interface Delegate Project
RAPID Logo

KeyTypePair Class Reference

DataType is used in KeyTypeValue triples to describe the type of data contained in the string value. More...

Inheritance diagram for KeyTypePair:
Collaboration diagram for KeyTypePair:

List of all members.

Public Member Functions

 KeyTypePair ()
 KeyTypePair (KeyTypePair 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 key = ""
gov.nasa.rapid.idl.dds.rapid.DataType type = (gov.nasa.rapid.idl.dds.rapid.DataType) gov.nasa.rapid.idl.dds.rapid.DataType.create()

Detailed Description

  • RAPID_BOOL:
  • RAPID_DOUBLE:
  • RAPID_FLOAT:
  • RAPID_INT:
  • RAPID_STRING:
  • RAPID_VEC3d:
  • RAPID_MAT33f:

Arguments for commands will be specified with these types. ValueSequence is used in telemetry types that have a corresponding Config message that defines the Key and Type. KeyTypePair defines a key with data type only.


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 KeyTypePairTypeSupport 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 ( )
String toString ( String  desc,
int  indent 
)

Here is the call graph for this function:

String toString ( )

Member Data Documentation

String key = ""
gov.nasa.rapid.idl.dds.rapid.DataType type = (gov.nasa.rapid.idl.dds.rapid.DataType) gov.nasa.rapid.idl.dds.rapid.DataType.create()

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