public class PvaClientPutData extends Object
| Modifier and Type | Method and Description |
|---|---|
PVArray |
getArrayValue()
Return the interface to an array value field.
|
BitSet |
getChangedBitSet()
Get the BitSet for the pvStructure
This shows which fields have changed value.
|
double |
getDouble()
Get the value as a double.
|
double[] |
getDoubleArray()
Get the value as a double array.
|
int |
getDoubleArray(double[] value,
int length)
Copy a sub-array of the value field into value.
|
PVStructure |
getPVStructure()
Get the pvStructure.
|
PVScalarArray |
getScalarArrayValue()
Return the interface to a scalar array value field.
|
PVScalar |
getScalarValue()
Return the interface to a scalar value field.
|
String |
getString()
Get the value as a string.
|
String[] |
getStringArray()
Get the value as a string array.
|
int |
getStringArray(String[] value,
int length)
Copy a sub-array of the value field into value.
|
Structure |
getStructure()
Get the structure.
|
PVField |
getValue()
Return the interface to the value field.
|
boolean |
hasValue()
Is there a top level field named value of the PVstructure returned by channelGet?
|
boolean |
isValueScalar()
Is the value field a scalar?
|
boolean |
isValueScalarArray()
Is the value field a scalar array?
|
void |
putDouble(double value)
Put the value as a double.
|
void |
putDoubleArray(double[] value)
Copy the array to the value field.
|
void |
putString(String value)
Put the value as a string.
|
void |
putStringArray(String[] value)
Copy array to the value field.
|
void |
setMessagePrefix(String value)
Set a prefix for throw messages.
|
String |
showChanged()
Show fields that have changed value, i.
|
public void setMessagePrefix(String value)
value - The prefix.public Structure getStructure()
public PVStructure getPVStructure()
public BitSet getChangedBitSet()
public String showChanged()
public boolean hasValue()
public boolean isValueScalar()
public boolean isValueScalarArray()
public PVField getValue()
public PVScalar getScalarValue()
public PVArray getArrayValue()
public PVScalarArray getScalarArrayValue()
public double getDouble()
public String getString()
public double[] getDoubleArray()
public String[] getStringArray()
public int getDoubleArray(double[] value,
int length)
value - The place where data is copied.length - The maximum number of elements to copy.public int getStringArray(String[] value, int length)
value - The place where data is copied.length - The maximum number of elements to copy.public void putDouble(double value)
value - The new data value.public void putString(String value)
value - The new value as a String.public void putDoubleArray(double[] value)
value - The place where data is copied.public void putStringArray(String[] value)
value - data sourceCopyright © 2016 EPICS. All rights reserved.