Tango Core Classes Reference  9.3.4
Tango::WAttribute Class Reference

This class represents a writable attribute. More...

#include "tango.h"

Inheritance diagram for Tango::WAttribute:
Collaboration diagram for Tango::WAttribute:

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. More...
 
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. More...
 
template<typename T >
void set_min_value (const T &min_value)
 Set attribute minimum value. More...
 
void set_min_value (char *min_value)
 Set attribute minimum value. More...
 
void set_min_value (const char *min_value)
 Set attribute minimum value. More...
 
template<typename T >
void get_min_value (T &min_value)
 Gets attribute minimum value or throws an exception if the attribute does not have a minimum value. More...
 
bool is_max_value ()
 Check if the attribute has a maximum value. More...
 
template<typename T >
void set_max_value (const T &max_value)
 Set attribute maximum value. More...
 
void set_max_value (char *max_value)
 Set attribute maximum value. More...
 
void set_max_value (const char *max_value)
 Set attribute maximum value. More...
 
template<typename T >
void get_max_value (T &max_value)
 Get attribute maximum value or throws an exception if the attribute does not have a maximum value. More...
 
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. More...
 
struct timeval & get_write_date ()
 Retrieve the date of the last attribute writing. More...
 
void get_write_value (Tango::DevShort &val)
 Retrieve the new value for writable attribute when attribute data type is Tango::DevShort. More...
 
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. More...
 
void get_write_value (Tango::DevLong &val)
 Retrieve the new value for writable attribute when attribute data type is Tango::DevLong. More...
 
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. More...
 
void get_write_value (Tango::DevLong64 &val)
 Retrieve the new value for writable attribute when attribute data type is Tango::DevLong64. More...
 
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. More...
 
void get_write_value (Tango::DevFloat &val)
 Retrieve the new value for writable attribute when attribute data type is Tango::DevFloat. More...
 
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. More...
 
void get_write_value (Tango::DevDouble &val)
 Retrieve the new value for writable attribute when attribute data type is Tango::DevDouble. More...
 
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. More...
 
void get_write_value (Tango::DevString &val)
 Retrieve the new value for writable attribute when attribute data type is Tango::DevString. More...
 
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. More...
 
void get_write_value (Tango::DevBoolean &val)
 Retrieve the new value for writable attribute when attribute data type is Tango::DevBoolean. More...
 
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. More...
 
void get_write_value (Tango::DevUShort &val)
 Retrieve the new value for writable attribute when attribute data type is Tango::DevUShort. More...
 
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. More...
 
void get_write_value (Tango::DevUChar &val)
 Retrieve the new value for writable attribute when attribute data type is Tango::DevUChar. More...
 
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. More...
 
void get_write_value (Tango::DevULong &val)
 Retrieve the new value for writable attribute when attribute data type is Tango::DevULong. More...
 
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. More...
 
void get_write_value (Tango::DevULong64 &val)
 Retrieve the new value for writable attribute when attribute data type is Tango::DevULong64. More...
 
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. More...
 
void get_write_value (Tango::DevState &val)
 Retrieve the new value for writable attribute when attribute data type is Tango::DevState. More...
 
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. More...
 
void get_write_value (Tango::DevEncoded &val)
 Retrieve the new value for writable attribute when attribute data type is Tango::DevEncoded. More...
 
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. More...
 
- Public Member Functions inherited from Tango::Attribute
 Attribute (vector< AttrProperty > &prop_list, Attr &tmp_attr, string &dev_name, long idx)
 Create a new Attribute object. More...
 
virtual ~Attribute ()
 The attribute destructor.
 
bool is_writ_associated ()
 Check if the attribute has an associated writable attribute. More...
 
bool is_min_alarm ()
 Check if the attribute is in minimum alarm condition . More...
 
bool is_max_alarm ()
 Check if the attribute is in maximum alarm condition . More...
 
bool is_min_warning ()
 Check if the attribute is in minimum warning condition . More...
 
bool is_max_warning ()
 Check if the attribute is in maximum warning condition . More...
 
bool is_rds_alarm ()
 Check if the attribute is in RDS alarm condition . More...
 
bitset< numFlags > & is_alarmed ()
 Check if the attribute has an alarm defined. More...
 
bool is_polled ()
 Check if the attribute is polled . More...
 
bool check_alarm ()
 Check if the attribute read value is below/above the alarm level. More...
 
Tango::AttrWriteType get_writable ()
 Get the attribute writable type (RO/WO/RW). More...
 
string & get_name ()
 Get attribute name. More...
 
long get_data_type ()
 Get attribute data type. More...
 
Tango::AttrDataFormat get_data_format ()
 Get attribute data format. More...
 
string & get_assoc_name ()
 Get name of the associated writable attribute. More...
 
long get_assoc_ind ()
 Get index of the associated writable attribute. More...
 
void set_assoc_ind (long val)
 Set index of the associated writable attribute. More...
 
Tango::TimeVal & get_date ()
 Get attribute date. More...
 
void set_date (Tango::TimeVal &new_date)
 Set attribute date. More...
 
void set_date (struct timeval &t)
 Set attribute date. More...
 
void set_date (time_t new_date)
 Set attribute date. More...
 
string & get_label ()
 Get attribute label property. More...
 
Tango::AttrQuality & get_quality ()
 Get attribute data quality. More...
 
void set_quality (Tango::AttrQuality qua, bool send_event=false)
 Set attribute data quality. More...
 
long get_data_size ()
 Get attribute data size. More...
 
long get_x ()
 Get attribute data size in x dimension. More...
 
long get_max_dim_x ()
 Get attribute maximum data size in x dimension. More...
 
long get_y ()
 Get attribute data size in y dimension. More...
 
long get_max_dim_y ()
 Get attribute maximum data size in y dimension. More...
 
long get_polling_period ()
 Get attribute polling period. More...
 
template<typename T >
void get_properties (Tango::MultiAttrProp< T > &props)
 Get all modifiable attribute properties in one call. More...
 
template<typename T >
void set_properties (Tango::MultiAttrProp< T > &props)
 Set all modifiable attribute properties in one call. More...
 
void set_attr_serial_model (AttrSerialModel ser_model)
 Set attribute serialization model. More...
 
AttrSerialModel get_attr_serial_model ()
 Get attribute serialization model. More...
 
void set_user_attr_mutex (omni_mutex *mut_ptr)
 Set attribute user mutex. More...
 
void set_value (Tango::DevShort *p_data, long x=1, long y=0, bool release=false)
 Set internal attribute value (for Tango::DevShort attribute data type). More...
 
void set_value (Tango::DevLong *p_data, long x=1, long y=0, bool release=false)
 Set internal attribute value (for Tango::DevLong attribute data type). More...
 
void set_value (Tango::DevLong64 *p_data, long x=1, long y=0, bool release=false)
 Set internal attribute value (for Tango::DevLong64 attribute data type). More...
 
void set_value (Tango::DevFloat *p_data, long x=1, long y=0, bool release=false)
 Set internal attribute value (for Tango::DevFloat attribute data type). More...
 
void set_value (Tango::DevDouble *p_data, long x=1, long y=0, bool release=false)
 Set internal attribute value (for Tango::DevDouble attribute data type). More...
 
void set_value (Tango::DevString *p_data, long x=1, long y=0, bool release=false)
 Set internal attribute value (for Tango::DevString attribute data type). More...
 
void set_value (Tango::DevBoolean *p_data, long x=1, long y=0, bool release=false)
 Set internal attribute value (for Tango::DevBoolean attribute data type). More...
 
void set_value (Tango::DevUShort *p_data, long x=1, long y=0, bool release=false)
 Set internal attribute value (for Tango::DevUShort attribute data type). More...
 
void set_value (Tango::DevUChar *p_data, long x=1, long y=0, bool release=false)
 Set internal attribute value (for Tango::DevUChar attribute data type). More...
 
void set_value (Tango::DevULong *p_data, long x=1, long y=0, bool release=false)
 Set internal attribute value (for Tango::DevULong attribute data type). More...
 
void set_value (Tango::DevULong64 *p_data, long x=1, long y=0, bool release=false)
 Set internal attribute value (for Tango::DevULong64 attribute data type). More...
 
void set_value (Tango::DevState *p_data, long x=1, long y=0, bool release=false)
 Set internal attribute value (for Tango::DevState attribute data type). More...
 
void set_value (Tango::DevEncoded *p_data, long x=1, long y=0, bool release=false)
 Set internal attribute value (for Tango::DevEncoded attribute data type). More...
 
void set_value (Tango::DevString *p_data_str, Tango::DevUChar *p_data, long size, bool release=false)
 Set internal attribute value (for Tango::DevEncoded attribute data type). More...
 
void set_value (Tango::EncodedAttribute *attr)
 Set internal attribute value (for Tango::DevEncoded attribute data type). More...
 
void set_value_date_quality (Tango::DevShort *p_data, time_t t, Tango::AttrQuality qual, long x=1, long y=0, bool release=false)
 Set internal attribute value, date and quality factor (for Tango::DevShort attribute data type). More...
 
void set_value_date_quality (Tango::DevShort *p_data, struct timeval &t, Tango::AttrQuality qual, long x=1, long y=0, bool release=false)
 Set internal attribute value, date and quality factor (for Tango::DevShort attribute data type). More...
 
void set_value_date_quality (Tango::DevLong *p_data, time_t t, Tango::AttrQuality qual, long x=1, long y=0, bool release=false)
 Set internal attribute value, date and quality factor (for Tango::DevLong attribute data type). More...
 
void set_value_date_quality (Tango::DevLong *p_data, struct timeval &t, Tango::AttrQuality qual, long x=1, long y=0, bool release=false)
 Set internal attribute value, date and quality factor (for Tango::DevLong attribute data type). More...
 
void set_value_date_quality (Tango::DevLong64 *p_data, time_t t, Tango::AttrQuality qual, long x=1, long y=0, bool release=false)
 Set internal attribute value, date and quality factor (for Tango::DevLong64 attribute data type). More...
 
void set_value_date_quality (Tango::DevLong64 *p_data, struct timeval &t, Tango::AttrQuality qual, long x=1, long y=0, bool release=false)
 Set internal attribute value, date and quality factor (for Tango::DevLong64 attribute data type). More...
 
void set_value_date_quality (Tango::DevFloat *p_data, time_t t, Tango::AttrQuality qual, long x=1, long y=0, bool release=false)
 Set internal attribute value, date and quality factor (for Tango::DevFloat attribute data type). More...
 
void set_value_date_quality (Tango::DevFloat *p_data, struct timeval &t, Tango::AttrQuality qual, long x=1, long y=0, bool release=false)
 Set internal attribute value, date and quality factor (for Tango::DevFloat attribute data type). More...
 
void set_value_date_quality (Tango::DevDouble *p_data, time_t t, Tango::AttrQuality qual, long x=1, long y=0, bool release=false)
 Set internal attribute value, date and quality factor (for Tango::DevDouble attribute data type). More...
 
void set_value_date_quality (Tango::DevDouble *p_data, struct timeval &t, Tango::AttrQuality qual, long x=1, long y=0, bool release=false)
 Set internal attribute value, date and quality factor (for Tango::DevDouble attribute data type). More...
 
void set_value_date_quality (Tango::DevString *p_data, time_t t, Tango::AttrQuality qual, long x=1, long y=0, bool release=false)
 Set internal attribute value, date and quality factor (for Tango::DevString attribute data type). More...
 
void set_value_date_quality (Tango::DevString *p_data, struct timeval &t, Tango::AttrQuality qual, long x=1, long y=0, bool release=false)
 Set internal attribute value, date and quality factor (for Tango::DevString attribute data type). More...
 
void set_value_date_quality (Tango::DevBoolean *p_data, time_t t, Tango::AttrQuality qual, long x=1, long y=0, bool release=false)
 Set internal attribute value, date and quality factor (for Tango::DevBoolean attribute data type). More...
 
void set_value_date_quality (Tango::DevBoolean *p_data, struct timeval &t, Tango::AttrQuality qual, long x=1, long y=0, bool release=false)
 Set internal attribute value, date and quality factor (for Tango::DevBoolean attribute data type). More...
 
void set_value_date_quality (Tango::DevUShort *p_data, time_t t, Tango::AttrQuality qual, long x=1, long y=0, bool release=false)
 Set internal attribute value, date and quality factor (for Tango::DevUShort attribute data type). More...
 
void set_value_date_quality (Tango::DevUShort *p_data, struct timeval &t, Tango::AttrQuality qual, long x=1, long y=0, bool release=false)
 Set internal attribute value, date and quality factor (for Tango::DevUShort attribute data type). More...
 
void set_value_date_quality (Tango::DevUChar *p_data, time_t t, Tango::AttrQuality qual, long x=1, long y=0, bool release=false)
 Set internal attribute value, date and quality factor (for Tango::DevUChar attribute data type). More...
 
void set_value_date_quality (Tango::DevUChar *p_data, struct timeval &t, Tango::AttrQuality qual, long x=1, long y=0, bool release=false)
 Set internal attribute value, date and quality factor (for Tango::DevUChar attribute data type). More...
 
void set_value_date_quality (Tango::DevULong *p_data, time_t t, Tango::AttrQuality qual, long x=1, long y=0, bool release=false)
 Set internal attribute value, date and quality factor (for Tango::DevULong attribute data type). More...
 
void set_value_date_quality (Tango::DevULong *p_data, struct timeval &t, Tango::AttrQuality qual, long x=1, long y=0, bool release=false)
 Set internal attribute value, date and quality factor (for Tango::DevULong attribute data type). More...
 
void set_value_date_quality (Tango::DevULong64 *p_data, time_t t, Tango::AttrQuality qual, long x=1, long y=0, bool release=false)
 Set internal attribute value, date and quality factor (for Tango::DevULong64 attribute data type). More...
 
void set_value_date_quality (Tango::DevULong64 *p_data, struct timeval &t, Tango::AttrQuality qual, long x=1, long y=0, bool release=false)
 Set internal attribute value, date and quality factor (for Tango::DevULong64 attribute data type). More...
 
void set_value_date_quality (Tango::DevState *p_data, time_t t, Tango::AttrQuality qual, long x=1, long y=0, bool release=false)
 Set internal attribute value, date and quality factor (for Tango::DevState attribute data type). More...
 
void set_value_date_quality (Tango::DevState *p_data, struct timeval &t, Tango::AttrQuality qual, long x=1, long y=0, bool release=false)
 Set internal attribute value, date and quality factor (for Tango::DevState attribute data type). More...
 
void set_value_date_quality (Tango::DevEncoded *p_data, time_t t, Tango::AttrQuality qual, long x=1, long y=0, bool release=false)
 Set internal attribute value, date and quality factor (for Tango::DevEncoded attribute data type). More...
 
void set_value_date_quality (Tango::DevString *p_data_str, Tango::DevUChar *p_data, long size, time_t t, Tango::AttrQuality qual, bool release=false)
 Set internal attribute value, date and quality factor (for Tango::DevEncoded attribute data type when splitted in format and data). More...
 
void set_value_date_quality (Tango::DevEncoded *p_data, struct timeval &t, Tango::AttrQuality qual, long x=1, long y=0, bool release=false)
 Set internal attribute value, date and quality factor (for Tango::DevEncoded attribute data type). More...
 
void set_value_date_quality (Tango::DevString *p_data_str, Tango::DevUChar *p_data, long size, struct timeval &t, Tango::AttrQuality qual, bool release=false)
 Set internal attribute value, date and quality factor (for Tango::DevEncoded attribute data type when splitted in data format and data themselves). More...
 
void fire_change_event (DevFailed *except=NULL)
 Fire a change event for the attribute value. More...
 
void set_change_event (bool implemented, bool detect=true)
 Set a flag to indicate that the server fires change events manually, without the polling to be started for the attribute. More...
 
bool is_change_event ()
 Check if the change event is fired manually (without polling) for this attribute. More...
 
bool is_check_change_criteria ()
 Check if the change event criteria should be checked when firing the event manually. More...
 
void fire_archive_event (DevFailed *except=NULL)
 Fire an archive event for the attribute value. More...
 
void set_archive_event (bool implemented, bool detect=true)
 Set a flag to indicate that the server fires archive events manually, without the polling to be started for the attribute If the detect parameter is set to true, the criteria specified for the archive event are verified and the event is only pushed if they are fulfilled. More...
 
bool is_archive_event ()
 Check if the archive event is fired manually for this attribute. More...
 
bool is_check_archive_criteria ()
 Check if the archive event criteria should be checked when firing the event manually. More...
 
void set_data_ready_event (bool implemented)
 Set a flag to indicate that the server fires data ready events. More...
 
bool is_data_ready_event ()
 Check if the data ready event is fired for this attribute. More...
 
void fire_event (vector< string > &filt_names, vector< double > &filt_vals, DevFailed *except=NULL)
 Fire a user event for the attribute value. More...
 
void remove_configuration ()
 Remove the attribute configuration from the database. More...
 
template<typename T >
void set_min_alarm (const T &new_min_alarm)
 Set attribute minimum alarm. More...
 
void set_min_alarm (char *new_min_alarm)
 Set attribute minimum alarm. More...
 
void set_min_alarm (const char *new_min_alarm)
 Set attribute minimum alarm. More...
 
template<typename T >
void get_min_alarm (T &min_al)
 Get attribute minimum alarm or throw an exception if the attribute does not have the minimum alarm. More...
 
template<typename T >
void set_max_alarm (const T &new_max_alarm)
 Set attribute maximum alarm. More...
 
void set_max_alarm (char *new_max_alarm)
 Set attribute maximum alarm. More...
 
void set_max_alarm (const char *new_max_alarm)
 Set attribute maximum alarm. More...
 
template<typename T >
void get_max_alarm (T &max_al)
 Get attribute maximum alarm or throw an exception if the attribute does not have the maximum alarm set. More...
 
template<typename T >
void set_min_warning (const T &new_min_warning)
 Set attribute minimum warning. More...
 
void set_min_warning (char *new_min_warning)
 Set attribute minimum warning. More...
 
void set_min_warning (const char *new_min_warning)
 Set attribute minimum warning. More...
 
template<typename T >
void get_min_warning (T &min_war)
 Get attribute minimum warning or throw an exception if the attribute does not have the minimum warning set. More...
 
template<typename T >
void set_max_warning (const T &new_max_warning)
 Set attribute maximum warning. More...
 
void set_max_warning (char *new_max_warning)
 Set attribute maximum warning. More...
 
void set_max_warning (const char *new_max_warning)
 Set attribute maximum warning. More...
 
template<typename T >
void get_max_warning (T &max_war)
 Get attribute maximum warning or throw an exception if the attribute does not have the maximum warning set. More...
 

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. More...
 
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. More...
 
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. More...
 
void set_write_value (Tango::DevLong val)
 Set the writable scalar attribute value when the attribute data type is Tango::DevLong. More...
 
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. More...
 
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. More...
 
void set_write_value (Tango::DevLong64 val)
 Set the writable scalar attribute value when the attribute data type is Tango::DevLong64. More...
 
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. More...
 
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. More...
 
void set_write_value (Tango::DevDouble val)
 Set the writable scalar attribute value when the attribute data type is Tango::DevDouble. More...
 
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. More...
 
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. More...
 
void set_write_value (Tango::DevString val)
 Set the writable scalar attribute value when the attribute data type is Tango::DevString. More...
 
void set_write_value (string &val)
 Set the writable scalar attribute value when the attribute data type is Tango::DevString. More...
 
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. More...
 
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. More...
 
void set_write_value (Tango::DevFloat val)
 Set the writable scalar attribute value when the attribute data type is Tango::DevFloat. More...
 
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. More...
 
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. More...
 
void set_write_value (Tango::DevBoolean val)
 Set the writable scalar attribute value when the attribute data type is Tango::DevBoolean. More...
 
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. More...
 
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. More...
 
void set_write_value (Tango::DevUShort val)
 Set the writable scalar attribute value when the attribute data type is Tango::DevUShort. More...
 
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. More...
 
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. More...
 
void set_write_value (Tango::DevUChar val)
 Set the writable scalar attribute value when the attribute data type is Tango::DevUChar. More...
 
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. More...
 
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. More...
 
void set_write_value (Tango::DevULong val)
 Set the writable scalar attribute value when the attribute data type is Tango::DevULong. More...
 
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. More...
 
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. More...
 
void set_write_value (Tango::DevULong64 val)
 Set the writable scalar attribute value when the attribute data type is Tango::DevULong64. More...
 
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. More...
 
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. More...
 
void set_write_value (Tango::DevState val)
 Set the writable scalar attribute value when the attribute data type is Tango::DevState. More...
 
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. More...
 
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. More...
 

Additional Inherited Members

- Protected Attributes inherited from Tango::Attribute
bool value_flag
 A flag set to true if the attribute value has been updated.
 
Tango::TimeVal when
 The date when attribute was read.
 
bool date
 Flag set to true if the date must be set.
 
Tango::AttrQuality quality
 The attribute quality factor.
 
string name
 The attribute name.
 
Tango::AttrWriteType writable
 The attribute writable flag.
 
long data_type
 The attribute data type. More...
 
Tango::AttrDataFormat data_format
 The attribute data format. More...
 
long max_x
 The attribute maximum x dimension. More...
 
long max_y
 The attribute maximum y dimension. More...
 
string label
 The attribute label.
 
string description
 The attribute description.
 
string unit
 The attribute unit.
 
string standard_unit
 The attribute standard unit.
 
string display_unit
 The attribute display unit.
 
string format
 The attribute format. More...
 
string writable_attr_name
 The name of the associated writable attribute.
 
string min_alarm_str
 The attribute minimum alarm level.
 
string max_alarm_str
 The attribute maximun alarm level.
 
string min_value_str
 The attribute minimum value.
 
string max_value_str
 The attribute maximum value.
 
string min_warning_str
 The attribute minimun warning.
 
string max_warning_str
 The attribute maximum warning.
 
string delta_val_str
 The attribute delta value RDS alarm.
 
string delta_t_str
 The attribute delta time RDS alarm.
 
long assoc_ind
 Index in the main attribute vector of the associated writable attribute (if any)
 
Tango::Attr_CheckVal min_alarm
 The attribute minimum alarm in binary format.
 
Tango::Attr_CheckVal max_alarm
 The attribute maximum alarm in binary format.
 
Tango::Attr_CheckVal min_warning
 The attribute minimum warning in binary format.
 
Tango::Attr_CheckVal max_warning
 The attribute maximum warning in binary format.
 
Tango::Attr_CheckVal min_value
 The attribute minimum value in binary format.
 
Tango::Attr_CheckVal max_value
 The attribute maximum value in binary format.
 
Tango::Attr_Value value
 The attribute value.
 
long data_size
 The attribute data size.
 
bool check_min_value
 Flag set to true if a minimum value is defined.
 
bool check_max_value
 Flag set to true if a maximum alarm is defined.
 
Tango::Attr_CheckVal delta_val
 Authorized delta between the last written value and the actual read. More...
 
long delta_t
 Delta time after which the read value must be checked again the last written value if the attribute has an alarm on Read Different Than Set (RDS)
 
vector< string > enum_labels
 Enumeration labels when the attribute data type is DevEnum.
 

Detailed Description

This class represents a writable attribute.

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

$Author$ $Revision$

Constructor & Destructor Documentation

◆ WAttribute()

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

Create a new Writable Attribute object.

Parameters
prop_listThe attribute properties list. Each property is an object of the AttrProperty class
tmp_attrThe temporary attribute object built from user parameters
dev_nameThe device name
idxThe index of the related Attr object in the MultiClassAttribute vector of Attr object

Member Function Documentation

◆ get_max_value()

template<typename T >
void Tango::WAttribute::get_max_value ( T &  max_value)

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

Parameters
max_valueReference to a variable which value will be set to the attribute's maximum value

◆ get_min_value()

template<typename T >
void Tango::WAttribute::get_min_value ( T &  min_value)

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

Parameters
min_valueReference to a variable which value will be set to the attribute's minimum value

◆ get_write_date()

struct timeval& Tango::WAttribute::get_write_date ( )
inline

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

◆ get_write_value() [1/26]

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
ptrReference 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.

◆ get_write_value() [2/26]

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
ptrReference 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.

◆ get_write_value() [3/26]

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
ptrReference 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.

◆ get_write_value() [4/26]

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
ptrReference 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.

◆ get_write_value() [5/26]

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
ptrReference 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.

◆ get_write_value() [6/26]

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
ptrReference 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.

◆ get_write_value() [7/26]

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
ptrReference 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.

◆ get_write_value() [8/26]

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
ptrReference 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.

◆ get_write_value() [9/26]

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
ptrReference 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.

◆ get_write_value() [10/26]

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
ptrReference 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.

◆ get_write_value() [11/26]

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
ptrReference 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.

◆ get_write_value() [12/26]

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
ptrReference 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.

◆ get_write_value() [13/26]

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
ptrReference 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.

◆ get_write_value() [14/26]

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
valA reference to a Tango::DevBoolean data which will be initialised with the new value

◆ get_write_value() [15/26]

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
valA reference to a Tango::DevDouble data which will be initialised with the new value

◆ get_write_value() [16/26]

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
valA reference to a Tango::DevEncoded data which will be initialised with the new value

◆ get_write_value() [17/26]

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
valA reference to a Tango::DevFloat data which will be initialised with the new value

◆ get_write_value() [18/26]

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
valA reference to a Tango::DevLong data which will be initialised with the new value

◆ get_write_value() [19/26]

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
valA reference to a Tango::DevLong64 data which will be initialised with the new value

◆ get_write_value() [20/26]

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
valA reference to a Tango::DevShort data which will be initialised with the new value

◆ get_write_value() [21/26]

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
valA reference to a Tango::DevState data which will be initialised with the new value

◆ get_write_value() [22/26]

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
valA reference to a Tango::DevString data which will be initialised with the new value

◆ get_write_value() [23/26]

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
valA reference to a Tango::DevUChar data which will be initialised with the new value

◆ get_write_value() [24/26]

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
valA reference to a Tango::DevULong data which will be initialised with the new value

◆ get_write_value() [25/26]

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
valA reference to a Tango::DevULong64 data which will be initialised with the new value

◆ get_write_value() [26/26]

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
valA reference to a Tango::DevUShort data which will be initialised with the new value

◆ get_write_value_length()

long Tango::WAttribute::get_write_value_length ( )

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

Returns
The new value data length

◆ is_max_value()

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

References Tango::Attribute::check_max_value.

◆ is_min_value()

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

References Tango::Attribute::check_min_value.

◆ set_max_value() [1/3]

void Tango::WAttribute::set_max_value ( char *  max_value)

Set attribute maximum value.

Parameters
max_valueThe new max value

◆ set_max_value() [2/3]

void Tango::WAttribute::set_max_value ( const char *  max_value)

Set attribute maximum value.

Parameters
max_valueThe new max value

◆ set_max_value() [3/3]

template<typename T >
void Tango::WAttribute::set_max_value ( const T &  max_value)

Set attribute maximum value.

Parameters
max_valueReference to a variable which represents the new max value

◆ set_min_value() [1/3]

void Tango::WAttribute::set_min_value ( char *  min_value)

Set attribute minimum value.

Parameters
min_valueThe new min value

◆ set_min_value() [2/3]

void Tango::WAttribute::set_min_value ( const char *  min_value)

Set attribute minimum value.

Parameters
min_valueThe new min value

◆ set_min_value() [3/3]

template<typename T >
void Tango::WAttribute::set_min_value ( const T &  min_value)

Set attribute minimum value.

Parameters
min_valueReference to a variable which represents the new min value

◆ set_write_value() [1/37]

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

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

Parameters
valA reference to a std::string

◆ set_write_value() [2/37]

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
valA reference to the attribute set value
xThe attribute set value x length. Default value is 1
yThe attribute set value y length. Default value is 0

◆ set_write_value() [3/37]

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

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

Parameters
valA reference to a Tango::DevBoolean

◆ set_write_value() [4/37]

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
valA reference to the attribute set value
xThe attribute set value x length. Default value is 1
yThe attribute set value y length. Default value is 0

◆ set_write_value() [5/37]

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

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

Parameters
valA reference to a Tango::DevDouble

◆ set_write_value() [6/37]

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
valA reference to the attribute set value
xThe attribute set value x length. Default value is 1
yThe attribute set value y length. Default value is 0

◆ set_write_value() [7/37]

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

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

Parameters
valA reference to a Tango::DevFloat

◆ set_write_value() [8/37]

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
valA reference to the attribute set value
xThe attribute set value x length. Default value is 1
yThe attribute set value y length. Default value is 0

◆ set_write_value() [9/37]

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

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

Parameters
valA reference to a Tango::DevLong data

◆ set_write_value() [10/37]

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
valA reference to the attribute set value
xThe attribute set value x length. Default value is 1
yThe attribute set value y length. Default value is 0

◆ set_write_value() [11/37]

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

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

Parameters
valA reference to a Tango::DevLong64 data

◆ set_write_value() [12/37]

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
valA reference to the attribute set value
xThe attribute set value x length. Default value is 1
yThe attribute set value y length. Default value is 0

◆ set_write_value() [13/37]

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

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

Parameters
valA reference to a Tango::DevShort data

◆ set_write_value() [14/37]

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
valA reference to the attribute set value
xThe attribute set value x length. Default value is 1
yThe attribute set value y length. Default value is 0

◆ set_write_value() [15/37]

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

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

Parameters
valA reference to a Tango::DevState data

◆ set_write_value() [16/37]

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
valA reference to the attribute set value
xThe attribute set value x length. Default value is 1
yThe attribute set value y length. Default value is 0

◆ set_write_value() [17/37]

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

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

Parameters
valA reference to a Tango::DevString

◆ set_write_value() [18/37]

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
valA reference to the attribute set value
xThe attribute set value x length. Default value is 1
yThe attribute set value y length. Default value is 0

◆ set_write_value() [19/37]

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

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

Parameters
valA reference to a Tango::DevUChar

◆ set_write_value() [20/37]

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
valA reference to the attribute set value
xThe attribute set value x length. Default value is 1
yThe attribute set value y length. Default value is 0

◆ set_write_value() [21/37]

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

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

Parameters
valA reference to a Tango::DevULong data

◆ set_write_value() [22/37]

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
valA reference to the attribute set value
xThe attribute set value x length. Default value is 1
yThe attribute set value y length. Default value is 0

◆ set_write_value() [23/37]

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

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

Parameters
valA reference to a Tango::DevULong64 data

◆ set_write_value() [24/37]

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
valA reference to the attribute set value
xThe attribute set value x length. Default value is 1
yThe attribute set value y length. Default value is 0

◆ set_write_value() [25/37]

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

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

Parameters
valA reference to a Tango::DevUShort

◆ set_write_value() [26/37]

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
valA vector of string containing the attribute set value
xThe attribute set value x length. Default value is 1
yThe attribute set value y length. Default value is 0

◆ set_write_value() [27/37]

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
valA vector containing the attribute set value
xThe attribute set value x length. Default value is 1
yThe attribute set value y length. Default value is 0

◆ set_write_value() [28/37]

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
valA vector containing the attribute set value
xThe attribute set value x length. Default value is 1
yThe attribute set value y length. Default value is 0

◆ set_write_value() [29/37]

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
valA vector containing the attribute set value
xThe attribute set value x length. Default value is 1
yThe attribute set value y length. Default value is 0

◆ set_write_value() [30/37]

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
valA vector containing the attribute set value
xThe attribute set value x length. Default value is 1
yThe attribute set value y length. Default value is 0

◆ set_write_value() [31/37]

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
valA vector containing the attribute set value
xThe attribute set value x length. Default value is 1
yThe attribute set value y length. Default value is 0

◆ set_write_value() [32/37]

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
valA vector containing the attribute set value
xThe attribute set value x length. Default value is 1
yThe attribute set value y length. Default value is 0

◆ set_write_value() [33/37]

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
valA vector containing the attribute set value
xThe attribute set value x length. Default value is 1
yThe attribute set value y length. Default value is 0

◆ set_write_value() [34/37]

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
valA vector containing the attribute set value
xThe attribute set value x length. Default value is 1
yThe attribute set value y length. Default value is 0

◆ set_write_value() [35/37]

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
valA vector containing the attribute set value
xThe attribute set value x length. Default value is 1
yThe attribute set value y length. Default value is 0

◆ set_write_value() [36/37]

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
valA vector containing the attribute set value
xThe attribute set value x length. Default value is 1
yThe attribute set value y length. Default value is 0

◆ set_write_value() [37/37]

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
valA vector containing the attribute set value
xThe attribute set value x length. Default value is 1
yThe attribute set value y length. Default value is 0

The documentation for this class was generated from the following file: