si::ijs::acs::objectexplorer::engine::BACI::BACIConverterSupport Class Reference

Inheritance diagram for si::ijs::acs::objectexplorer::engine::BACI::BACIConverterSupport:
Inheritance graph
[legend]
Collaboration diagram for si::ijs::acs::objectexplorer::engine::BACI::BACIConverterSupport:
Collaboration graph
[legend]

List of all members.

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

Detailed Description

Support class for BACI (property) converter.


Constructor & Destructor Documentation

si::ijs::acs::objectexplorer::engine::BACI::BACIConverterSupport::BACIConverterSupport (  )  [inline]

Constructor.

References initializeTables().


Member Function Documentation

boolean si::ijs::acs::objectexplorer::engine::BACI::BACIConverterSupport::acceptConvert ( String  operation  )  [inline]

Returns true if operation contains property value(s) to be converted.

See also:
si.ijs.acs.objectexplorer.engine.Converter::accept(java.lang.String)

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.

See also:
si.ijs.acs.objectexplorer.engine.Converter::acceptInverseConvert(java.lang.String)

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]
abstract Object si::ijs::acs::objectexplorer::engine::BACI::BACIConverterSupport::convertPropertyValue ( Object  value  )  [pure virtual]

Convert property value.

Parameters:
value to be converted.
Returns:
converted value.

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.

Returns:
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]
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.

Returns:
class type of converted property value

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]
void si::ijs::acs::objectexplorer::engine::BACI::BACIConverterSupport::inverseConvert ( String  operation,
Object[]  params 
) [inline]
abstract Object si::ijs::acs::objectexplorer::engine::BACI::BACIConverterSupport::inverseConvertPropertyValue ( Object  value  )  [pure virtual]

Inverse convert property value.

Parameters:
value to be inverse converted.
Returns:
inverse converted value.

Implemented in si::ijs::acs::objectexplorer::engine::BACI::converters::BACIDegreesToDDMMSSConverter, and si::ijs::acs::objectexplorer::engine::BACI::converters::BACIDoubleLinearConverter.

Referenced by inverseConvert().


Member Data Documentation

Attributes lookup table.

Referenced by acceptConvert(), convert(), and initializeTables().

Initial value:
        {
                        "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().

Initial value:
        {
                        "set_nonblocking",
                        "set_sync",
                        "set_async",
                        "set_value_trigger",
        }

List of BACI property operations related to property value (inverse conversion).

Referenced by initializeTables().

Initial value:
        {
                        "get_sync",
                        
                        "get_history",
                        "get_value_trigger",
                        
                        
                        "working",
                        "done"
        }

List of BACI property operations related to property value.

Referenced by initializeTables().

Referenced by acceptConvert(), and convert().

Operations (inverse) lookup table.

Referenced by acceptInverseConvert(), and initializeTables().

Operations lookup table.

Referenced by acceptConvert(), convert(), and initializeTables().


The documentation for this class was generated from the following file:

Generated by  doxygen 1.6.2