class WAttribute : public Attribute

This class represents a writable attribute

Inheritance:


Public

Constructors
WAttribute(vector &prop_list, Attr &tmp_attr, string &dev_name)
Create a new Writable Attribute object
Destructor
~WAttribute()
The WAttribute desctructor
Get new value for attribute
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(Tango::DevLong &val)
Retrieve the new value for writable attribute when attribute data type is Tango::DevLong
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(Tango::DevString &val)
Retrieve the new value for writable attribute when attribute data type is Tango::DevString

Documentation

This class represents a writable attribute. It inherits from the Attribute class and only add what is specific to writable attribute.
Constructors
Miscellaneous constructors

WAttribute(vector &prop_list, Attr &tmp_attr, string &dev_name)
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

Destructor
Only one desctructor is defined for this class

~WAttribute()
The WAttribute desctructor

Get new value for attribute
Miscellaneous method to retieve from the WAttribute object the new value for the attribute.

void get_write_value(Tango::DevShort &val)
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

void get_write_value(Tango::DevLong &val)
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 get_write_value(Tango::DevDouble &val)
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 get_write_value(Tango::DevString &val)
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


This class has no child classes.
Author:
$Author: taurel $
Version:
$Revision: 1.3 $

alphabetic index hierarchy of classes


generated by doc++