The Robot Application Programming Interface Delegate Project
|
Public Member Functions | |
RapidImageSensorSample () | |
RapidImageSensorSample (ImageSensorSample other) | |
void | addExtraSequenceKeyTypeValue (KeyTypeValueTriple keyValue) |
void | addExtraSequenceKeyTypeValue (String key, DataType type, String value) |
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 () |
String[] | getAvailableExtraAttributeNames () |
NamedFloatRangeValue | getRangeValue (String rangeSetting) |
String[] | getAvailableRangeSettingsNames () |
returns the key names for stored range settings | |
NamedOptionSetValue | getOptionSetValue (String rangeSetting) |
String[] | getAvailableOptionSettingNames () |
void | addOptionSettingsValue (NamedOptionSetValue v) |
void | addOptionSettingValue (String name, OptionSetValue value) |
void | addOptionSettingsValue (String name, String option) |
void | addRangeSettingValue (NamedFloatRangeValue v) |
void | setImageData (byte[] byteData) |
byte[] | getImageDataArray (byte[] byteData) |
void | setImageHeight (int height) |
void | setImageWidth (int width) |
void | setImageMIMEType (String value) |
String[] | getExtraSequenceKeys () |
DataType | getExtraSequenceDataType (String key) |
void | initializeVariables () |
ensure that there is no way to send over a null through the wire | |
ImageMetadata | getMetadata () |
Copyable | getCopyable () |
String | toString () |
void | populateTopLevelAttributes () |
MAE-4255: create top level access variables to simplify access. | |
KeyTypeValueTriple | getExtraParameter (String key) |
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 | |
ImageSensorSample | imageSensorSample |
RapidImageSensorSample | ( | ImageSensorSample | other | ) |
void addExtraSequenceKeyTypeValue | ( | KeyTypeValueTriple | keyValue | ) |
void addExtraSequenceKeyTypeValue | ( | String | key, |
DataType | type, | ||
String | value | ||
) |
void addOptionSettingsValue | ( | NamedOptionSetValue | v | ) |
void addOptionSettingsValue | ( | String | name, |
String | option | ||
) |
void addOptionSettingValue | ( | String | name, |
OptionSetValue | value | ||
) |
void addRangeSettingValue | ( | NamedFloatRangeValue | v | ) |
String [] getAvailableExtraAttributeNames | ( | ) |
String [] getAvailableOptionSettingNames | ( | ) |
String [] getAvailableRangeSettingsNames | ( | ) |
Boolean getBooleanParameter | ( | String | key | ) | throws IncompatibleKeyTypeException |
Copyable getCopyable | ( | ) |
Implements IRapidStruct.
Double getDoubleParameter | ( | String | key | ) | throws IncompatibleKeyTypeException |
KeyTypeValueTriple getExtraParameter | ( | String | key | ) |
DataType getExtraSequenceDataType | ( | String | key | ) |
String [] getExtraSequenceKeys | ( | ) |
Float getFloatParameter | ( | String | key | ) | throws IncompatibleKeyTypeException |
Header getHeader | ( | ) |
Implements IRapidMessage.
byte [] getImageDataArray | ( | byte[] | byteData | ) |
Integer getIntegerParameter | ( | String | key | ) | throws IncompatibleKeyTypeException |
ImageMetadata getMetadata | ( | ) |
NamedOptionSetValue getOptionSetValue | ( | String | rangeSetting | ) |
Object getParameterObject | ( | String | key | ) |
NamedFloatRangeValue getRangeValue | ( | String | rangeSetting | ) |
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.
void setHeader | ( | String | srcName, |
String | partitionName, | ||
long | timeStamp, | ||
int | statusCode | ||
) |
srcName | |
partitionName | |
timeStamp | |
statusCode |
void setHeader | ( | Agent | srcAgent, |
String | partitionName, | ||
long | timeStamp, | ||
int | statusCode | ||
) |
void setImageData | ( | byte[] | byteData | ) |
void setImageHeight | ( | int | height | ) |
void setImageMIMEType | ( | String | value | ) |
void setImageWidth | ( | int | width | ) |
String toString | ( | ) |
void updateHeader | ( | int | statusCode | ) |