TANGO Java API
( TangORB-7.3.3.jar)

fr.esrf.TangoApi
Interface IDeviceDataHistoryDAO

All Known Implementing Classes:
DeviceDataHistoryDAODefaultImpl

public interface IDeviceDataHistoryDAO


Method Summary
 org.omg.CORBA.Any extractAny(DeviceDataHistory deviceDataHistory)
          extract method for a CORBA Any.
 boolean extractBoolean(DeviceDataHistory deviceDataHistory)
          extract method for a boolean.
 boolean[] extractBooleanArray(DeviceDataHistory deviceDataHistory)
          extract method for a byte Array.
 byte[] extractByteArray(DeviceDataHistory deviceDataHistory)
          extract method for a byte Array.
 DevEncoded extractDevEncoded(DeviceDataHistory deviceDataHistory)
          extract method for a DevEncoded
 DevEncoded[] extractDevEncodedArray(DeviceDataHistory deviceDataHistory)
          extract method for a DevEncoded Array
 DevState extractDevState(DeviceDataHistory deviceDataHistory)
          extract method for a DevState.
 DevState[] extractDevStateArray(DeviceDataHistory deviceDataHistory)
          extract method for a DevState Array.
 double extractDouble(DeviceDataHistory deviceDataHistory)
          extract method for a double.
 double[] extractDoubleArray(DeviceDataHistory deviceDataHistory)
          extract method for a double Array.
 DevVarDoubleStringArray extractDoubleStringArray(DeviceDataHistory deviceDataHistory)
          extract method for a DevVarDoubleStringArray.
 float extractFloat(DeviceDataHistory deviceDataHistory)
          extract method for a float.
 float[] extractFloatArray(DeviceDataHistory deviceDataHistory)
          extract method for a float Array.
 int extractLong(DeviceDataHistory deviceDataHistory)
          extract method for a long.
 long extractLong64(DeviceDataHistory deviceDataHistory)
          extract method for a long64.
 long[] extractLong64Array(DeviceDataHistory deviceDataHistory)
          extract method for a long64 Array.
 int[] extractLongArray(DeviceDataHistory deviceDataHistory)
          extract method for a long Array.
 DevVarLongStringArray extractLongStringArray(DeviceDataHistory deviceDataHistory)
          extract method for a DevVarLongStringArray.
 short extractShort(DeviceDataHistory deviceDataHistory)
          extract method for a short.
 short[] extractShortArray(DeviceDataHistory deviceDataHistory)
          extract method for a short Array.
 java.lang.String extractString(DeviceDataHistory deviceDataHistory)
          extract method for a String.
 java.lang.String[] extractStringArray(DeviceDataHistory deviceDataHistory)
          extract method for a String Array.
 short extractUChar(DeviceDataHistory deviceDataHistory)
          extract method for an unsigned char.
 short[] extractUCharArray(DeviceDataHistory deviceDataHistory)
          extract method for an unsigned char Array.
 int extractULong(DeviceDataHistory deviceDataHistory)
          extract method for an unsigned long.
 long extractULong64(DeviceDataHistory deviceDataHistory)
          extract method for an unsigned long64.
 long[] extractULong64Array(DeviceDataHistory deviceDataHistory)
          extract method for an unsigned long64 Array.
 int[] extractULongArray(DeviceDataHistory deviceDataHistory)
          extract method for an unsigned long Array.
 short extractUShort(DeviceDataHistory deviceDataHistory)
          extract method for an unsigned short.
 short[] extractUShortArray(DeviceDataHistory deviceDataHistory)
          extract method for an unsigned short Array.
 AttrQuality getAttrQuality(DeviceDataHistory deviceDataHistory)
          return AttrQuality if from attribute.
 int getDataLength(DeviceDataHistory ddh)
           
 int getDimX(DeviceDataHistory deviceDataHistory)
          Return attribute dim_x if from attribute.
 int getDimY(DeviceDataHistory deviceDataHistory)
          Return attribute dim_y if from attribute.
 DevError[] getErrStack(DeviceDataHistory deviceDataHistory)
          Returns the attribute errors list
 java.lang.String getName(DeviceDataHistory deviceDataHistory)
          Return attribute name.
 int getNbRead(DeviceDataHistory deviceDataHistory)
          Return number of data read.
 int getNbWritten(DeviceDataHistory deviceDataHistory)
          Return number of data written.
 long getTime(DeviceDataHistory deviceDataHistory)
          return time in milliseconds since EPOCH to build a Date class.
 TimeVal getTimeVal(DeviceDataHistory deviceDataHistory)
          Return attribute time value.
 long getTimeValSec(DeviceDataHistory deviceDataHistory)
          Return attribute time value in seconds since EPOCH.
 int getType(DeviceDataHistory deviceDataHistory)
          Returns attribute Tango type.
 int getWrittenDimX(DeviceDataHistory deviceDataHistory)
          Return attribute written dim_x.
 int getWrittenDimY(DeviceDataHistory deviceDataHistory)
          Return attribute written dim_y.
 boolean hasFailed(DeviceDataHistory deviceDataHistory)
          Returns true if attribute failed
 void init(DeviceDataHistory deviceDataHistory, DevAttrHistory_3 att_histo)
          Constructor from an AttributeValue for Device_3Impl.
 void init(DeviceDataHistory deviceDataHistory, DevAttrHistory att_histo)
          Constructor from an AttributeValue.
 void init(DeviceDataHistory deviceDataHistory, java.lang.String cmdname, DevCmdHistory cmd_hist)
          Constructor from a DevCmdHistory.
 void init(DeviceDataHistory deviceDataHistory, java.lang.String name, int source, long t)
          Constructor from an AttributeValue for Device_4Impl.
 void init(DeviceDataHistory deviceDataHistory, java.lang.String name, int source, TimeVal time)
          Constructor from an AttributeValue for Device_4Impl.
 int insert(DeviceDataHistory ddh, boolean[] values, int base)
           
 int insert(DeviceDataHistory ddh, DevEncoded[] values, int base)
           
 int insert(DeviceDataHistory ddh, DevState[] values, int base)
           
 int[] insert(DeviceDataHistory ddh, DevVarDoubleStringArray dsa, int[] bases)
           
 int[] insert(DeviceDataHistory ddh, DevVarLongStringArray lsa, int[] bases)
           
 void insert(DeviceDataHistory ddh, double[] values)
           
 int insert(DeviceDataHistory ddh, double[] values, int base)
           
 int insert(DeviceDataHistory ddh, float[] values, int base)
           
 int insert(DeviceDataHistory ddh, int[] values, int base)
           
 int insert(DeviceDataHistory ddh, long[] values, int base)
           
 int insert(DeviceDataHistory ddh, short[] values, int base)
           
 void insert(DeviceDataHistory ddh, java.lang.String[] values)
           
 int insert(DeviceDataHistory ddh, java.lang.String[] values, int base)
           
 void setAttrQuality(DeviceDataHistory deviceDataHistory, AttrQuality q)
          Set AttrQuality if from attribute.
 void setDimX(DeviceDataHistory deviceDataHistory, int dim)
          Set attribute dim_x if from attribute.
 void setDimY(DeviceDataHistory deviceDataHistory, int dim)
          Set attribute dim_y if from attribute.
 void setErrStack(DeviceDataHistory deviceDataHistory, DevError[] err)
          Set the attribute errors list
 void setTimeVal(DeviceDataHistory deviceDataHistory, TimeVal tval)
          Set attribute time value.
 void setWrittenDimX(DeviceDataHistory deviceDataHistory, int nb)
          Set attribute written dim_x.
 void setWrittenDimY(DeviceDataHistory deviceDataHistory, int nb)
          Set attribute written dim_y.
 org.omg.CORBA.TypeCode type(DeviceDataHistory deviceDataHistory)
          Returns the attribute type
 

Method Detail

init

void init(DeviceDataHistory deviceDataHistory,
          java.lang.String cmdname,
          DevCmdHistory cmd_hist)
          throws DevFailed
Constructor from a DevCmdHistory.

Throws:
DevFailed

init

void init(DeviceDataHistory deviceDataHistory,
          DevAttrHistory att_histo)
          throws DevFailed
Constructor from an AttributeValue.

Throws:
DevFailed

init

void init(DeviceDataHistory deviceDataHistory,
          DevAttrHistory_3 att_histo)
          throws DevFailed
Constructor from an AttributeValue for Device_3Impl.

Throws:
DevFailed

init

void init(DeviceDataHistory deviceDataHistory,
          java.lang.String name,
          int source,
          TimeVal time)
          throws DevFailed
Constructor from an AttributeValue for Device_4Impl.

Throws:
DevFailed

init

void init(DeviceDataHistory deviceDataHistory,
          java.lang.String name,
          int source,
          long t)
          throws DevFailed
Constructor from an AttributeValue for Device_4Impl.

Throws:
DevFailed

setTimeVal

void setTimeVal(DeviceDataHistory deviceDataHistory,
                TimeVal tval)
Set attribute time value.


getTimeVal

TimeVal getTimeVal(DeviceDataHistory deviceDataHistory)
Return attribute time value.


getTimeValSec

long getTimeValSec(DeviceDataHistory deviceDataHistory)
Return attribute time value in seconds since EPOCH.


getTime

long getTime(DeviceDataHistory deviceDataHistory)
return time in milliseconds since EPOCH to build a Date class.


setAttrQuality

void setAttrQuality(DeviceDataHistory deviceDataHistory,
                    AttrQuality q)
                    throws DevFailed
Set AttrQuality if from attribute.

Throws:
DevFailed

getAttrQuality

AttrQuality getAttrQuality(DeviceDataHistory deviceDataHistory)
                           throws DevFailed
return AttrQuality if from attribute.

Throws:
DevFailed

setDimX

void setDimX(DeviceDataHistory deviceDataHistory,
             int dim)
             throws DevFailed
Set attribute dim_x if from attribute.

Throws:
DevFailed

setDimY

void setDimY(DeviceDataHistory deviceDataHistory,
             int dim)
             throws DevFailed
Set attribute dim_y if from attribute.

Throws:
DevFailed

getDimX

int getDimX(DeviceDataHistory deviceDataHistory)
            throws DevFailed
Return attribute dim_x if from attribute.

Throws:
DevFailed

getDimY

int getDimY(DeviceDataHistory deviceDataHistory)
            throws DevFailed
Return attribute dim_y if from attribute.

Throws:
DevFailed

extractAny

org.omg.CORBA.Any extractAny(DeviceDataHistory deviceDataHistory)
                             throws DevFailed
extract method for a CORBA Any.

Throws:
DevFailed

extractBoolean

boolean extractBoolean(DeviceDataHistory deviceDataHistory)
                       throws DevFailed
extract method for a boolean.

Throws:
DevFailed

extractUChar

short extractUChar(DeviceDataHistory deviceDataHistory)
                   throws DevFailed
extract method for an unsigned char.

Returns:
the extracted value.
Throws:
DevFailed

extractShort

short extractShort(DeviceDataHistory deviceDataHistory)
                   throws DevFailed
extract method for a short.

Throws:
DevFailed

extractUShort

short extractUShort(DeviceDataHistory deviceDataHistory)
                    throws DevFailed
extract method for an unsigned short.

Throws:
DevFailed

extractLong

int extractLong(DeviceDataHistory deviceDataHistory)
                throws DevFailed
extract method for a long.

Throws:
DevFailed

extractULong

int extractULong(DeviceDataHistory deviceDataHistory)
                 throws DevFailed
extract method for an unsigned long.

Throws:
DevFailed

extractLong64

long extractLong64(DeviceDataHistory deviceDataHistory)
                   throws DevFailed
extract method for a long64.

Throws:
DevFailed

extractULong64

long extractULong64(DeviceDataHistory deviceDataHistory)
                    throws DevFailed
extract method for an unsigned long64.

Throws:
DevFailed

extractFloat

float extractFloat(DeviceDataHistory deviceDataHistory)
                   throws DevFailed
extract method for a float.

Throws:
DevFailed

extractDouble

double extractDouble(DeviceDataHistory deviceDataHistory)
                     throws DevFailed
extract method for a double.

Throws:
DevFailed

extractString

java.lang.String extractString(DeviceDataHistory deviceDataHistory)
                               throws DevFailed
extract method for a String.

Throws:
DevFailed

extractDevState

DevState extractDevState(DeviceDataHistory deviceDataHistory)
                         throws DevFailed
extract method for a DevState.

Throws:
DevFailed

extractDevEncoded

DevEncoded extractDevEncoded(DeviceDataHistory deviceDataHistory)
                             throws DevFailed
extract method for a DevEncoded

Throws:
DevFailed

extractBooleanArray

boolean[] extractBooleanArray(DeviceDataHistory deviceDataHistory)
                              throws DevFailed
extract method for a byte Array.

Throws:
DevFailed

extractByteArray

byte[] extractByteArray(DeviceDataHistory deviceDataHistory)
                        throws DevFailed
extract method for a byte Array.

Throws:
DevFailed

extractUCharArray

short[] extractUCharArray(DeviceDataHistory deviceDataHistory)
                          throws DevFailed
extract method for an unsigned char Array.

Returns:
the extracted value.
Throws:
DevFailed

extractShortArray

short[] extractShortArray(DeviceDataHistory deviceDataHistory)
                          throws DevFailed
extract method for a short Array.

Throws:
DevFailed

extractUShortArray

short[] extractUShortArray(DeviceDataHistory deviceDataHistory)
                           throws DevFailed
extract method for an unsigned short Array.

Throws:
DevFailed

extractLongArray

int[] extractLongArray(DeviceDataHistory deviceDataHistory)
                       throws DevFailed
extract method for a long Array.

Throws:
DevFailed

extractULongArray

int[] extractULongArray(DeviceDataHistory deviceDataHistory)
                        throws DevFailed
extract method for an unsigned long Array.

Throws:
DevFailed

extractLong64Array

long[] extractLong64Array(DeviceDataHistory deviceDataHistory)
                          throws DevFailed
extract method for a long64 Array.

Throws:
DevFailed

extractULong64Array

long[] extractULong64Array(DeviceDataHistory deviceDataHistory)
                           throws DevFailed
extract method for an unsigned long64 Array.

Throws:
DevFailed

extractFloatArray

float[] extractFloatArray(DeviceDataHistory deviceDataHistory)
                          throws DevFailed
extract method for a float Array.

Throws:
DevFailed

extractDoubleArray

double[] extractDoubleArray(DeviceDataHistory deviceDataHistory)
                            throws DevFailed
extract method for a double Array.

Throws:
DevFailed

extractStringArray

java.lang.String[] extractStringArray(DeviceDataHistory deviceDataHistory)
                                      throws DevFailed
extract method for a String Array.

Throws:
DevFailed

extractDevStateArray

DevState[] extractDevStateArray(DeviceDataHistory deviceDataHistory)
                                throws DevFailed
extract method for a DevState Array.

Throws:
DevFailed

extractDevEncodedArray

DevEncoded[] extractDevEncodedArray(DeviceDataHistory deviceDataHistory)
                                    throws DevFailed
extract method for a DevEncoded Array

Throws:
DevFailed

extractLongStringArray

DevVarLongStringArray extractLongStringArray(DeviceDataHistory deviceDataHistory)
                                             throws DevFailed
extract method for a DevVarLongStringArray.

Throws:
DevFailed

extractDoubleStringArray

DevVarDoubleStringArray extractDoubleStringArray(DeviceDataHistory deviceDataHistory)
                                                 throws DevFailed
extract method for a DevVarDoubleStringArray.

Throws:
DevFailed

hasFailed

boolean hasFailed(DeviceDataHistory deviceDataHistory)
Returns true if attribute failed


setErrStack

void setErrStack(DeviceDataHistory deviceDataHistory,
                 DevError[] err)
Set the attribute errors list


getErrStack

DevError[] getErrStack(DeviceDataHistory deviceDataHistory)
Returns the attribute errors list


type

org.omg.CORBA.TypeCode type(DeviceDataHistory deviceDataHistory)
Returns the attribute type


getName

java.lang.String getName(DeviceDataHistory deviceDataHistory)
Return attribute name.

Throws:
DevFailed - in case of read_attribute failed

getNbRead

int getNbRead(DeviceDataHistory deviceDataHistory)
Return number of data read.

Throws:
DevFailed - in case of read_attribute failed

getNbWritten

int getNbWritten(DeviceDataHistory deviceDataHistory)
Return number of data written.

Throws:
DevFailed - in case of read_attribute failed

setWrittenDimX

void setWrittenDimX(DeviceDataHistory deviceDataHistory,
                    int nb)
Set attribute written dim_x.

Throws:
DevFailed - in case of read_attribute failed

setWrittenDimY

void setWrittenDimY(DeviceDataHistory deviceDataHistory,
                    int nb)
Set attribute written dim_y.

Throws:
DevFailed - in case of read_attribute failed

getWrittenDimX

int getWrittenDimX(DeviceDataHistory deviceDataHistory)
Return attribute written dim_x.

Throws:
DevFailed - in case of read_attribute failed

getWrittenDimY

int getWrittenDimY(DeviceDataHistory deviceDataHistory)
Return attribute written dim_y.

Throws:
DevFailed - in case of read_attribute failed

getType

int getType(DeviceDataHistory deviceDataHistory)
            throws DevFailed
Returns attribute Tango type.

Throws:
DevFailed

getDataLength

int getDataLength(DeviceDataHistory ddh)
                  throws DevFailed
Throws:
DevFailed

insert

int insert(DeviceDataHistory ddh,
           boolean[] values,
           int base)
           throws DevFailed
Throws:
DevFailed

insert

int insert(DeviceDataHistory ddh,
           short[] values,
           int base)
           throws DevFailed
Throws:
DevFailed

insert

int insert(DeviceDataHistory ddh,
           int[] values,
           int base)
           throws DevFailed
Throws:
DevFailed

insert

int insert(DeviceDataHistory ddh,
           long[] values,
           int base)
           throws DevFailed
Throws:
DevFailed

insert

int insert(DeviceDataHistory ddh,
           float[] values,
           int base)
           throws DevFailed
Throws:
DevFailed

insert

int insert(DeviceDataHistory ddh,
           double[] values,
           int base)
           throws DevFailed
Throws:
DevFailed

insert

int insert(DeviceDataHistory ddh,
           java.lang.String[] values,
           int base)
           throws DevFailed
Throws:
DevFailed

insert

int insert(DeviceDataHistory ddh,
           DevState[] values,
           int base)
           throws DevFailed
Throws:
DevFailed

insert

int insert(DeviceDataHistory ddh,
           DevEncoded[] values,
           int base)
           throws DevFailed
Throws:
DevFailed

insert

int[] insert(DeviceDataHistory ddh,
             DevVarLongStringArray lsa,
             int[] bases)
             throws DevFailed
Throws:
DevFailed

insert

int[] insert(DeviceDataHistory ddh,
             DevVarDoubleStringArray dsa,
             int[] bases)
             throws DevFailed
Throws:
DevFailed

insert

void insert(DeviceDataHistory ddh,
            double[] values)
            throws DevFailed
Throws:
DevFailed

insert

void insert(DeviceDataHistory ddh,
            java.lang.String[] values)
            throws DevFailed
Throws:
DevFailed

TANGO Java API
( TangORB-7.3.3.jar)