Package xal.extension.scan
Class WrappedChannel
java.lang.Object
xal.extension.scan.MonitoredPV
xal.extension.scan.WrappedChannel
The wrapper around ca channel class. This wrapper can be used as container
for connection, set and get value listeners for the ca channel class. It also
try to connect each 60 second (after startMonitor() call) if connection never
been set or has been lost. Important: You have to call stopMonitor() if you
want the instance will be collected by Garbage Collector! Otherwise it will
be a memory leak!!!
- Author:
- shishlo, tap created September 18, 2006
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
The PV_Event is a subclass of ActionEvent class. -
Field Summary
Fields inherited from class xal.extension.scan.MonitoredPV
monitor
-
Constructor Summary
ConstructorsConstructorDescriptionConstructor for the WrappedChannel objectWrappedChannel
(String channelName) Constructor for the WrappedChannel object -
Method Summary
Modifier and TypeMethodDescriptionvoid
setValue
(double value) Sets the value of the channel of the WrappedChannel objectMethods inherited from class xal.extension.scan.MonitoredPV
addStateListener, addValueListener, getAlias, getAliases, getChannel, getChannelName, getMonitoredPV, getValue, isGood, removeMonitoredPV, removeMonitoredPV, removeStateListener, removeValueListener, setChannel, setChannelName, setChannelNameQuietly, setChannelQuietly, setValueChanged, startMonitor, stopMonitor, valueChanged
-
Constructor Details
-
WrappedChannel
public WrappedChannel()Constructor for the WrappedChannel object -
WrappedChannel
Constructor for the WrappedChannel object- Parameters:
channelName
- The Parameter
-
-
Method Details
-
setValue
public void setValue(double value) Sets the value of the channel of the WrappedChannel object- Parameters:
value
- The new value
-