public abstract class DBR extends Object
| Modifier and Type | Field and Description |
|---|---|
protected int |
_count |
protected Object |
_value |
static DBRType |
TYPE |
| Modifier and Type | Method and Description |
|---|---|
abstract DBR |
convert(DBRType convertType) |
DBR |
convert(DBRType convertType,
Object params) |
int |
getCount() |
DBRType |
getType() |
Object |
getValue() |
boolean |
isBYTE() |
static boolean |
isBYTE(DBR dbr) |
boolean |
isCTRL() |
static boolean |
isCTRL(DBR dbr) |
boolean |
isDOUBLE() |
static boolean |
isDOUBLE(DBR dbr) |
boolean |
isENUM() |
static boolean |
isENUM(DBR dbr) |
boolean |
isFLOAT() |
static boolean |
isFLOAT(DBR dbr) |
boolean |
isGR() |
static boolean |
isGR(DBR dbr) |
boolean |
isINT() |
static boolean |
isINT(DBR dbr) |
boolean |
isLABELS() |
static boolean |
isLABELS(DBR dbr) |
static boolean |
isPRECISION(DBR dbr) |
boolean |
isPRECSION() |
boolean |
isSHORT() |
static boolean |
isSHORT(DBR dbr) |
boolean |
isSTRING() |
static boolean |
isSTRING(DBR dbr) |
boolean |
isSTS() |
static boolean |
isSTS(DBR dbr) |
boolean |
isTIME() |
static boolean |
isTIME(DBR dbr) |
void |
printInfo() |
void |
printInfo(PrintStream out) |
static void |
printValue(byte[] value)
Helper method to print an array of byte as a comma separated list to the standard output stream.
|
static void |
printValue(byte[] value,
PrintStream out)
Helper method to print an array of byte as a comma separated list to the specified output stream.
|
static void |
printValue(double[] value)
Helper method to print an array of double as a comma separated list to the standard output stream.
|
static void |
printValue(double[] value,
PrintStream out)
Helper method to print an array of double as a comma separated list to the specified output stream.
|
static void |
printValue(float[] value)
Helper method to print an array of float as a comma separated list to the standard output stream.
|
static void |
printValue(float[] value,
PrintStream out)
Helper method to print an array of float as a comma separated list to the specified output stream.
|
static void |
printValue(int[] value)
Helper method to print an array of int as a comma separated list to the standard output stream.
|
static void |
printValue(int[] value,
PrintStream out)
Helper method to print an array of int as a comma separated list to the specified output stream.
|
static void |
printValue(long[] value)
Helper method to print an array of long as a comma separated list to the standard output stream.
|
static void |
printValue(long[] value,
PrintStream out)
Helper method to print an array of long as a comma separated list to the specified output stream.
|
static void |
printValue(short[] value)
Helper method to print an array of short as a comma separated list to the standard output stream.
|
static void |
printValue(short[] value,
PrintStream out)
Helper method to print an array of short as a comma separated list to the specified output stream.
|
static void |
printValue(String[] value)
Helper method to print an array of String as a comma separated list to the standard output stream.
|
static void |
printValue(String[] value,
PrintStream out)
Helper method to print an array of String as a comma separated list to the specified output stream.
|
protected void |
setValue(Object value) |
public static final DBRType TYPE
protected int _count
protected Object _value
protected DBR(Object value)
protected void setValue(Object value)
public DBRType getType()
public int getCount()
public Object getValue()
public abstract DBR convert(DBRType convertType) throws CAStatusException
CAStatusExceptionpublic DBR convert(DBRType convertType, Object params) throws CAStatusException
CAStatusExceptionpublic void printInfo()
public void printInfo(PrintStream out)
public boolean isBYTE()
public boolean isSHORT()
public boolean isINT()
public boolean isFLOAT()
public boolean isDOUBLE()
public boolean isSTRING()
public boolean isENUM()
public boolean isSTS()
public boolean isGR()
public boolean isCTRL()
public boolean isLABELS()
public boolean isTIME()
public boolean isPRECSION()
public static boolean isBYTE(DBR dbr)
public static boolean isSHORT(DBR dbr)
public static boolean isINT(DBR dbr)
public static boolean isFLOAT(DBR dbr)
public static boolean isDOUBLE(DBR dbr)
public static boolean isSTRING(DBR dbr)
public static boolean isENUM(DBR dbr)
public static boolean isSTS(DBR dbr)
public static boolean isGR(DBR dbr)
public static boolean isCTRL(DBR dbr)
public static boolean isLABELS(DBR dbr)
public static boolean isTIME(DBR dbr)
public static boolean isPRECISION(DBR dbr)
public static void printValue(byte[] value)
value - the array to print.public static void printValue(byte[] value,
PrintStream out)
value - the array to print.out - the output stream.public static void printValue(short[] value)
value - the array to print.public static void printValue(short[] value,
PrintStream out)
value - the array to print.out - the output stream.public static void printValue(int[] value)
value - the array to print.public static void printValue(int[] value,
PrintStream out)
value - the array to print.out - the output stream.public static void printValue(long[] value)
value - the array to print.public static void printValue(long[] value,
PrintStream out)
value - the array to print.out - the output stream.public static void printValue(float[] value)
value - the array to print.public static void printValue(float[] value,
PrintStream out)
value - the array to print.out - the output stream.public static void printValue(double[] value)
value - the array to print.public static void printValue(double[] value,
PrintStream out)
value - the array to print.out - the output stream.public static void printValue(String[] value)
value - the array to print.public static void printValue(String[] value, PrintStream out)
value - the array to print.out - the output stream.Copyright © 2004-2020 EPICS. All Rights Reserved.