public interface PVATypeConverter<T>
VDouble
)
to its pvAccess representation on the wire.Modifier and Type | Method and Description |
---|---|
T |
convertValue(org.epics.pvData.pv.PVStructure pvStructure,
Object previousValue,
boolean disconnected)
Creates an instance of Value from the data in pvStructure.
|
void |
fillValue(org.epics.pvData.pv.PVStructure pvStructure,
Object value)
Fills the given pvStructure with the information taken from the given value.
|
org.epics.pvData.pv.PVField |
getPVField()
The introspection information for the pvData serialization for this
type factory.
|
Class<T> |
getValueType()
The normative type for this type factory.
|
T convertValue(org.epics.pvData.pv.PVStructure pvStructure, Object previousValue, boolean disconnected)
The previousValue passed should be of type T, but it's declared as Object to avoid generics warnings/problems.
pvStructure
- object to wrap/copypreviousValue
- previous value; can be nulldisconnected
- whether the channel is connectedvoid fillValue(org.epics.pvData.pv.PVStructure pvStructure, Object value)
The value passed should be of type T, but it's declares as Object to avoid generics warnings/problems.
pvStructure
- value
- Class<T> getValueType()
org.epics.pvData.pv.PVField getPVField()
Copyright © 2012. All Rights Reserved.