The Robot Application Programming Interface Delegate Project
RAPID Logo

RapidImageSensor Class Reference

Inheritance diagram for RapidImageSensor:
Collaboration diagram for RapidImageSensor:

List of all members.

Public Member Functions

 RapidImageSensor ()
 RapidImageSensor (ImageSensorState state, ImageSensorSample sample)
void setHeader (String srcName, String partitionName, long timeStamp, int statusCode)
 Explicitly set each field of header.
void setHeader (Agent srcAgent, String partitionName, long timeStamp, int statusCode)
 set header using Agent enums
void setHeader (Agent srcAgent, String partitionName, int statusCode)
 Initialize header with source, destination, and status code.
void updateHeader (int statusCode)
 update an existing header with statusCode and current timestamp
Header getHeader ()
void addExtraSequenceKeyValue (KeyTypePair keyValue)
void addExtraSequenceKeyValue (String key, DataType value)
String[] getAvailableExtraAttributeNames ()
KeyTypePair getExtraAttributeValue (String key)
void setHeader (String robotName, String srcName, String partitionName, long timeStamp, int statusCode, String id)
String[] getExtraSequenceKeys ()
DataType getExtraSequenceType (String key)
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.
Boolean getBooleanParameter (String key) throws IncompatibleKeyTypeException
Double getDoubleParameter (String key) throws IncompatibleKeyTypeException
Float getFloatParameter (String key) throws IncompatibleKeyTypeException
Integer getIntegerParameter (String key) throws IncompatibleKeyTypeException
Object getParameterObject (String key)
String getStringParameter (String key) throws IncompatibleKeyTypeException

Public Attributes

ImageSensorState imageSensorState
ImageSensorSample imageSensorSample

Constructor & Destructor Documentation

Here is the call graph for this function:


Member Function Documentation

void addExtraSequenceKeyValue ( KeyTypePair  keyValue)
void addExtraSequenceKeyValue ( String  key,
DataType  value 
)

Here is the call graph for this function:

String [] getAvailableExtraAttributeNames ( )
Boolean getBooleanParameter ( String  key) throws IncompatibleKeyTypeException
Copyable getCopyable ( )

Implements IRapidStruct.

Double getDoubleParameter ( String  key) throws IncompatibleKeyTypeException
KeyTypePair getExtraAttributeValue ( String  key)
String [] getExtraSequenceKeys ( )
DataType getExtraSequenceType ( String  key)
Float getFloatParameter ( String  key) throws IncompatibleKeyTypeException
Header getHeader ( )
Returns:
hdr

Implements IRapidMessage.

Integer getIntegerParameter ( String  key) throws IncompatibleKeyTypeException
Object getParameterObject ( String  key)
String getStringParameter ( String  key) throws IncompatibleKeyTypeException
void initializeVariables ( )

Implements IRapidMessage.

void populateTopLevelAttributes ( )

Implements IRapidMessage.

void setHeader ( Agent  srcAgent,
String  partitionName,
int  statusCode 
)

Timestamp is filled in automatically.

Implements IRapidMessage.

Here is the call graph for this function:

void setHeader ( Agent  srcAgent,
String  partitionName,
long  timeStamp,
int  statusCode 
)

Implements IRapidMessage.

Here is the call graph for this function:

void setHeader ( String  srcName,
String  partitionName,
long  timeStamp,
int  statusCode 
)
Parameters:
srcName
partitionName
timeStamp
statusCode
void setHeader ( String  robotName,
String  srcName,
String  partitionName,
long  timeStamp,
int  statusCode,
String  id 
)
void updateHeader ( int  statusCode)
Parameters:
statusCode

Implements IRapidMessage.

Here is the call graph for this function:


Member Data Documentation


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