Tango Core Classes Reference
9.3.3
|
User class to create a one dimension attribute object. More...
#include "tango.h"
Public Member Functions | |
Constructors | |
Two constructors are defined for this class | |
SpectrumAttr (const char *name, long data_type, long max_x) | |
Constructs a newly allocated SpectrumAttr object. More... | |
SpectrumAttr (const char *name, long data_type, Tango::AttrWriteType w_type, long max_x) | |
Constructs a newly allocated SpectrumAttr object. More... | |
SpectrumAttr (const char *name, long data_type, long max_x, DispLevel level) | |
Constructs a newly allocated SpectrumAttr object. More... | |
SpectrumAttr (const char *name, long data_type, Tango::AttrWriteType w_type, long max_x, DispLevel level) | |
Constructs a newly allocated SpectrumAttr object. More... | |
SpectrumAttr (const char *name) | |
Constructs a newly allocated SpectrumAttr object. More... | |
Destructor | |
Only one destructor is defined for this class | |
~SpectrumAttr () | |
The object destructor. | |
Public Member Functions inherited from Tango::Attr | |
Attr (const char *name, long data_type, Tango::AttrWriteType w_type=Tango::READ, const char *assoc=AssocWritNotSpec) | |
Constructs a newly allocated Attr object. More... | |
Attr (const char *name, long data_type, Tango::DispLevel disp, Tango::AttrWriteType w_type=Tango::READ, const char *assoc=AssocWritNotSpec) | |
Constructs a newly allocated Attr object. More... | |
Attr (const char *name, Tango::DispLevel disp=Tango::OPERATOR) | |
Constructs a newly allocated Attr object. More... | |
virtual | ~Attr () |
The object destructor. | |
void | set_default_properties (UserDefaultAttrProp &prop) |
Set default attribute properties. More... | |
void | set_disp_level (Tango::DispLevel level) |
Set the attribute display level. More... | |
void | set_polling_period (long update) |
Set the attribute polling update period. More... | |
void | set_memorized () |
Set the attribute as memorized in database (only for scalar and writable attribute) By default the setpoint will be written to the attribute during initialisation! Use method set_memorized_init() with false as argument if you don't want this feature. | |
void | set_memorized_init (bool write_on_init) |
Set the initialisation flag for memorized attributes true = the setpoint value will be written to the attribute on initialisation false = only the attribute setpoint is initialised. More... | |
void | set_change_event (bool implemented, bool detect) |
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 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 | set_archive_event (bool implemented, bool detect) |
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... | |
User class to create a one dimension attribute object.
Information from this class and information fetched out from the Tango database allows the Tango core software to create the Attribute object for the attribute created by the user.
$Author$ $Revision$
Tango::SpectrumAttr::SpectrumAttr | ( | const char * | name, |
long | data_type, | ||
long | max_x | ||
) |
Constructs a newly allocated SpectrumAttr object.
The attribute display level is set to OPERATOR. The attribute write type is set to READ
name | The attribute name |
data_type | The attribute data type |
max_x | The attribute maximum x dimension |
Tango::SpectrumAttr::SpectrumAttr | ( | const char * | name, |
long | data_type, | ||
Tango::AttrWriteType | w_type, | ||
long | max_x | ||
) |
Constructs a newly allocated SpectrumAttr object.
The attribute display level is set to OPERATOR.
name | The attribute name |
data_type | The attribute data type |
w_type | The attribute write type (READ, WRITE, READ_WRITE) |
max_x | The attribute maximum x dimension |
Tango::SpectrumAttr::SpectrumAttr | ( | const char * | name, |
long | data_type, | ||
long | max_x, | ||
DispLevel | level | ||
) |
Constructs a newly allocated SpectrumAttr object.
The attribute write type is set to READ
name | The attribute name |
data_type | The attribute data type |
max_x | The attribute maximum x dimension |
level | The attribute display type |
Tango::SpectrumAttr::SpectrumAttr | ( | const char * | name, |
long | data_type, | ||
Tango::AttrWriteType | w_type, | ||
long | max_x, | ||
DispLevel | level | ||
) |
Constructs a newly allocated SpectrumAttr object.
name | The attribute name |
data_type | The attribute data type |
w_type | The attribute write type (READ, WRITE, READ_WRITE) |
max_x | The attribute maximum x dimension |
level | The attribute display type |
|
inline |
Constructs a newly allocated SpectrumAttr object.
name | The attribute name |