public class XalPvDescriptor
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
XalPvDescriptor.IPvDescriptor
Used by the enumerations to indicate they
return PV descriptors for their enumeration
values.
|
Constructor and Description |
---|
XalPvDescriptor(java.lang.Class<?> clsType,
java.lang.String strHandleRb)
Create a new
XalPvDescriptor object with read back
values only. |
XalPvDescriptor(java.lang.Class<?> clsType,
java.lang.String strHandleRb,
java.lang.String strHandleSet)
Create a new
XalPvDescriptor object that is
controllable with the given channel handles and data type. |
XalPvDescriptor(XalPvDescriptor pvd)
Copy constructor.
|
Modifier and Type | Method and Description |
---|---|
protected java.lang.Object |
clone()
Returns a deep copy of this object, as deep as you can
get anyway.
|
java.lang.Class<?> |
getPvType()
Return the data type of Process Variable associate
with this handle.
|
java.lang.String |
getRbHandle()
Return the channel handle for the PV corresponding
to the current enumeration constant.
|
java.lang.String |
getSetHandle()
Returns the channel handle of the channel
used to set the PV.
|
boolean |
isControllable()
Indicates whether or not the process variable
can be set.
|
java.lang.String |
toString()
Write out the readback and set signal names for this PV descriptor.
|
public XalPvDescriptor(java.lang.Class<?> clsType, java.lang.String strHandleRb)
XalPvDescriptor
object with read back
values only. The read back channel hand the given handles
and the PV value has the given data type.clsType
- PV value data typestrHandleRb
- read back channel XAL handlepublic XalPvDescriptor(java.lang.Class<?> clsType, java.lang.String strHandleRb, java.lang.String strHandleSet)
XalPvDescriptor
object that is
controllable with the given channel handles and data type.clsType
- PV value data typestrHandleRb
- read back channel XAL handlestrHandleSet
- set channel XAL handlepublic XalPvDescriptor(XalPvDescriptor pvd)
NOTE: Added to implement the functionality of PvDescriptor in XAL.
· Jonathan M. Freed
· Jul 15, 2014
pvd
- PV descriptor to be copiedpublic java.lang.String getRbHandle()
public java.lang.String getSetHandle()
public java.lang.Class<?> getPvType()
public boolean isControllable()
true
if the PV is controllable,
false
if it can only be readprotected java.lang.Object clone() throws java.lang.CloneNotSupportedException
NOTE: Added to implement the functionality of PvDescriptor in XAL.
· Jonathan M. Freed
· Jul 15, 2014
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
Object.clone()
public java.lang.String toString()
NOTE: Added to implement the functionality of PvDescriptor in XAL.
· Jonathan M. Freed
· Jul 15, 2014
toString
in class java.lang.Object
Object.toString()