|
TANGO Java API ( TangORB-7.3.3.jar) |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectfr.esrf.TangoApi.DeviceDataHistory
public class DeviceDataHistory
Class Description: This class manage data object for Tango device history
Data access.
Usage example:
| Field Summary | |
|---|---|
DevError[] |
errors
Error list if any in reading Command/Attribute. |
boolean |
failed
true if command/attribute failed. |
java.lang.String |
name
Command/Attribute name. |
int |
source
Data source DeviceDataHistory.COMMAND or DeviceDataHistory.ATTRIBUTE |
| Constructor Summary | |
|---|---|
DeviceDataHistory(DevAttrHistory_3 att_histo)
Constructor from an AttributeValue for Device_3Impl. |
|
DeviceDataHistory(DevAttrHistory att_histo)
Constructor from an AttributeValue. |
|
DeviceDataHistory(java.lang.String cmdname,
DevCmdHistory cmd_hist)
Constructor from a DevCmdHistory. |
|
DeviceDataHistory(java.lang.String name,
int source,
long t)
Constructor from an AttributeValue for Device_4Impl. |
|
DeviceDataHistory(java.lang.String name,
int source,
TimeVal time)
Constructor from an AttributeValue for Device_4Impl. |
|
| Method Summary | |
|---|---|
org.omg.CORBA.Any |
extractAny()
extract method for a CORBA Any. |
boolean |
extractBoolean()
extract method for a boolean. |
boolean[] |
extractBooleanArray()
extract method for a byte Array. |
byte[] |
extractByteArray()
extract method for a byte Array. |
DevEncoded |
extractDevEncoded()
extract method for a DevEncoded. |
DevEncoded[] |
extractDevEncodedArray()
extract method for a DevEncoded Array. |
DevState |
extractDevState()
extract method for a DevState. |
DevState[] |
extractDevStateArray()
extract method for a DevState Array. |
double |
extractDouble()
extract method for a double. |
double[] |
extractDoubleArray()
extract method for a double Array. |
DevVarDoubleStringArray |
extractDoubleStringArray()
extract method for a DevVarDoubleStringArray. |
float |
extractFloat()
extract method for a float. |
float[] |
extractFloatArray()
extract method for a float Array. |
int |
extractLong()
extract method for a long. |
long |
extractLong64()
extract method for a long64. |
long[] |
extractLong64Array()
extract method for a long64 Array. |
int[] |
extractLongArray()
extract method for a long Array. |
DevVarLongStringArray |
extractLongStringArray()
extract method for a DevVarLongStringArray. |
short |
extractShort()
extract method for a short. |
short[] |
extractShortArray()
extract method for a short Array. |
java.lang.String |
extractString()
extract method for a String. |
java.lang.String[] |
extractStringArray()
extract method for a String Array. |
short |
extractUChar()
extract method for an unsigned char. |
short[] |
extractUCharArray()
extract method for an unsigned char Array. |
int |
extractULong()
extract method for an unsigned long. |
long |
extractULong64()
extract method for an unsigned long64. |
long[] |
extractULong64Array()
extract method for an unsigned long64 Array. |
int[] |
extractULongArray()
extract method for an unsigned long Array. |
short |
extractUShort()
extract method for an unsigned short. |
short[] |
extractUShortArray()
extract method for an unsigned short Array. |
AttrQuality |
getAttrQuality()
return AttrQuality if from attribute. |
int |
getDataLength()
|
IDeviceDataHistoryDAO |
getDeviceedatahistoryDAO()
|
int |
getDimX()
Return attribute dim_x if from attribute. |
int |
getDimY()
Return attribute dim_y if from attribute. |
DevError[] |
getErrStack()
Returns the attribute errors list |
java.lang.String |
getName()
Return attribute name. |
int |
getNbRead()
Return number of data read. |
int |
getNbWritten()
Return number of data written. |
long |
getTime()
return time in milliseconds since EPOCH to build a Date class. |
TimeVal |
getTimeVal()
Return attribute time value. |
long |
getTimeValSec()
Return attribute time value in seconds since EPOCH. |
int |
getType()
Returns attribute Tango type. |
int |
getWrittenDimX()
Return attribute written dim_x. |
int |
getWrittenDimY()
Return attribute written dim_y. |
boolean |
hasFailed()
Returns true if attribute failed |
int |
insert(boolean[] values,
int base)
|
int |
insert(DevEncoded[] values,
int base)
|
int |
insert(DevState[] values,
int base)
|
int[] |
insert(DevVarDoubleStringArray dsa,
int[] bases)
|
int[] |
insert(DevVarLongStringArray lsa,
int[] bases)
|
void |
insert(double[] values)
|
int |
insert(double[] values,
int base)
|
int |
insert(float[] values,
int base)
|
int |
insert(int[] values,
int base)
|
int |
insert(long[] values,
int base)
|
int |
insert(short[] values,
int base)
|
void |
insert(java.lang.String[] values)
|
int |
insert(java.lang.String[] values,
int base)
|
void |
setAttrQuality(AttrQuality q)
Set AttrQuality if from attribute. |
void |
setDimX(int dim)
Set attribute dim_x if from attribute. |
void |
setDimY(int dim)
Set attribute dim_y if from attribute. |
void |
setErrStack(DevError[] err)
Set the attribute errors list |
void |
setTimeVal(TimeVal tval)
Set attribute time value. |
void |
setWrittenDimX(int nb)
Set attribute written dim_x. |
void |
setWrittenDimY(int nb)
Set attribute written dim_y. |
org.omg.CORBA.TypeCode |
type()
Returns the attribute type |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public int source
public java.lang.String name
public boolean failed
public DevError[] errors
| Constructor Detail |
|---|
public DeviceDataHistory(java.lang.String cmdname,
DevCmdHistory cmd_hist)
throws DevFailed
DevFailed
public DeviceDataHistory(DevAttrHistory att_histo)
throws DevFailed
DevFailed
public DeviceDataHistory(DevAttrHistory_3 att_histo)
throws DevFailed
DevFailed
public DeviceDataHistory(java.lang.String name,
int source,
TimeVal time)
throws DevFailed
DevFailed
public DeviceDataHistory(java.lang.String name,
int source,
long t)
throws DevFailed
DevFailed| Method Detail |
|---|
public void setTimeVal(TimeVal tval)
public TimeVal getTimeVal()
public long getTimeValSec()
public long getTime()
public void setAttrQuality(AttrQuality q)
throws DevFailed
DevFailed
public AttrQuality getAttrQuality()
throws DevFailed
DevFailed
public void setDimX(int dim)
throws DevFailed
DevFailed
public void setDimY(int dim)
throws DevFailed
DevFailed
public int getDimX()
throws DevFailed
DevFailed
public int getDimY()
throws DevFailed
DevFailed
public org.omg.CORBA.Any extractAny()
throws DevFailed
DevFailed
public boolean extractBoolean()
throws DevFailed
DevFailed
public short extractUChar()
throws DevFailed
DevFailed
public short extractShort()
throws DevFailed
DevFailed
public short extractUShort()
throws DevFailed
DevFailed
public int extractLong()
throws DevFailed
DevFailed
public int extractULong()
throws DevFailed
DevFailed
public long extractLong64()
throws DevFailed
DevFailed
public long extractULong64()
throws DevFailed
DevFailed
public float extractFloat()
throws DevFailed
DevFailed
public double extractDouble()
throws DevFailed
DevFailed
public java.lang.String extractString()
throws DevFailed
DevFailed
public DevState extractDevState()
throws DevFailed
DevFailed
public DevEncoded extractDevEncoded()
throws DevFailed
DevFailed
public boolean[] extractBooleanArray()
throws DevFailed
DevFailed
public byte[] extractByteArray()
throws DevFailed
DevFailed
public short[] extractUCharArray()
throws DevFailed
DevFailed
public short[] extractShortArray()
throws DevFailed
DevFailed
public short[] extractUShortArray()
throws DevFailed
DevFailed
public int[] extractLongArray()
throws DevFailed
DevFailed
public int[] extractULongArray()
throws DevFailed
DevFailed
public long[] extractLong64Array()
throws DevFailed
DevFailed
public long[] extractULong64Array()
throws DevFailed
DevFailed
public float[] extractFloatArray()
throws DevFailed
DevFailed
public double[] extractDoubleArray()
throws DevFailed
DevFailed
public java.lang.String[] extractStringArray()
throws DevFailed
DevFailed
public DevState[] extractDevStateArray()
throws DevFailed
DevFailed
public DevEncoded[] extractDevEncodedArray()
throws DevFailed
DevFailed
public DevVarLongStringArray extractLongStringArray()
throws DevFailed
DevFailed
public DevVarDoubleStringArray extractDoubleStringArray()
throws DevFailed
DevFailedpublic boolean hasFailed()
public void setErrStack(DevError[] err)
public DevError[] getErrStack()
public org.omg.CORBA.TypeCode type()
public java.lang.String getName()
public int getNbRead()
public int getNbWritten()
public void setWrittenDimX(int nb)
public void setWrittenDimY(int nb)
public int getWrittenDimX()
public int getWrittenDimY()
public int getType()
throws DevFailed
DevFailedpublic IDeviceDataHistoryDAO getDeviceedatahistoryDAO()
public int getDataLength()
throws DevFailed
DevFailed
public int insert(boolean[] values,
int base)
throws DevFailed
DevFailed
public int insert(short[] values,
int base)
throws DevFailed
DevFailed
public int insert(int[] values,
int base)
throws DevFailed
DevFailed
public int insert(long[] values,
int base)
throws DevFailed
DevFailed
public int insert(float[] values,
int base)
throws DevFailed
DevFailed
public int insert(double[] values,
int base)
throws DevFailed
DevFailed
public int insert(java.lang.String[] values,
int base)
throws DevFailed
DevFailed
public int insert(DevState[] values,
int base)
throws DevFailed
DevFailed
public int insert(DevEncoded[] values,
int base)
throws DevFailed
DevFailed
public int[] insert(DevVarLongStringArray lsa,
int[] bases)
throws DevFailed
DevFailed
public int[] insert(DevVarDoubleStringArray dsa,
int[] bases)
throws DevFailed
DevFailed
public void insert(double[] values)
throws DevFailed
DevFailed
public void insert(java.lang.String[] values)
throws DevFailed
DevFailed
|
TANGO Java API ( TangORB-7.3.3.jar) |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||