ESRF Logo

Elettra Logo

Soleil Logo

Alba Logo

Desy Logo

MAX-lab Logo

FRM2 Logo


SYNCHROTRON ALBA --- SYNCHROTRON ELETTRA

EUROPEAN SYNCHROTRON RADIATION FACILITY --- SYNCHROTRON PETRA III

SYNCHROTRON SOLEIL --- SYNCHROTRON MAX 4

NEUTRON SOURCE FRM 2

Tango::WAttribute Class Reference

This class represents a writable attribute. More...

#include <w_attribute.h>

Inheritance diagram for Tango::WAttribute:

Tango::Attribute

List of all members.

Public Member Functions

Constructors
Miscellaneous constructors

 WAttribute (vector< AttrProperty > &prop_list, Attr &tmp_attr, string &dev_name, long idx)
 Create a new Writable Attribute object.
Destructor
Only one desctructor is defined for this class

 ~WAttribute ()
 The WAttribute desctructor.
Attribute configuration methods
Miscellaneous methods dealing with attribute min and max value property

bool is_min_value ()
 Check if the attribute has a minimum value.
void get_min_value (Tango::DevShort &min_value)
 Get attribute minimum value or throws an exception if the attribute does not have a minimum value.
void get_min_value (Tango::DevLong &min_value)
 Get attribute minimum value or throws an exception if the attribute does not have a minimum value.
void get_min_value (Tango::DevLong64 &min_value)
 Get attribute minimum value or throws an exception if the attribute does not have a minimum value.
void get_min_value (Tango::DevDouble &min_value)
 Get attribute minimum value or throws an exception if the attribute does not have a minimum value.
void get_min_value (Tango::DevFloat &min_value)
 Get attribute minimum value or throws an exception if the attribute does not have a minimum value.
void get_min_value (Tango::DevUShort &min_value)
 Get attribute minimum value or throws an exception if the attribute does not have a minimum value.
void get_min_value (Tango::DevUChar &min_value)
 Get attribute minimum value or throws an exception if the attribute does not have a minimum value.
void get_min_value (Tango::DevULong &min_value)
 Get attribute minimum value or throws an exception if the attribute does not have a minimum value.
void get_min_value (Tango::DevULong64 &min_value)
 Get attribute minimum value or throws an exception if the attribute does not have a minimum value.
bool is_max_value ()
 Check if the attribute has a maximum value.
void get_max_value (Tango::DevShort &max_value)
 Get attribute maximum value or throws an exception if the attribute does not have a maximum value.
void get_max_value (Tango::DevLong &max_value)
 Get attribute maximum value or throws an exception if the attribute does not have a maximum value.
void get_max_value (Tango::DevLong64 &max_value)
 Get attribute maximum value or throws an exception if the attribute does not have a maximum value.
void get_max_value (Tango::DevDouble &max_value)
 Get attribute maximum value or throws an exception if the attribute does not have a maximum value.
void get_max_value (Tango::DevFloat &max_value)
 Get attribute maximum value or throws an exception if the attribute does not have a maximum value.
void get_max_value (Tango::DevUShort &max_value)
 Get attribute maximum value or throws an exception if the attribute does not have a maximum value.
void get_max_value (Tango::DevUChar &max_value)
 Get attribute maximum value or throws an exception if the attribute does not have a maximum value.
void get_max_value (Tango::DevULong &max_value)
 Get attribute maximum value or throws an exception if the attribute does not have a maximum value.
void get_max_value (Tango::DevULong64 &max_value)
 Get attribute maximum value or throws an exception if the attribute does not have a maximum value.
void set_min_value (Tango::DevShort &min_value)
 Set attribute minimum value.
void set_min_value (Tango::DevLong &min_value)
 Set attribute minimum value.
void set_min_value (Tango::DevLong64 &min_value)
 Set attribute minimum value.
void set_min_value (Tango::DevDouble &min_value)
 Set attribute minimum value.
void set_min_value (Tango::DevFloat &min_value)
 Set attribute minimum value.
void set_min_value (Tango::DevUShort &min_value)
 Set attribute minimum value.
void set_min_value (Tango::DevUChar &min_value)
 Set attribute minimum value.
void set_min_value (Tango::DevULong &min_value)
 Set attribute minimum value.
void set_min_value (Tango::DevULong64 &min_value)
 Set attribute minimum value.
void set_max_value (Tango::DevShort &max_value)
 Set attribute maximum value.
void set_max_value (Tango::DevLong &max_value)
 Set attribute maximum value.
void set_max_value (Tango::DevLong64 &max_value)
 Set attribute maximum value.
void set_max_value (Tango::DevDouble &max_value)
 Set attribute maximum value.
void set_max_value (Tango::DevFloat &max_value)
 Set attribute maximum value.
void set_max_value (Tango::DevUShort &max_value)
 Set attribute maximum value.
void set_max_value (Tango::DevUChar &max_value)
 Set attribute maximum value.
void set_max_value (Tango::DevULong &max_value)
 Set attribute maximum value.
void set_max_value (Tango::DevULong64 &max_value)
 Set attribute maximum value.
Get new value for attribute
Miscellaneous method to retrieve from the WAttribute object the new value for the attribute.

long get_write_value_length ()
 Retrieve the new value length (data number) for writable attribute.
struct timeval & get_write_date ()
 Retrieve the date of the last attribute writing.
void get_write_value (Tango::DevShort &val)
 Retrieve the new value for writable attribute when attribute data type is Tango::DevShort.
void get_write_value (const Tango::DevShort *&ptr)
 Retrieve the new value for writable attribute when attribute data type is Tango::DevShort and the attribute is SPECTRUM or IMAGE.
void get_write_value (Tango::DevLong &val)
 Retrieve the new value for writable attribute when attribute data type is Tango::DevLong.
void get_write_value (const Tango::DevLong *&ptr)
 Retrieve the new value for writable attribute when attribute data type is Tango::DevLong and the attribute is SPECTRUM or IMAGE.
void get_write_value (Tango::DevLong64 &val)
 Retrieve the new value for writable attribute when attribute data type is Tango::DevLong64.
void get_write_value (const Tango::DevLong64 *&ptr)
 Retrieve the new value for writable attribute when attribute data type is Tango::DevLong64 and the attribute is SPECTRUM or IMAGE.
void get_write_value (Tango::DevFloat &val)
 Retrieve the new value for writable attribute when attribute data type is Tango::DevFloat.
void get_write_value (const Tango::DevFloat *&ptr)
 Retrieve the new value for writable attribute when attribute data type is Tango::DevFloat and the attribute is SPECTRUM or IMAGE.
void get_write_value (Tango::DevDouble &val)
 Retrieve the new value for writable attribute when attribute data type is Tango::DevDouble.
void get_write_value (const Tango::DevDouble *&ptr)
 Retrieve the new value for writable attribute when attribute data type is Tango::DevDouble and the attribute is SPECTRUM or IMAGE.
void get_write_value (Tango::DevString &val)
 Retrieve the new value for writable attribute when attribute data type is Tango::DevString.
void get_write_value (const Tango::ConstDevString *&ptr)
 Retrieve the new value for writable attribute when attribute data type is Tango::DevString and the attribute is SPECTRUM or IMAGE.
void get_write_value (Tango::DevBoolean &val)
 Retrieve the new value for writable attribute when attribute data type is Tango::DevBoolean.
void get_write_value (const Tango::DevBoolean *&ptr)
 Retrieve the new value for writable attribute when attribute data type is Tango::DevBoolean and the attribute is SPECTRUM or IMAGE.
void get_write_value (Tango::DevUShort &val)
 Retrieve the new value for writable attribute when attribute data type is Tango::DevUShort.
void get_write_value (const Tango::DevUShort *&ptr)
 Retrieve the new value for writable attribute when attribute data type is Tango::DevUShort and the attribute is SPECTRUM or IMAGE.
void get_write_value (Tango::DevUChar &val)
 Retrieve the new value for writable attribute when attribute data type is Tango::DevUChar.
void get_write_value (const Tango::DevUChar *&ptr)
 Retrieve the new value for writable attribute when attribute data type is Tango::DevUChar and the attribute is SPECTRUM or IMAGE.
void get_write_value (Tango::DevULong &val)
 Retrieve the new value for writable attribute when attribute data type is Tango::DevULong.
void get_write_value (const Tango::DevULong *&ptr)
 Retrieve the new value for writable attribute when attribute data type is Tango::DevULong and the attribute is SPECTRUM or IMAGE.
void get_write_value (Tango::DevULong64 &val)
 Retrieve the new value for writable attribute when attribute data type is Tango::DevULong64.
void get_write_value (const Tango::DevULong64 *&ptr)
 Retrieve the new value for writable attribute when attribute data type is Tango::DevLong64 and the attribute is SPECTRUM or IMAGE.
void get_write_value (Tango::DevState &val)
 Retrieve the new value for writable attribute when attribute data type is Tango::DevState.
void get_write_value (const Tango::DevState *&ptr)
 Retrieve the new value for writable attribute when attribute data type is Tango::DevLong64 and the attribute is SPECTRUM or IMAGE.
void get_write_value (Tango::DevEncoded &val)
 Retrieve the new value for writable attribute when attribute data type is Tango::DevEncoded.
void get_write_value (const Tango::DevEncoded *&ptr)
 Retrieve the new value for writable attribute when attribute data type is Tango::DevEncoded and the attribute is SPECTRUM or IMAGE.
Set new value for attribute
Miscellaneous method to set a WAttribute value

void set_write_value (Tango::DevShort val)
 Set the writable scalar attribute value when the attribute data type is Tango::DevShort.
void set_write_value (Tango::DevShort *val, long x=1, long y=0)
 Set the writable spectrum or image attribute value when the attribute data type is Tango::DevShort.
void set_write_value (vector< Tango::DevShort > &val, long x=1, long y=0)
 Set the writable spectrum or image attribute value when the attribute data type is Tango::DevShort.
void set_write_value (Tango::DevLong val)
 Set the writable scalar attribute value when the attribute data type is Tango::DevLong.
void set_write_value (Tango::DevLong *val, long x=1, long y=0)
 Set the writable spectrum or image attribute value when the attribute data type is Tango::DevLong.
void set_write_value (vector< Tango::DevLong > &val, long x=1, long y=0)
 Set the writable spectrum or image attribute value when the attribute data type is Tango::DevLong.
void set_write_value (Tango::DevLong64 val)
 Set the writable scalar attribute value when the attribute data type is Tango::DevLong64.
void set_write_value (Tango::DevLong64 *val, long x=1, long y=0)
 Set the writable spectrum or image attribute value when the attribute data type is Tango::DevLong64.
void set_write_value (vector< Tango::DevLong64 > &val, long x=1, long y=0)
 Set the writable spectrum or image attribute value when the attribute data type is Tango::DevLong64.
void set_write_value (Tango::DevDouble val)
 Set the writable scalar attribute value when the attribute data type is Tango::DevDouble.
void set_write_value (Tango::DevDouble *val, long x=1, long y=0)
 Set the writable spectrum or image attribute value when the attribute data type is Tango::DevDouble.
void set_write_value (vector< Tango::DevDouble > &val, long x=1, long y=0)
 Set the writable spectrum or image attribute value when the attribute data type is Tango::DevDouble.
void set_write_value (Tango::DevString val)
 Set the writable scalar attribute value when the attribute data type is Tango::DevString.
void set_write_value (string &val)
 Set the writable scalar attribute value when the attribute data type is Tango::DevString.
void set_write_value (Tango::DevString *val, long x=1, long y=0)
 Set the writable spectrum or image attribute value when the attribute data type is Tango::DevString.
void set_write_value (vector< string > &val, long x=1, long y=0)
 Set the writable spectrum or image attribute value when the attribute data type is Tango::DevString.
void set_write_value (Tango::DevFloat val)
 Set the writable scalar attribute value when the attribute data type is Tango::DevFloat.
void set_write_value (Tango::DevFloat *val, long x=1, long y=0)
 Set the writable spectrum or image attribute value when the attribute data type is Tango::DevFloat.
void set_write_value (vector< Tango::DevFloat > &val, long x=1, long y=0)
 Set the writable spectrum or image attribute value when the attribute data type is Tango::DevFloat.
void set_write_value (Tango::DevBoolean val)
 Set the writable scalar attribute value when the attribute data type is Tango::DevBoolean.
void set_write_value (Tango::DevBoolean *val, long x=1, long y=0)
 Set the writable spectrum or image attribute value when the attribute data type is Tango::DevBoolean.
void set_write_value (vector< Tango::DevBoolean > &val, long x=1, long y=0)
 Set the writable spectrum or image attribute value when the attribute data type is Tango::DevBoolean.
void set_write_value (Tango::DevUShort val)
 Set the writable scalar attribute value when the attribute data type is Tango::DevUShort.
void set_write_value (Tango::DevUShort *val, long x=1, long y=0)
 Set the writable spectrum or image attribute value when the attribute data type is Tango::DevUShort.
void set_write_value (vector< Tango::DevUShort > &val, long x=1, long y=0)
 Set the writable spectrum or image attribute value when the attribute data type is Tango::DevUShort.
void set_write_value (Tango::DevUChar val)
 Set the writable scalar attribute value when the attribute data type is Tango::DevUChar.
void set_write_value (Tango::DevUChar *val, long x=1, long y=0)
 Set the writable spectrum or image attribute value when the attribute data type is Tango::DevUChar.
void set_write_value (vector< Tango::DevUChar > &val, long x=1, long y=0)
 Set the writable spectrum or image attribute value when the attribute data type is Tango::DevUChar.
void set_write_value (Tango::DevULong val)
 Set the writable scalar attribute value when the attribute data type is Tango::DevULong.
void set_write_value (Tango::DevULong *val, long x=1, long y=0)
 Set the writable spectrum or image attribute value when the attribute data type is Tango::DevULong.
void set_write_value (vector< Tango::DevULong > &val, long x=1, long y=0)
 Set the writable spectrum or image attribute value when the attribute data type is Tango::DevULong.
void set_write_value (Tango::DevULong64 val)
 Set the writable scalar attribute value when the attribute data type is Tango::DevULong64.
void set_write_value (Tango::DevULong64 *val, long x=1, long y=0)
 Set the writable spectrum or image attribute value when the attribute data type is Tango::DevULong64.
void set_write_value (vector< Tango::DevULong64 > &val, long x=1, long y=0)
 Set the writable spectrum or image attribute value when the attribute data type is Tango::DevULong64.
void set_write_value (Tango::DevState val)
 Set the writable scalar attribute value when the attribute data type is Tango::DevState.
void set_write_value (Tango::DevState *val, long x=1, long y=0)
 Set the writable spectrum or image attribute value when the attribute data type is Tango::DevState.
void set_write_value (vector< Tango::DevState > &val, long x=1, long y=0)
 Set the writable spectrum or image attribute value when the attribute data type is Tango::DevState.


Detailed Description

This class represents a writable attribute.

It inherits from the Attribute class and only add what is specific to writable attribute.

Author
taurel
Revision
15556

Constructor & Destructor Documentation

Tango::WAttribute::WAttribute ( vector< AttrProperty > &  prop_list,
Attr tmp_attr,
string &  dev_name,
long  idx 
)

Create a new Writable Attribute object.

Parameters:
prop_list The attribute properties list. Each property is an object of the AttrProperty class
tmp_attr The temporary attribute object built from user parameters
dev_name The device name
idx The index of the related Attr object in the MultiClassAttribute vector of Attr object


Member Function Documentation

void Tango::WAttribute::get_max_value ( Tango::DevULong64 &  max_value  ) 

Get attribute maximum value or throws an exception if the attribute does not have a maximum value.

Parameters:
max_value Reference to a DevULong64 data which will be set to the attribute maximum value

void Tango::WAttribute::get_max_value ( Tango::DevULong &  max_value  ) 

Get attribute maximum value or throws an exception if the attribute does not have a maximum value.

Parameters:
max_value Reference to a DevULong data which will be set to the attribute maximum value

void Tango::WAttribute::get_max_value ( Tango::DevUChar &  max_value  ) 

Get attribute maximum value or throws an exception if the attribute does not have a maximum value.

Parameters:
max_value Reference to a DevUChar data which will be set to the attribute maximum value

void Tango::WAttribute::get_max_value ( Tango::DevUShort &  max_value  ) 

Get attribute maximum value or throws an exception if the attribute does not have a maximum value.

Parameters:
max_value Reference to a DevUShort data which will be set to the attribute maximum value

void Tango::WAttribute::get_max_value ( Tango::DevFloat &  max_value  ) 

Get attribute maximum value or throws an exception if the attribute does not have a maximum value.

Parameters:
max_value Reference to a DevFloat data which will be set to the attribute maximum value

void Tango::WAttribute::get_max_value ( Tango::DevDouble &  max_value  ) 

Get attribute maximum value or throws an exception if the attribute does not have a maximum value.

Parameters:
max_value Reference to a DevDouble data which will be set to the attribute maximum value

void Tango::WAttribute::get_max_value ( Tango::DevLong64 &  max_value  ) 

Get attribute maximum value or throws an exception if the attribute does not have a maximum value.

Parameters:
max_value Reference to a DevLong64 data which will be set to the attribute maximum value

void Tango::WAttribute::get_max_value ( Tango::DevLong &  max_value  ) 

Get attribute maximum value or throws an exception if the attribute does not have a maximum value.

Parameters:
max_value Reference to a DevLong data which will be set to the attribute maximum value

void Tango::WAttribute::get_max_value ( Tango::DevShort &  max_value  ) 

Get attribute maximum value or throws an exception if the attribute does not have a maximum value.

Parameters:
max_value Reference to a DevShort data which will be set to the attribute maximum value

void Tango::WAttribute::get_min_value ( Tango::DevULong64 &  min_value  ) 

Get attribute minimum value or throws an exception if the attribute does not have a minimum value.

Parameters:
min_value Reference to a DevULong64 data which will be set to the attribute minimum value

void Tango::WAttribute::get_min_value ( Tango::DevULong &  min_value  ) 

Get attribute minimum value or throws an exception if the attribute does not have a minimum value.

Parameters:
min_value Reference to a DevULong data which will be set to the attribute minimum value

void Tango::WAttribute::get_min_value ( Tango::DevUChar &  min_value  ) 

Get attribute minimum value or throws an exception if the attribute does not have a minimum value.

Parameters:
min_value Reference to a DevUChar data which will be set to the attribute minimum value

void Tango::WAttribute::get_min_value ( Tango::DevUShort &  min_value  ) 

Get attribute minimum value or throws an exception if the attribute does not have a minimum value.

Parameters:
min_value Reference to a DevUShort data which will be set to the attribute minimum value

void Tango::WAttribute::get_min_value ( Tango::DevFloat &  min_value  ) 

Get attribute minimum value or throws an exception if the attribute does not have a minimum value.

Parameters:
min_value Reference to a DevFloat data which will be set to the attribute minimum value

void Tango::WAttribute::get_min_value ( Tango::DevDouble &  min_value  ) 

Get attribute minimum value or throws an exception if the attribute does not have a minimum value.

Parameters:
min_value Reference to a DevDouble data which will be set to the attribute minimum value

void Tango::WAttribute::get_min_value ( Tango::DevLong64 &  min_value  ) 

Get attribute minimum value or throws an exception if the attribute does not have a minimum value.

Parameters:
min_value Reference to a DevLong64 data which will be set to the attribute minimum value

void Tango::WAttribute::get_min_value ( Tango::DevLong &  min_value  ) 

Get attribute minimum value or throws an exception if the attribute does not have a minimum value.

Parameters:
min_value Reference to a DevLong data which will be set to the attribute minimum value

void Tango::WAttribute::get_min_value ( Tango::DevShort &  min_value  ) 

Get attribute minimum value or throws an exception if the attribute does not have a minimum value.

Parameters:
min_value Reference to a DevShort data which will be set to the attribute minimum value

struct timeval& Tango::WAttribute::get_write_date (  )  [inline, read]

Retrieve the date of the last attribute writing.

This is set only if the attribute has a read different than set alarm. Otherwise, date is set to 0.

Returns:
The written date

void Tango::WAttribute::get_write_value ( const Tango::DevEncoded *&  ptr  )  [inline]

Retrieve the new value for writable attribute when attribute data type is Tango::DevEncoded and the attribute is SPECTRUM or IMAGE.

Parameters:
ptr Reference to a pointer which will be set to point to the data to be written into the attribute. This pointer points into attribute internal memory which must not be freed.

void Tango::WAttribute::get_write_value ( Tango::DevEncoded &  val  )  [inline]

Retrieve the new value for writable attribute when attribute data type is Tango::DevEncoded.

Parameters:
val A reference to a Tango::DevEncoded data which will be initialised with the new value

void Tango::WAttribute::get_write_value ( const Tango::DevState *&  ptr  )  [inline]

Retrieve the new value for writable attribute when attribute data type is Tango::DevLong64 and the attribute is SPECTRUM or IMAGE.

Parameters:
ptr Reference to a pointer which will be set to point to the data to be written into the attribute. This pointer points into attribute internal memory which must not be freed.

void Tango::WAttribute::get_write_value ( Tango::DevState &  val  )  [inline]

Retrieve the new value for writable attribute when attribute data type is Tango::DevState.

Parameters:
val A reference to a Tango::DevState data which will be initialised with the new value

void Tango::WAttribute::get_write_value ( const Tango::DevULong64 *&  ptr  )  [inline]

Retrieve the new value for writable attribute when attribute data type is Tango::DevLong64 and the attribute is SPECTRUM or IMAGE.

Parameters:
ptr Reference to a pointer which will be set to point to the data to be written into the attribute. This pointer points into attribute internal memory which must not be freed.

void Tango::WAttribute::get_write_value ( Tango::DevULong64 &  val  )  [inline]

Retrieve the new value for writable attribute when attribute data type is Tango::DevULong64.

Parameters:
val A reference to a Tango::DevULong64 data which will be initialised with the new value

void Tango::WAttribute::get_write_value ( const Tango::DevULong *&  ptr  )  [inline]

Retrieve the new value for writable attribute when attribute data type is Tango::DevULong and the attribute is SPECTRUM or IMAGE.

Parameters:
ptr Reference to a pointer which will be set to point to the data to be written into the attribute. This pointer points into attribute internal memory which must not be freed.

void Tango::WAttribute::get_write_value ( Tango::DevULong &  val  )  [inline]

Retrieve the new value for writable attribute when attribute data type is Tango::DevULong.

Parameters:
val A reference to a Tango::DevULong data which will be initialised with the new value

void Tango::WAttribute::get_write_value ( const Tango::DevUChar *&  ptr  )  [inline]

Retrieve the new value for writable attribute when attribute data type is Tango::DevUChar and the attribute is SPECTRUM or IMAGE.

Parameters:
ptr Reference to a pointer which will be set to point to the data to be written into the attribute. This pointer points into attribute internal memory which must not be freed.

void Tango::WAttribute::get_write_value ( Tango::DevUChar &  val  )  [inline]

Retrieve the new value for writable attribute when attribute data type is Tango::DevUChar.

Parameters:
val A reference to a Tango::DevUChar data which will be initialised with the new value

void Tango::WAttribute::get_write_value ( const Tango::DevUShort *&  ptr  )  [inline]

Retrieve the new value for writable attribute when attribute data type is Tango::DevUShort and the attribute is SPECTRUM or IMAGE.

Parameters:
ptr Reference to a pointer which will be set to point to the data to be written into the attribute. This pointer points into attribute internal memory which must not be freed.

void Tango::WAttribute::get_write_value ( Tango::DevUShort &  val  )  [inline]

Retrieve the new value for writable attribute when attribute data type is Tango::DevUShort.

Parameters:
val A reference to a Tango::DevUShort data which will be initialised with the new value

void Tango::WAttribute::get_write_value ( const Tango::DevBoolean *&  ptr  )  [inline]

Retrieve the new value for writable attribute when attribute data type is Tango::DevBoolean and the attribute is SPECTRUM or IMAGE.

Parameters:
ptr Reference to a pointer which will be set to point to the data to be written into the attribute. This pointer points into attribute internal memory which must not be freed.

void Tango::WAttribute::get_write_value ( Tango::DevBoolean &  val  )  [inline]

Retrieve the new value for writable attribute when attribute data type is Tango::DevBoolean.

Parameters:
val A reference to a Tango::DevBoolean data which will be initialised with the new value

void Tango::WAttribute::get_write_value ( const Tango::ConstDevString *&  ptr  )  [inline]

Retrieve the new value for writable attribute when attribute data type is Tango::DevString and the attribute is SPECTRUM or IMAGE.

Parameters:
ptr Reference to a pointer which will be set to point to the data to be written into the attribute. This pointer points into attribute internal memory which must not be freed.

void Tango::WAttribute::get_write_value ( Tango::DevString &  val  )  [inline]

Retrieve the new value for writable attribute when attribute data type is Tango::DevString.

Parameters:
val A reference to a Tango::DevString data which will be initialised with the new value

void Tango::WAttribute::get_write_value ( const Tango::DevDouble *&  ptr  )  [inline]

Retrieve the new value for writable attribute when attribute data type is Tango::DevDouble and the attribute is SPECTRUM or IMAGE.

Parameters:
ptr Reference to a pointer which will be set to point to the data to be written into the attribute. This pointer points into attribute internal memory which must not be freed.

void Tango::WAttribute::get_write_value ( Tango::DevDouble &  val  )  [inline]

Retrieve the new value for writable attribute when attribute data type is Tango::DevDouble.

Parameters:
val A reference to a Tango::DevDouble data which will be initialised with the new value

void Tango::WAttribute::get_write_value ( const Tango::DevFloat *&  ptr  )  [inline]

Retrieve the new value for writable attribute when attribute data type is Tango::DevFloat and the attribute is SPECTRUM or IMAGE.

Parameters:
ptr Reference to a pointer which will be set to point to the data to be written into the attribute. This pointer points into attribute internal memory which must not be freed.

void Tango::WAttribute::get_write_value ( Tango::DevFloat &  val  )  [inline]

Retrieve the new value for writable attribute when attribute data type is Tango::DevFloat.

Parameters:
val A reference to a Tango::DevFloat data which will be initialised with the new value

void Tango::WAttribute::get_write_value ( const Tango::DevLong64 *&  ptr  )  [inline]

Retrieve the new value for writable attribute when attribute data type is Tango::DevLong64 and the attribute is SPECTRUM or IMAGE.

Parameters:
ptr Reference to a pointer which will be set to point to the data to be written into the attribute. This pointer points into attribute internal memory which must not be freed.

void Tango::WAttribute::get_write_value ( Tango::DevLong64 &  val  )  [inline]

Retrieve the new value for writable attribute when attribute data type is Tango::DevLong64.

Parameters:
val A reference to a Tango::DevLong64 data which will be initialised with the new value

void Tango::WAttribute::get_write_value ( const Tango::DevLong *&  ptr  )  [inline]

Retrieve the new value for writable attribute when attribute data type is Tango::DevLong and the attribute is SPECTRUM or IMAGE.

Parameters:
ptr Reference to a pointer which will be set to point to the data to be written into the attribute. This pointer points into attribute internal memory which must not be freed.

void Tango::WAttribute::get_write_value ( Tango::DevLong &  val  )  [inline]

Retrieve the new value for writable attribute when attribute data type is Tango::DevLong.

Parameters:
val A reference to a Tango::DevLong data which will be initialised with the new value

void Tango::WAttribute::get_write_value ( const Tango::DevShort *&  ptr  )  [inline]

Retrieve the new value for writable attribute when attribute data type is Tango::DevShort and the attribute is SPECTRUM or IMAGE.

Parameters:
ptr Reference to a pointer wich will be set to point to the data to be written into the attribute. This pointer points into attribute internal memory which must not be freed.

void Tango::WAttribute::get_write_value ( Tango::DevShort &  val  )  [inline]

Retrieve the new value for writable attribute when attribute data type is Tango::DevShort.

Parameters:
val A reference to a Tango::DevShort data which will be initialised with the new value

long Tango::WAttribute::get_write_value_length (  ) 

Retrieve the new value length (data number) for writable attribute.

Returns:
The new value data length

bool Tango::WAttribute::is_max_value (  )  [inline]

Check if the attribute has a maximum value.

Returns:
check_max_value A boolean set to true if the attribute has a maximum value defined

bool Tango::WAttribute::is_min_value (  )  [inline]

Check if the attribute has a minimum value.

Returns:
A boolean set to true if the attribute has a minimum value defined

void Tango::WAttribute::set_max_value ( Tango::DevULong64 &  max_value  ) 

Set attribute maximum value.

Parameters:
max_value Reference to a DevULong64 data which is the new max value

void Tango::WAttribute::set_max_value ( Tango::DevULong &  max_value  ) 

Set attribute maximum value.

Parameters:
max_value Reference to a DevULong data which is the new max value

void Tango::WAttribute::set_max_value ( Tango::DevUChar &  max_value  ) 

Set attribute maximum value.

Parameters:
max_value Reference to a DevUChar data which is the new max value

void Tango::WAttribute::set_max_value ( Tango::DevUShort &  max_value  ) 

Set attribute maximum value.

Parameters:
max_value Reference to a DevUShort data which is the new max value

void Tango::WAttribute::set_max_value ( Tango::DevFloat &  max_value  ) 

Set attribute maximum value.

Parameters:
max_value Reference to a DevFloat data which is the new max value

void Tango::WAttribute::set_max_value ( Tango::DevDouble &  max_value  ) 

Set attribute maximum value.

Parameters:
max_value Reference to a DevDouble data which is the new max value

void Tango::WAttribute::set_max_value ( Tango::DevLong64 &  max_value  ) 

Set attribute maximum value.

Parameters:
max_value Reference to a DevLong64 data which is the new max value

void Tango::WAttribute::set_max_value ( Tango::DevLong &  max_value  ) 

Set attribute maximum value.

Parameters:
max_value Reference to a DevLong data which is the new max value

void Tango::WAttribute::set_max_value ( Tango::DevShort &  max_value  ) 

Set attribute maximum value.

Parameters:
max_value Reference to a DevShort data which is the new max value

void Tango::WAttribute::set_min_value ( Tango::DevULong64 &  min_value  ) 

Set attribute minimum value.

Parameters:
min_value Reference to a DevULong64 data which is the new min value

void Tango::WAttribute::set_min_value ( Tango::DevULong &  min_value  ) 

Set attribute minimum value.

Parameters:
min_value Reference to a DevULong data which is the new min value

void Tango::WAttribute::set_min_value ( Tango::DevUChar &  min_value  ) 

Set attribute minimum value.

Parameters:
min_value Reference to a DevUChar data which is the new min value

void Tango::WAttribute::set_min_value ( Tango::DevUShort &  min_value  ) 

Set attribute minimum value.

Parameters:
min_value Reference to a DevUShort data which is the new min value

void Tango::WAttribute::set_min_value ( Tango::DevFloat &  min_value  ) 

Set attribute minimum value.

Parameters:
min_value Reference to a DevFloat data which is the new min value

void Tango::WAttribute::set_min_value ( Tango::DevDouble &  min_value  ) 

Set attribute minimum value.

Parameters:
min_value Reference to a DevDouble data which is the new min value

void Tango::WAttribute::set_min_value ( Tango::DevLong64 &  min_value  ) 

Set attribute minimum value.

Parameters:
min_value Reference to a DevLong64 data which is the new min value

void Tango::WAttribute::set_min_value ( Tango::DevLong &  min_value  ) 

Set attribute minimum value.

Parameters:
min_value Reference to a DevLong data which is the new min value

void Tango::WAttribute::set_min_value ( Tango::DevShort &  min_value  ) 

Set attribute minimum value.

Parameters:
min_value Reference to a DevShort data which is the new min value

void Tango::WAttribute::set_write_value ( vector< Tango::DevState > &  val,
long  x = 1,
long  y = 0 
)

Set the writable spectrum or image attribute value when the attribute data type is Tango::DevState.

Parameters:
val A vector containing the attribute set value
x The attribute set value x length. Default value is 1
y The attribute set value y length. Default value is 0

void Tango::WAttribute::set_write_value ( Tango::DevState *  val,
long  x = 1,
long  y = 0 
)

Set the writable spectrum or image attribute value when the attribute data type is Tango::DevState.

Parameters:
val A reference to the attribute set value
x The attribute set value x length. Default value is 1
y The attribute set value y length. Default value is 0

void Tango::WAttribute::set_write_value ( Tango::DevState  val  ) 

Set the writable scalar attribute value when the attribute data type is Tango::DevState.

Parameters:
val A reference to a Tango::DevState data

void Tango::WAttribute::set_write_value ( vector< Tango::DevULong64 > &  val,
long  x = 1,
long  y = 0 
)

Set the writable spectrum or image attribute value when the attribute data type is Tango::DevULong64.

Parameters:
val A vector containing the attribute set value
x The attribute set value x length. Default value is 1
y The attribute set value y length. Default value is 0

void Tango::WAttribute::set_write_value ( Tango::DevULong64 *  val,
long  x = 1,
long  y = 0 
)

Set the writable spectrum or image attribute value when the attribute data type is Tango::DevULong64.

Parameters:
val A reference to the attribute set value
x The attribute set value x length. Default value is 1
y The attribute set value y length. Default value is 0

void Tango::WAttribute::set_write_value ( Tango::DevULong64  val  ) 

Set the writable scalar attribute value when the attribute data type is Tango::DevULong64.

Parameters:
val A reference to a Tango::DevULong64 data

void Tango::WAttribute::set_write_value ( vector< Tango::DevULong > &  val,
long  x = 1,
long  y = 0 
)

Set the writable spectrum or image attribute value when the attribute data type is Tango::DevULong.

Parameters:
val A vector containing the attribute set value
x The attribute set value x length. Default value is 1
y The attribute set value y length. Default value is 0

void Tango::WAttribute::set_write_value ( Tango::DevULong *  val,
long  x = 1,
long  y = 0 
)

Set the writable spectrum or image attribute value when the attribute data type is Tango::DevULong.

Parameters:
val A reference to the attribute set value
x The attribute set value x length. Default value is 1
y The attribute set value y length. Default value is 0

void Tango::WAttribute::set_write_value ( Tango::DevULong  val  ) 

Set the writable scalar attribute value when the attribute data type is Tango::DevULong.

Parameters:
val A reference to a Tango::DevULong data

void Tango::WAttribute::set_write_value ( vector< Tango::DevUChar > &  val,
long  x = 1,
long  y = 0 
)

Set the writable spectrum or image attribute value when the attribute data type is Tango::DevUChar.

Parameters:
val A vector containing the attribute set value
x The attribute set value x length. Default value is 1
y The attribute set value y length. Default value is 0

void Tango::WAttribute::set_write_value ( Tango::DevUChar *  val,
long  x = 1,
long  y = 0 
)

Set the writable spectrum or image attribute value when the attribute data type is Tango::DevUChar.

Parameters:
val A reference to the attribute set value
x The attribute set value x length. Default value is 1
y The attribute set value y length. Default value is 0

void Tango::WAttribute::set_write_value ( Tango::DevUChar  val  ) 

Set the writable scalar attribute value when the attribute data type is Tango::DevUChar.

Parameters:
val A reference to a Tango::DevUChar

void Tango::WAttribute::set_write_value ( vector< Tango::DevUShort > &  val,
long  x = 1,
long  y = 0 
)

Set the writable spectrum or image attribute value when the attribute data type is Tango::DevUShort.

Parameters:
val A vector containing the attribute set value
x The attribute set value x length. Default value is 1
y The attribute set value y length. Default value is 0

void Tango::WAttribute::set_write_value ( Tango::DevUShort *  val,
long  x = 1,
long  y = 0 
)

Set the writable spectrum or image attribute value when the attribute data type is Tango::DevUShort.

Parameters:
val A reference to the attribute set value
x The attribute set value x length. Default value is 1
y The attribute set value y length. Default value is 0

void Tango::WAttribute::set_write_value ( Tango::DevUShort  val  ) 

Set the writable scalar attribute value when the attribute data type is Tango::DevUShort.

Parameters:
val A reference to a Tango::DevUShort

void Tango::WAttribute::set_write_value ( vector< Tango::DevBoolean > &  val,
long  x = 1,
long  y = 0 
)

Set the writable spectrum or image attribute value when the attribute data type is Tango::DevBoolean.

Parameters:
val A vector containing the attribute set value
x The attribute set value x length. Default value is 1
y The attribute set value y length. Default value is 0

void Tango::WAttribute::set_write_value ( Tango::DevBoolean *  val,
long  x = 1,
long  y = 0 
)

Set the writable spectrum or image attribute value when the attribute data type is Tango::DevBoolean.

Parameters:
val A reference to the attribute set value
x The attribute set value x length. Default value is 1
y The attribute set value y length. Default value is 0

void Tango::WAttribute::set_write_value ( Tango::DevBoolean  val  ) 

Set the writable scalar attribute value when the attribute data type is Tango::DevBoolean.

Parameters:
val A reference to a Tango::DevBoolean

void Tango::WAttribute::set_write_value ( vector< Tango::DevFloat > &  val,
long  x = 1,
long  y = 0 
)

Set the writable spectrum or image attribute value when the attribute data type is Tango::DevFloat.

Parameters:
val A vector containing the attribute set value
x The attribute set value x length. Default value is 1
y The attribute set value y length. Default value is 0

void Tango::WAttribute::set_write_value ( Tango::DevFloat *  val,
long  x = 1,
long  y = 0 
)

Set the writable spectrum or image attribute value when the attribute data type is Tango::DevFloat.

Parameters:
val A reference to the attribute set value
x The attribute set value x length. Default value is 1
y The attribute set value y length. Default value is 0

void Tango::WAttribute::set_write_value ( Tango::DevFloat  val  ) 

Set the writable scalar attribute value when the attribute data type is Tango::DevFloat.

Parameters:
val A reference to a Tango::DevFloat

void Tango::WAttribute::set_write_value ( vector< string > &  val,
long  x = 1,
long  y = 0 
)

Set the writable spectrum or image attribute value when the attribute data type is Tango::DevString.

Parameters:
val A vector of string containing the attribute set value
x The attribute set value x length. Default value is 1
y The attribute set value y length. Default value is 0

void Tango::WAttribute::set_write_value ( Tango::DevString *  val,
long  x = 1,
long  y = 0 
)

Set the writable spectrum or image attribute value when the attribute data type is Tango::DevString.

Parameters:
val A reference to the attribute set value
x The attribute set value x length. Default value is 1
y The attribute set value y length. Default value is 0

void Tango::WAttribute::set_write_value ( string &  val  ) 

Set the writable scalar attribute value when the attribute data type is Tango::DevString.

Parameters:
val A reference to a std::string

void Tango::WAttribute::set_write_value ( Tango::DevString  val  ) 

Set the writable scalar attribute value when the attribute data type is Tango::DevString.

Parameters:
val A reference to a Tango::DevString

void Tango::WAttribute::set_write_value ( vector< Tango::DevDouble > &  val,
long  x = 1,
long  y = 0 
)

Set the writable spectrum or image attribute value when the attribute data type is Tango::DevDouble.

Parameters:
val A vector containing the attribute set value
x The attribute set value x length. Default value is 1
y The attribute set value y length. Default value is 0

void Tango::WAttribute::set_write_value ( Tango::DevDouble *  val,
long  x = 1,
long  y = 0 
)

Set the writable spectrum or image attribute value when the attribute data type is Tango::DevDouble.

Parameters:
val A reference to the attribute set value
x The attribute set value x length. Default value is 1
y The attribute set value y length. Default value is 0

void Tango::WAttribute::set_write_value ( Tango::DevDouble  val  ) 

Set the writable scalar attribute value when the attribute data type is Tango::DevDouble.

Parameters:
val A reference to a Tango::DevDouble

void Tango::WAttribute::set_write_value ( vector< Tango::DevLong64 > &  val,
long  x = 1,
long  y = 0 
)

Set the writable spectrum or image attribute value when the attribute data type is Tango::DevLong64.

Parameters:
val A vector containing the attribute set value
x The attribute set value x length. Default value is 1
y The attribute set value y length. Default value is 0

void Tango::WAttribute::set_write_value ( Tango::DevLong64 *  val,
long  x = 1,
long  y = 0 
)

Set the writable spectrum or image attribute value when the attribute data type is Tango::DevLong64.

Parameters:
val A reference to the attribute set value
x The attribute set value x length. Default value is 1
y The attribute set value y length. Default value is 0

void Tango::WAttribute::set_write_value ( Tango::DevLong64  val  ) 

Set the writable scalar attribute value when the attribute data type is Tango::DevLong64.

Parameters:
val A reference to a Tango::DevLong64 data

void Tango::WAttribute::set_write_value ( vector< Tango::DevLong > &  val,
long  x = 1,
long  y = 0 
)

Set the writable spectrum or image attribute value when the attribute data type is Tango::DevLong.

Parameters:
val A vector containing the attribute set value
x The attribute set value x length. Default value is 1
y The attribute set value y length. Default value is 0

void Tango::WAttribute::set_write_value ( Tango::DevLong *  val,
long  x = 1,
long  y = 0 
)

Set the writable spectrum or image attribute value when the attribute data type is Tango::DevLong.

Parameters:
val A reference to the attribute set value
x The attribute set value x length. Default value is 1
y The attribute set value y length. Default value is 0

void Tango::WAttribute::set_write_value ( Tango::DevLong  val  ) 

Set the writable scalar attribute value when the attribute data type is Tango::DevLong.

Parameters:
val A reference to a Tango::DevLong data

void Tango::WAttribute::set_write_value ( vector< Tango::DevShort > &  val,
long  x = 1,
long  y = 0 
)

Set the writable spectrum or image attribute value when the attribute data type is Tango::DevShort.

Parameters:
val A vector containing the attribute set value
x The attribute set value x length. Default value is 1
y The attribute set value y length. Default value is 0

void Tango::WAttribute::set_write_value ( Tango::DevShort *  val,
long  x = 1,
long  y = 0 
)

Set the writable spectrum or image attribute value when the attribute data type is Tango::DevShort.

Parameters:
val A reference to the attribute set value
x The attribute set value x length. Default value is 1
y The attribute set value y length. Default value is 0

void Tango::WAttribute::set_write_value ( Tango::DevShort  val  ) 

Set the writable scalar attribute value when the attribute data type is Tango::DevShort.

Parameters:
val A reference to a Tango::DevShort data


The documentation for this class was generated from the following file:
Tango Device Server User's Guide



ALBA - Control Team / DESY - Hasylab Petra III

ELETTRA - Controls and Diagnostics / ESRF - Software Engineering Group

SOLEIL - Controle Commande et Acquisition / MAX-lab - MAX 4

FRM2 - Control group