The Robot Application Programming Interface Delegate Project
RAPID Logo

AssetConfig Class Reference

AssetConfig.

Inheritance diagram for AssetConfig:
Collaboration diagram for AssetConfig:

List of all members.

Public Member Functions

 AssetConfig ()
 AssetConfig (AssetConfig 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.AgentType assetType = (gov.nasa.rapid.idl.dds.rapid.AgentType) gov.nasa.rapid.idl.dds.rapid.AgentType.create()
 Denotes what agent species this Agent is.
gov.nasa.rapid.idl.dds.rapid.KeyTypeValueSequence64 topics = (gov.nasa.rapid.idl.dds.rapid.KeyTypeValueSequence64) gov.nasa.rapid.idl.dds.rapid.KeyTypeValueSequence64.create()
 List of topic names for messages from Agents that have multiple of a message type.
gov.nasa.rapid.idl.dds.rapid.KeyTypeValueSequence64 valueKeys = (gov.nasa.rapid.idl.dds.rapid.KeyTypeValueSequence64) gov.nasa.rapid.idl.dds.rapid.KeyTypeValueSequence64.create()
 Agent-specific state information can be stored in this extras sequence.

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

For example, R2's right end effector position will be reported in the rapid.position.sample.endeffector.right topic which is the value to the key RightEndEffectorPosition.

The Name and Type information is stored in the KeyTypeSequence, and the AssetState message provides the values. The key denotes the name of a piece of information, the type is the DataType of the information, and the Value is the current value of the information upon start-up. This sequence has a counterpart in AssetState, named 'values'.

For example,

AssetConfig.valueKeys[0] = 'fooBar', BOOLEAN
AssetConfig.valueKeys[1] = 'driveFace', INT
AssetConfig.valueKeys[2] = 'fluxCapacitance', FLOAT

Updates are published as:

AssetState.values[0] = 'false'
AssetState.values[1] = '2'
AssetState.values[2] = '3.14159'

The value in the Sequence is the default value for that key.


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