public abstract class ChannelFactory
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
protected |
ChannelFactory()
Creates a new instance of ChannelFactory
|
Modifier and Type | Method and Description |
---|---|
protected abstract ChannelSystem |
channelSystem()
Get the associated channel system from the channel factory implementation.
|
static ChannelFactory |
defaultFactory()
Get the default factory which determines the low level channel implementation
|
Channel |
getChannel(java.lang.String signalName)
Get a channel associated with the signal name.
|
Channel |
getChannel(java.lang.String signalName,
ValueTransform transform)
Get a channel associated with the signal name and transform.
|
abstract boolean |
init()
Initialize the channel system
|
protected abstract Channel |
newChannel(java.lang.String signalName)
Create a concrete channel which makes an appropriate low level channel
|
protected Channel |
newChannel(java.lang.String signalName,
ValueTransform transform)
Create a new channel for the given signal name and set its value transform.
|
protected static ChannelFactory |
newFactory()
Instantiate a new ChannelFactory
|
abstract void |
printInfo()
Print information about this factory
|
protected ChannelFactory()
public abstract boolean init()
public Channel getChannel(java.lang.String signalName)
signalName
- The PV signal name of the channelpublic Channel getChannel(java.lang.String signalName, ValueTransform transform)
signalName
- The PV signal name of the channeltransform
- The channel's value transformprotected abstract Channel newChannel(java.lang.String signalName)
signalName
- PV for which to create a new channelprotected Channel newChannel(java.lang.String signalName, ValueTransform transform)
signalName
- The PV signal nametransform
- The value transform to use in the channelpublic static ChannelFactory defaultFactory()
protected abstract ChannelSystem channelSystem()
protected static ChannelFactory newFactory()
public abstract void printInfo()