Public Member Functions | |
| BACIConverterSupport () | |
| boolean | acceptConvert (String operation) |
| boolean | acceptInverseConvert (String operation) |
| Object | convert (String operation, Object[] params, Object returnValue) |
| void | inverseConvert (String operation, Object[] params) |
| Class[] | getInverseConvertParameterTypes (String operation, Class[] parameterTypes) |
| abstract Object | convertPropertyValue (Object value) |
| abstract Object | inverseConvertPropertyValue (Object value) |
| abstract Class | getInverseConvertPropertyParameterType () |
| abstract String | getConvertedPropertyValueUnits (String units) |
Static Public Attributes | |
| static final String[] | BACI_PROPERTY_OPERATIONS |
| static final String[] | BACI_PROPERTY_INVERSE_OPERATIONS |
| static final String[] | BACI_PROPERTY_ATTRIBUTES |
| static final String | BACI_UNIT_ATTRIBUTE = "units" |
Protected Member Functions | |
| void | initializeTables () |
Protected Attributes | |
| Map | operationMap = null |
| Map | operationInverseMap = null |
| Map | attributeMap = null |
Support class for BACI (property) converter.
| si::ijs::acs::objectexplorer::engine::BACI::BACIConverterSupport::BACIConverterSupport | ( | ) | [inline] |
Constructor.
References initializeTables().
| boolean si::ijs::acs::objectexplorer::engine::BACI::BACIConverterSupport::acceptConvert | ( | String | operation | ) | [inline] |
Returns true if operation contains property value(s) to be converted.
Implements si::ijs::acs::objectexplorer::engine::Converter.
References attributeMap, BACI_UNIT_ATTRIBUTE, and operationMap.
| boolean si::ijs::acs::objectexplorer::engine::BACI::BACIConverterSupport::acceptInverseConvert | ( | String | operation | ) | [inline] |
Returns true if operation contains property value(s) to be inverse converted.
Implements si::ijs::acs::objectexplorer::engine::Converter.
References operationInverseMap.
| Object si::ijs::acs::objectexplorer::engine::BACI::BACIConverterSupport::convert | ( | String | operation, | |
| Object[] | params, | |||
| Object | returnValue | |||
| ) | [inline] |
Implements si::ijs::acs::objectexplorer::engine::Converter.
References attributeMap, BACI_UNIT_ATTRIBUTE, convertPropertyValue(), getConvertedPropertyValueUnits(), getInverseConvertPropertyParameterType(), and operationMap.
| abstract Object si::ijs::acs::objectexplorer::engine::BACI::BACIConverterSupport::convertPropertyValue | ( | Object | value | ) | [pure virtual] |
Convert property value.
| value | to be converted. |
Implemented in si::ijs::acs::objectexplorer::engine::BACI::converters::BACIDegreesToDDMMSSConverter, and si::ijs::acs::objectexplorer::engine::BACI::converters::BACIDoubleLinearConverter.
Referenced by convert().
| abstract String si::ijs::acs::objectexplorer::engine::BACI::BACIConverterSupport::getConvertedPropertyValueUnits | ( | String | units | ) | [pure virtual] |
Get converted property value units.
Implemented in si::ijs::acs::objectexplorer::engine::BACI::converters::BACIDegreesToDDMMSSConverter, and si::ijs::acs::objectexplorer::engine::BACI::converters::BACIDoubleLinearConverter.
Referenced by convert().
| Class [] si::ijs::acs::objectexplorer::engine::BACI::BACIConverterSupport::getInverseConvertParameterTypes | ( | String | operation, | |
| Class[] | parameterTypes | |||
| ) | [inline] |
Implements si::ijs::acs::objectexplorer::engine::Converter.
References getInverseConvertPropertyParameterType().
| abstract Class si::ijs::acs::objectexplorer::engine::BACI::BACIConverterSupport::getInverseConvertPropertyParameterType | ( | ) | [pure virtual] |
Class type of converted property value. This is returned class by convertPropertyValue method and expected class type of inverseConvertPropertyValue.
Implemented in si::ijs::acs::objectexplorer::engine::BACI::converters::BACIDegreesToDDMMSSConverter, and si::ijs::acs::objectexplorer::engine::BACI::converters::BACIDoubleLinearConverter.
Referenced by convert(), and getInverseConvertParameterTypes().
| void si::ijs::acs::objectexplorer::engine::BACI::BACIConverterSupport::initializeTables | ( | ) | [inline, protected] |
Initialized lookup table.
References attributeMap, BACI_PROPERTY_ATTRIBUTES, BACI_PROPERTY_INVERSE_OPERATIONS, BACI_PROPERTY_OPERATIONS, operationInverseMap, and operationMap.
Referenced by BACIConverterSupport().
| void si::ijs::acs::objectexplorer::engine::BACI::BACIConverterSupport::inverseConvert | ( | String | operation, | |
| Object[] | params | |||
| ) | [inline] |
Implements si::ijs::acs::objectexplorer::engine::Converter.
References inverseConvertPropertyValue().
| abstract Object si::ijs::acs::objectexplorer::engine::BACI::BACIConverterSupport::inverseConvertPropertyValue | ( | Object | value | ) | [pure virtual] |
Inverse convert property value.
| value | to be inverse converted. |
Implemented in si::ijs::acs::objectexplorer::engine::BACI::converters::BACIDegreesToDDMMSSConverter, and si::ijs::acs::objectexplorer::engine::BACI::converters::BACIDoubleLinearConverter.
Referenced by inverseConvert().
Map si::ijs::acs::objectexplorer::engine::BACI::BACIConverterSupport::attributeMap = null [protected] |
Attributes lookup table.
Referenced by acceptConvert(), convert(), and initializeTables().
final String [] si::ijs::acs::objectexplorer::engine::BACI::BACIConverterSupport::BACI_PROPERTY_ATTRIBUTES [static] |
{
"min_delta_trigger",
"default_value",
"graph_min",
"graph_max",
"min_step",
"min_value",
"max_value",
"alarm_low_off",
"alarm_low_on",
"alarm_high_off",
"alarm_high_on",
}
List of BACI property attributes related to property value.
Referenced by initializeTables().
final String [] si::ijs::acs::objectexplorer::engine::BACI::BACIConverterSupport::BACI_PROPERTY_INVERSE_OPERATIONS [static] |
{
"set_nonblocking",
"set_sync",
"set_async",
"set_value_trigger",
}
List of BACI property operations related to property value (inverse conversion).
Referenced by initializeTables().
final String [] si::ijs::acs::objectexplorer::engine::BACI::BACIConverterSupport::BACI_PROPERTY_OPERATIONS [static] |
{
"get_sync",
"get_history",
"get_value_trigger",
"working",
"done"
}
List of BACI property operations related to property value.
Referenced by initializeTables().
final String si::ijs::acs::objectexplorer::engine::BACI::BACIConverterSupport::BACI_UNIT_ATTRIBUTE = "units" [static] |
Referenced by acceptConvert(), and convert().
Map si::ijs::acs::objectexplorer::engine::BACI::BACIConverterSupport::operationInverseMap = null [protected] |
Operations (inverse) lookup table.
Referenced by acceptInverseConvert(), and initializeTables().
Map si::ijs::acs::objectexplorer::engine::BACI::BACIConverterSupport::operationMap = null [protected] |
Operations lookup table.
Referenced by acceptConvert(), convert(), and initializeTables().
1.6.2