The Robot Application Programming Interface Delegate Project
|
Public Member Functions | |
RapidMessageAdapter (Message msg) | |
void | setMessage (Message msg) |
void | setHeader (String srcName, String partitionName, long timeStamp, int statusCode) |
explicitly set each field of header | |
void | setHeader (String srcName, String partitionName, long timeStamp, int serial, int statusCode) |
void | setHeader (Agent srcAgent, String partitionName, long timeStamp, int statusCode) |
void | setHeader (Agent srcAgent, String partitionName, int statusCode) |
Initialize header with source, destination, and status code. | |
void | setHeader (Agent srcAgent, String partitionName, int statusCode, int serialId) |
void | setHeader (String srcName, String partitionName, int statusCode, int serialId) |
void | setHeader (String srcName, String partitionName, int statusCode, int serialId, long timeStamp) |
void | updateHeader (int statusCode) |
update an existing header with statusCode and current timestamp | |
String | headerString () |
Header | getHeader () |
Object | copy_from (Object arg0) |
void | initializeVariables () |
ensure that there is no way to send over a null through the wire | |
Copyable | getCopyable () |
void | populateTopLevelAttributes () |
MAE-4255: create top level access variables to simplify access. | |
Static Public Member Functions | |
static String | headerString (Header hdr) |
static String | toString (DataType type) |
static String | keyTypeValueString (KeyTypeValueSequence64 ktvs) |
Protected Attributes | |
Message | msg |
RapidMessageAdapter | ( | Message | msg | ) |
Object copy_from | ( | Object | arg0 | ) |
Copyable getCopyable | ( | ) |
Implements IRapidStruct.
Reimplemented in RapidAssetState, RapidCommand, RapidCommandConfig, RapidFileQueueSample, RapidJointConfig, RapidJointSample, RapidPointCloudConfig, RapidPointCloudSample, RapidPositionConfig, RapidPositionSample, RapidNavMapConfig, RapidNavMapSample, RapidRangeScanConfig, and RapidRangeScanSample.
Header getHeader | ( | ) |
Implements IRapidMessage.
String headerString | ( | ) |
static String headerString | ( | Header | hdr | ) | [static] |
void initializeVariables | ( | ) |
Implements IRapidMessage.
Reimplemented in RapidAckMessage, RapidAssetState, RapidJointSample, and RapidPositionSample.
static String keyTypeValueString | ( | KeyTypeValueSequence64 | ktvs | ) | [static] |
void populateTopLevelAttributes | ( | ) |
Implements IRapidMessage.
Reimplemented in RapidJointSample, and RapidPositionSample.
void setHeader | ( | Agent | srcAgent, |
String | partitionName, | ||
long | timeStamp, | ||
int | statusCode | ||
) |
Optional timeStamp parameter should be the last parameter.
Implements IRapidMessage.
void setHeader | ( | Agent | srcAgent, |
String | partitionName, | ||
int | statusCode | ||
) |
Timestamp is filled in automatically.
Implements IRapidMessage.
void setHeader | ( | String | srcName, |
String | partitionName, | ||
int | statusCode, | ||
int | serialId, | ||
long | timeStamp | ||
) |
void setHeader | ( | String | srcName, |
String | partitionName, | ||
long | timeStamp, | ||
int | statusCode | ||
) |
srcName | |
partitionName | |
timeStamp | |
statusCode |
void setHeader | ( | String | srcName, |
String | partitionName, | ||
int | statusCode, | ||
int | serialId | ||
) |
void setHeader | ( | String | srcName, |
String | partitionName, | ||
long | timeStamp, | ||
int | serial, | ||
int | statusCode | ||
) |
Optional timeStamp parameter should be the last parameter.
void setHeader | ( | Agent | srcAgent, |
String | partitionName, | ||
int | statusCode, | ||
int | serialId | ||
) |
void setMessage | ( | Message | msg | ) |
static String toString | ( | DataType | type | ) | [static] |
void updateHeader | ( | int | statusCode | ) |