org.epics.pvmanager.jca
Interface TypeFactory<TValue,TEpicsValue,TEpicsMeta>


public interface TypeFactory<TValue,TEpicsValue,TEpicsMeta>

Abstract class for value factory.

NOTE: this class is extensible as per Bastian request so that DESY can hook a different type factory. This is a temporary measure until the problem is solved in better, more general way, so that data sources can work only with data source specific types, while allowing conversions to normalized type through operators. The contract of this class is, therefore, expected to change.

Author:
carcassi

Method Summary
 TValue createValue(TEpicsValue value, TEpicsMeta metadata, boolean disconnected)
           
 gov.aps.jca.dbr.DBRType getEpicsMetaType()
           
 gov.aps.jca.dbr.DBRType getEpicsValueType()
           
 Class getValueType()
           
 boolean isArray()
           
 

Method Detail

createValue

TValue createValue(TEpicsValue value,
                   TEpicsMeta metadata,
                   boolean disconnected)

getValueType

Class getValueType()

getEpicsMetaType

gov.aps.jca.dbr.DBRType getEpicsMetaType()

getEpicsValueType

gov.aps.jca.dbr.DBRType getEpicsValueType()

isArray

boolean isArray()


Copyright © 2011. All Rights Reserved.