Tango Core Classes Reference  9.3.3
Exception

Tango API exceptions

All the exception thrown by this API are Tango::DevFailed exception. This exception is a variable length array of Tango::DevError type. The Tango::DevError type is a four fields structure. These fields are :

  • A string describing the error type. This string replaces an error code and allows a more easy management of include files. This field is called reason
  • A string describing in plain text the reason of the error. This field is called desc
  • A string giving the name of the method which thrown the exception. This field is named origin
  • The error severity. This is an enumeration with three values which are WARN, ERR or PANIC. Its name is severity

This is a variable length array in order to transmit to the client what is the primary error reason. The sequence element 0 describes the primary error. An exception class hierarchy has been implemented within the API to ease API programmers task. All the exception classes inherits from the Tango::DevFailed class. Except for the NamedDevFailedList exception class, they don’t add any new fields to the exception, they just allow easy "catching". Exception classes thrown only by the API layer are :

  • ConnectionFailed
  • CommunicationFailed
  • WrongNameSyntax
  • NonDbDevice
  • WrongData
  • NonSupportedFeature
  • AsynCall
  • AsynReplyNotArrived
  • EventSystemFailed
  • NamedDevFailedList
  • DeviceUnlocked

On top of these classes, exception thrown by the device (Tango::DevFailed exception) are directly passed to the client.

The ConnectionFailed exception

This exception is thrown when a problem occurs during the connection establishment between the application and the device. The API is stateless. This means that DeviceProxy constructors filter most of the exception except for cases described in the following table.

Method name device type error type Level reason
DeviceProxy constructor with database TANGO_HOST not set 0 API_TangoHostNotSet
Device not defined in db or Alias not defined in db 0 DB_DeviceNotDefined
1 API_CommandFailed
2 API_DeviceNotDefined
with database specified in dev name database server not running 0 API_CorbaException
1 API_CantConnectToDatabase
without database Server running but device not defined in server 0 API_CorbaException
1

API_DeviceNotExported

AttributeProxy constructor with database TANGO_HOST not set 0 API_TangoHostNotSet
Device not defined in db 0 DB_DeviceNotDefined
1 API_CommandFailed
2 API_DeviceNotDefined
Alias not defined in db 0 DB_SQLError
1 API_CommandFailed
2 API_AliasNotDefined
with database specified in dev name database server not running 0 API_CorbaException
1

API_CantConnectToDatabase

DeviceProxy or AttributeProxy method call (except command_inout, read_attribute) without database Server not running 0 API_CorbaException
1 API_ServerNotRunning
with database Server ot running 0 API_DeviceNotExported
Dead server 0 API_CorbaException
1 API_CantConnectToDevice
Dead database server when reconnection needed 0 API_CorbaException
1

API_CantConnectToDatabase

DeviceProxy command_inout and read_attribute or AttributeProxy read and write without database Server not running 0 API_DeviceNotExported
1 API_ServerNotRunning
2 API_CommandFailed
with database Server not running 0 API_DeviceNotExported
1 API_CommandFailed
Dead server 0 API_CorbaException
1 API_CantConnectToDevice
2 API_CommandFailed or API_AttributeFailed
Dead database server when re-connection needed 0 API_DeviceNotExported
1 API_CantConnectToDatabase
2 API_CommandFailed

The desc DevError structure field allows a user to get more precise information. These informations are (according to the reason field) :

  • DB_DeviceNotDefined: The name of the device not defined in the database
  • API_CommandFailed: The device and command name
  • API_CantConnectToDevice: The device name
  • API_CorbaException: The name of the CORBA exception, its reason, its locality, its completed flag and its minor code
  • API_CantConnectToDatabase: The database server host and its port number
  • API_DeviceNotExported: The device name

The CommunicationFailed exception

This exception is thrown when a communication problem is detected during the communication between the client application and the device server. It is a two levels Tango::DevError structure. In case of time-out, the DevError structures fields are:

Level Reason Desc Severity
0 API_CorbaException CORBA exception fields translated into a string ERR
1 API_DeviceTimedOut String with time-out value and device name ERR

For all other communication errors, the DevError structures fields are:

Level Reason Desc Severity
0 API_CorbaException CORBA exception fields translated into a string ERR
1 API_CommunicationFailed String with device, method, command/attribute name ERR

The WrongNameSyntax exception

This exception has only one level of Tango::DevError structure. The possible value for the reason field are :

  • API_UnsupportedProtocol This error occurs when trying to build a DeviceProxy or an AttributeProxy instance for a device with an unsupported protocol. Refer to the appendix on device naming syntax to get the list of supported database modifier
  • API_UnsupportedDBaseModifier This error occurs when trying to build a DeviceProxy or an AttributeProxy instance for a device/attribute with a database modifier unsupported. Refer to the appendix on device naming syntax to get the list of supported database modifier
  • API_WrongDeviceNameSyntax This error occurs for all the other error in device name syntax. It is thrown by the DeviceProxy class constructor.
  • API_WrongAttributeNameSyntax This error occurs for all the other error in attribute name syntax. It is thrown by the AttributeProxy class constructor.
  • API_WrongWildcardUsage This error occurs if there is a bad usage of the wildcard character

The NonDbDevice exception

This exception has only one level of Tango::DevError structure. The reason field is set to API_NonDatabaseDevice. This exception is thrown by the API when using the DeviceProxy or AttributeProxy class database access for non-database device.

The WrongData exception

This exception has only one level of Tango::DevError structure. The possible value for the reason field are :

  • API_EmptyDbDatum This error occurs when trying to extract data from an empty DbDatum object
  • API_IncompatibleArgumentType This error occurs when trying to extract data with a type different than the type used to send the data
  • API_EmptyDeviceAttribute This error occurs when trying to extract data from an empty DeviceAttribute object
  • API_IncompatibleAttrArgumentType This error occurs when trying to extract attribute data with a type different than the type used to send the data
  • API_EmptyDeviceData This error occurs when trying to extract data from an empty DeviceData object
  • API_IncompatibleCmdArgumentType This error occurs when trying to extract command data with a type different than the type used to send the data

The NonSupportedFeature exception

This exception is thrown by the API layer when a request to a feature implemented in Tango device interface release n is requested for a device implementing Tango device interface n-x. There is one possible value for the reason field which is API_UnsupportedFeature.

The AsynCall exception

This exception is thrown by the API layer when a the asynchronous model id badly used. This exception has only one level of Tango::DevError structure. The possible value for the reason field are :

  • API_BadAsynPollId This error occurs when using an asynchronous request identifier which is not valid any more.
  • API_BadAsyn This error occurs when trying to fire callback when no callback has been previously registered
  • API_BadAsynReqType This error occurs when trying to get result of an asynchronous request with an asynchronous request identifier returned by a non-coherent asynchronous request (For instance, using the asynchronous request identifier returned by a command_inout_asynch() method with a read_attribute_reply() attribute).

The AsynReplyNotArrived exception

This exception is thrown by the API layer when:

  • a request to get asynchronous reply is made and the reply is not yet arrived
  • a blocking wait with timeout for asynchronous reply is made and the timeout expired.

There is one possible value for the reason field which is API_AsynReplyNotArrived.

The EventSystemFailed exception

This exception is thrown by the API layer when subscribing or unsubscribing from an event failed. This exception has only one level of Tango::DevError structure. The possible value for the reason field are :

  • API_NotificationServiceFailed This error occurs when the subscribe_event() method failed trying to access the CORBA notification service
  • API_EventNotFound This error occurs when you are using an incorrect event_id in the unsubscribe_event() method
  • API_InvalidArgs This error occurs when NULL pointers are passed to the subscribe or unsubscribe event methods
  • API_MethodArgument This error occurs when trying to subscribe to an event which has already been subscribed to
  • API_DSFailedRegisteringEvent This error means that the device server to which the device belongs to failed when it tries to register the event. Most likely, it means that there is no event property defined
  • API_EventNotFound Occurs when using a wrong event identifier in the unsubscribe_event method

The NamedDevFailedList exception

This exception is only thrown by the DeviceProxy::write_attributes() method. In this case, it is necessary to have a new class of exception to transfer the error stack for several attribute(s) which failed during the writing. Therefore, this exception class contains for each attributes which failed :

  • The name of the attribute
  • Its index in the vector passed as argument tof the write_attributes() method
  • The error stack

The following piece of code is an example of how to use this class exception

{
long nb_faulty = e.get_faulty_attr_nb();
for (long i = 0;i < nb_faulty;i++)
{
cout << "Attribute " << e.err_list[i].name << " failed!" << endl;
for (long j = 0;j < e.err_list[i].err_stack.length();j++)
{
cout << "Reason [" << j << "] = " << e.err_list[i].err_stack[j].reason;
cout << "Desc [" << j << "] = " << e.err_list[i].err_stack[j].desc;
}
}
}

This exception inherits from Tango::DevFailed. It is possible to catch it with a "catch DevFailed" catch block. In this case, like any other DevFailed exception, there is only one error stack. This stack is initialised with the name of all the attributes which failed in its "reason" field.

The DeviceUnlocked exception

This exception is thrown by the API layer when a device locked by the process has been unlocked by an admin client. This exception has two levels of Tango::DevError structure. There is only possible value for the reason field which is

  • API_DeviceUnlocked The device has been unlocked by another client (administration client)

The first level is the message reported by the Tango kernel from the server side. The second layer is added by the client API layer with information on which API call generates the exception and device name.

Tango::USER_EVENT
User event.
Definition: tango_const.h:1087
Tango::Attr::is_check_change_criteria
bool is_check_change_criteria()
Check if the change event criteria should be checked when firing the event manually.
Definition: attrdesc.h:495
Tango::WPipe::get_root_blob_name
string get_root_blob_name()
Get root blob name.
Definition: w_pipe.h:101
Tango::Device_5Impl::write_read_attributes_5
virtual Tango::AttributeValueList_5 * write_read_attributes_5(const Tango::AttributeValueList_4 &values, const Tango::DevVarStringArray &r_names, const Tango::ClntIdent &cl_ident)
Write then read attribute(s) value.
Tango::Attr::is_archive_event
bool is_archive_event()
Check if the archive event is fired manually for this attribute.
Definition: attrdesc.h:516
Tango::DeviceImpl::create_DevVarShortArray
Tango::DevVarShortArray * create_DevVarShortArray(short *ptr, long length)
Create a DevVarShortArray type.
Definition: device.h:729
Tango::NamedDevFailed
An exception class.
Definition: apiexcept.h:54
Tango::PipeEventData::event
string event
The event name.
Definition: event.h:458
Tango::AttributeInfoEx::sys_extensions
vector< string > sys_extensions
Future extensions.
Definition: devapi.h:340
Tango::Pipe::set_exceptions
void set_exceptions(DevicePipeBlob::except_flags fl)
Set one exception flag.
Definition: pipe.h:331
Tango::Pipe::set_user_pipe_mutex
void set_user_pipe_mutex(omni_mutex *mut_ptr)
Set pipe user mutex.
Definition: pipe.h:223
Tango::DeviceAttribute::exceptions
void exceptions(bitset< numFlags > fl)
Set exception flag.
Definition: devapi.h:951
Tango::Attribute::is_writ_associated
bool is_writ_associated()
Check if the attribute has an associated writable attribute.
Tango::Group::write_attribute
GroupReplyList write_attribute(const DeviceAttribute &d, bool fwd=true)
Writes an attribute on each device in the group.
Tango::DevCommandInfo
Base structure for command information.
Definition: devapi.h:98
Tango::Pipe::get_writable
Tango::PipeWriteType get_writable()
Get the pipe writable type (RO/RW).
Definition: pipe.h:194
Tango::DevIntrChangeEventData::event
string event
The event name.
Definition: event.h:371
Tango::UserDefaultAttrProp::set_max_warning
void set_max_warning(const char *def_max_warning)
Set default max_warning property.
Definition: attrdesc.h:194
Tango::Except::re_throw_exception
static TANGO_NORETURN void re_throw_exception(Tango::DevFailed &ex, const string &reason, char *desc, const string &origin, Tango::ErrSeverity sever=Tango::ERR)
Re-throw a TANGO DevFailed exception with one more error.
Definition: except.h:1471
Tango::AttributeInfoEx
Tango::AttributeInfoEx AttributeInfoEx
Extended attribute configuration data.
Tango::Except::throw_exception
static TANGO_NORETURN void throw_exception(const string &reason, const string &desc, char *origin, Tango::ErrSeverity sever=Tango::ERR)
Generate and throw a TANGO DevFailed exception.
Definition: except.h:651
Tango::Attribute::set_user_attr_mutex
void set_user_attr_mutex(omni_mutex *mut_ptr)
Set attribute user mutex.
Definition: attribute.h:482
Tango::Except::throw_exception
static TANGO_NORETURN void throw_exception(char *reason, const char *desc, char *origin, Tango::ErrSeverity sever=Tango::ERR)
Generate and throw a TANGO DevFailed exception.
Definition: except.h:301
Tango::UserDefaultAttrProp::set_min_value
void set_min_value(const char *def_min_value)
Set default min_value property.
Definition: attrdesc.h:144
Tango::ArchiveEventInfo
Attribute archive event configuration.
Definition: devapi.h:277
Tango::CallBack::push_event
virtual void push_event(AttrConfEventData *ace)
attribute configuration change event callback method
Definition: devasyn.h:290
Tango::TemplCommandIn::TemplCommandIn
TemplCommandIn(const char *cmd_name, void(DeviceImpl::*exe_method)(INARG))
Constructs a newly allocated TemplCommandIn object for a command with a name and an execution method.
Definition: command.h:2587
Tango::AttrProp::AttrProp
AttrProp(const string &value_str)
Create a new AttrProp object.
Definition: attrprop.h:98
Tango::AttributeAlarmInfo::min_alarm
string min_alarm
Min alarm level.
Definition: devapi.h:225
Tango::Except::re_throw_exception
static TANGO_NORETURN void re_throw_exception(Tango::DevFailed &ex, char *reason, char *desc, const string &origin, Tango::ErrSeverity sever=Tango::ERR)
Re-throw a TANGO DevFailed exception with one more error.
Definition: except.h:1625
Tango::DeviceImpl::set_state
void set_state(const Tango::DevState &new_state)
Set device state.
Definition: device.h:3591
Tango::DbDevExportInfo::host
string host
The host name where the device server process runs.
Definition: dbapi.h:865
Tango::Except
Container class for all exception related methods.
Definition: except.h:74
Tango::AttrReadEvent::err
bool err
A boolean flag set to true if the request failed. False otherwise.
Definition: devasyn.h:146
Tango::AttributeInfo::disp_level
Tango::DispLevel disp_level
Display level.
Definition: devapi.h:206
Tango::Attribute::is_check_archive_criteria
bool is_check_archive_criteria()
Check if the archive event criteria should be checked when firing the event manually.
Definition: attribute.h:1708
Tango::Pipe::get_lower_name
string & get_lower_name()
Return the pipe name in lower case letters.
Definition: pipe.h:152
Tango::Except::throw_exception
static TANGO_NORETURN void throw_exception(const char *reason, const char *desc, const string &origin, Tango::ErrSeverity sever=Tango::ERR)
Generate and throw a TANGO DevFailed exception.
Definition: except.h:616
Tango::MultiAttribute::writable_attr_list
vector< long > writable_attr_list
The list of writable attribute.
Definition: multiattribute.h:268
Tango::MultiAttrProp::description
string description
Attribute description.
Definition: attrprop.h:571
Tango::Device_5Impl
Base class for all TANGO device since version 5.
Definition: device_5.h:72
Tango::AttributeEventInfo
Attribute event configuration.
Definition: devapi.h:295
Tango::DevicePipeBlob::set_exceptions
void set_exceptions(except_flags fl)
Set one exception flag.
Definition: devapi.h:579
Tango::CallBack::cmd_ended
virtual void cmd_ended(CmdDoneEvent *cde)
Asynchronous command execution callback method.
Definition: devasyn.h:251
Tango::DeviceAttributeHistory
Fundamental type for receiving data from device attribute polling buffers.
Definition: devapi.h:633
Tango::Group::read_attribute
GroupAttrReplyList read_attribute(const std::string &a, bool fwd=true)
Reads an attribute on each device in the group.
Tango::WAttribute::get_write_date
struct timeval & get_write_date()
Retrieve the date of the last attribute writing.
Definition: w_attribute.h:196
Tango::WAttribute
This class represents a writable attribute.
Definition: w_attribute.h:68
Tango::MultiAttribute::check_alarm
bool check_alarm(const char *attr_name)
Check alarm for one attribute with a given name.
Definition: multiattribute.h:207
Tango::GroupAttrReply::get_data
DeviceAttribute & get_data()
Get attribute data.
Tango::CmdHistoryStack::get_data
vector< TimedCmdData< T > > & get_data()
Get stack data.
Tango::AttributeAlarmInfo::max_alarm
string max_alarm
max alarm level
Definition: devapi.h:226
Tango::Command::set_disp_level
void set_disp_level(Tango::DispLevel level)
Set the command display level.
Definition: command.h:370
Tango::PipeInfo::extensions
vector< string > extensions
For future extensions.
Definition: devapi.h:377
Tango::MultiAttribute::attr_list
vector< Attribute * > attr_list
The Attribute objects vector.
Definition: multiattribute.h:262
Tango::Attribute::unit
string unit
The attribute unit.
Definition: attribute.h:2022
Tango::DbDevFullInfo::host
string host
The host name where the device server process is running.
Definition: dbapi.h:841
Tango::Attribute::set_max_warning
void set_max_warning(const T &new_max_warning)
Set attribute maximum warning.
Tango::Pipe::exceptions
void exceptions(bitset< DevicePipeBlob::numFlags > fl)
Set exception flag.
Definition: pipe.h:295
Tango::AttrHistoryStack
This class is a used to pass an attribute value history when the user directly fills the attribute po...
Definition: pollext.h:722
Tango::DeviceAttributeHistory::has_failed
bool has_failed()
Check if the record was a failure.
Definition: devapi.h:661
Tango::DeviceClass::get_class_pipe
MultiClassPipe * get_class_pipe()
Get a pointer to the class pipes object.
Definition: deviceclass.h:276
Tango::CommandInfo::disp_level
Tango::DispLevel disp_level
The command display level.
Definition: devapi.h:133
Tango::ArchiveEventInfo
struct Tango::ArchiveEventInfo ArchiveEventInfo
Attribute archive event configuration.
Tango::WAttribute::is_max_value
bool is_max_value()
Check if the attribute has a maximum value.
Definition: w_attribute.h:145
Tango::AttributeEventInfo::per_event
PeriodicEventInfo per_event
Attribute periodic event info.
Definition: devapi.h:301
Tango::Attribute::set_value_date_quality
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).
Tango::TimedCmdData::TimedCmdData
TimedCmdData(T *p_data, time_t when)
Create a new TimedCmdData object.
Tango::DeviceAttributeConfig::extensions
vector< string > extensions
For future extensions.
Definition: devapi.h:188
Tango::AttrHistoryStack::get_data
vector< TimedAttrData< T > > & get_data()
Get stack data.
Tango::Pipe::lower_name
string lower_name
The pipe name in lower case.
Definition: pipe.h:427
Tango::DeviceImpl::get_name
string & get_name()
Get device name.
Definition: device.h:240
Tango::Attribute::description
string description
The attribute description.
Definition: attribute.h:2018
Tango::DeviceImpl::dev_status
virtual Tango::ConstDevString dev_status()
Get device status.
Tango::DataReadyEventData::errors
DevErrorList errors
The error stack.
Definition: event.h:291
Tango::Util::server_cleanup
void server_cleanup()
Cleanup a Tango device server process before exit.
Tango::UserDefaultPipeProp::UserDefaultPipeProp
UserDefaultPipeProp()
Constructs a newly allocated UserDefaultPipeProp object.
Definition: pipedesc.h:68
Tango::Connection
Base class for Tango device access.
Definition: devapi.h:56
Tango::Device_5Impl::Device_5Impl
Device_5Impl(DeviceClass *device_class, string &dev_name)
Constructs a newly allocated Device_5Impl object from its name.
Tango::AttrMemorizedType
enum Tango::_AttrMemorizedType AttrMemorizedType
Possible memorized attribute type.
Tango::Command::get_name
string & get_name()
Return the command name.
Definition: command.h:286
Tango::WAttribute::get_write_value
void get_write_value(const Tango::ConstDevString *&ptr)
Retrieve the new value for writable attribute when attribute data type is Tango::DevString and the at...
Definition: w_attribute.h:311
Tango::CONTINUE_ON_ERROR
Read attribute(s) even if one of the written attribute(s) failed.
Definition: tango_const.h:1133
Tango::DeviceImpl::device_class
DeviceClass * device_class
Pointer to the device-class object associated with the device.
Definition: device.h:3276
Tango::Attribute::get_max_dim_x
long get_max_dim_x()
Get attribute maximum data size in x dimension.
Definition: attribute.h:412
Tango::Util::set_server_version
void set_server_version(const char *vers)
Set the device server version.
Definition: utils.h:357
Tango::AttrHistoryStack::clear
void clear()
Clear the stack.
Definition: pollext.h:752
Tango::Attribute::set_properties
void set_properties(Tango::MultiAttrProp< T > &props)
Set all modifiable attribute properties in one call.
Tango::Attr::is_data_ready_event
bool is_data_ready_event()
Check if the data ready event is fired for this attribute.
Definition: attrdesc.h:536
Tango::Group
High level class allowing the user to handle Tango group.
Definition: group.h:734
Tango::Device_5Impl::~Device_5Impl
virtual ~Device_5Impl()
The device desctructor.
Definition: device_5.h:154
Tango::DeviceImpl::db_dev
DbDevice * db_dev
Pointer to the associated DbDevice object.
Definition: device.h:3284
Tango::Device_5Impl::set_attribute_config_5
virtual void set_attribute_config_5(const Tango::AttributeConfigList_5 &new_conf, const Tango::ClntIdent &cl_ident)
Set attribute(s) configuration.
Tango::Attribute::enum_labels
vector< string > enum_labels
Enumeration labels when the attribute data type is DevEnum.
Definition: attribute.h:2132
Tango::DeviceImpl::create_DevVarLongArray
Tango::DevVarLongArray * create_DevVarLongArray(DevLong *ptr, long length)
Create a DevVarLongArray type.
Definition: device.h:746
Tango::PeriodicEventInfo
struct Tango::PeriodicEventInfo PeriodicEventInfo
Attribute periodic event configuration.
Tango::DevicePipeBlob::set_name
void set_name(const string &blob_name)
Set blob name.
Definition: devapi.h:156
Tango::Command
This class is a class representing a command in the TANGO device server pattern.
Definition: command.h:83
Tango::Attribute::Attribute
Attribute(vector< AttrProperty > &prop_list, Attr &tmp_attr, string &dev_name, long idx)
Create a new Attribute object.
Tango::WAttribute::get_write_value
void get_write_value(const Tango::DevLong64 *&ptr)
Retrieve the new value for writable attribute when attribute data type is Tango::DevLong64 and the at...
Definition: w_attribute.h:253
Tango::WAttribute::get_write_value
void get_write_value(const Tango::DevLong *&ptr)
Retrieve the new value for writable attribute when attribute data type is Tango::DevLong and the attr...
Definition: w_attribute.h:234
Tango::TemplCommand
This class is a class representing a command in the template command model without input or output pa...
Definition: command.h:1291
Tango::Attribute::min_alarm_str
string min_alarm_str
The attribute minimum alarm level.
Definition: attribute.h:2044
Tango::PULL_CALLBACK
Callback pull model.
Definition: devapi.h:415
Tango::UserDefaultAttrProp::set_description
void set_description(const char *def_desc)
Set default description property.
Definition: attrdesc.h:94
Tango::MultiAttribute::read_alarm
void read_alarm(string &status)
Add alarm message to device status.
Tango::EventData::device
DeviceProxy * device
Definition: event.h:90
Tango::Command::out_type_desc
string out_type_desc
The command output parameter type.
Definition: command.h:1237
Tango::DbDatum::exceptions
bitset< DbDatum::numFlags > exceptions()
Get exception flag.
Definition: dbapi.h:578
Tango::DbServer
A database object for a device server which can be used to query or modify server database informatio...
Definition: dbapi.h:157
Tango::GroupCmdReplyList::has_failed
bool has_failed() const
Check if an error has occured.
Definition: group.h:492
Tango::DeviceImpl::_default_POA
virtual PortableServer::POA_ptr _default_POA()
Return device POA.
Tango::DoubleAttrProp::set_str
void set_str(const string &value_str)
Set string representation of the compound attribute property values.
Definition: attrprop.h:479
Tango::Attribute::set_quality
void set_quality(Tango::AttrQuality qua, bool send_event=false)
Set attribute data quality.
Tango::UserDefaultAttrProp::set_unit
void set_unit(const char *def_unit)
Set default unit property.
Definition: attrdesc.h:104
Tango::Group::write_attribute_asynch
long write_attribute_asynch(const DeviceAttribute &d, bool fwd=true)
Writes an attribute on each device in the group asynchronously.
Tango::DevicePipeBlob::state
bitset< numFlags > state()
Get instance insertion/extraction state.
Definition: devapi.h:615
Tango::DevicePipeBlob::reset_exceptions
void reset_exceptions(except_flags fl)
Reset one exception flag.
Definition: devapi.h:571
Tango::AttributeInfoEx::events
AttributeEventInfo events
The attribute events configuration.
Definition: devapi.h:339
Tango::ArchiveEventInfo::archive_rel_change
string archive_rel_change
Archive relative change threshold.
Definition: devapi.h:282
Tango::UserDefaultPipeProp::set_description
void set_description(const string &def_desc)
Set default description property.
Definition: pipedesc.h:88
Tango::AttributeInfo
Attribute configuration data extension.
Definition: devapi.h:201
Tango::Except::re_throw_exception
static TANGO_NORETURN void re_throw_exception(Tango::DevFailed &ex, char *reason, char *desc, char *origin, Tango::ErrSeverity sever=Tango::ERR)
Re-throw a TANGO DevFailed exception with one more error.
Definition: except.h:1141
Tango::Attribute::fire_event
void fire_event(vector< string > &filt_names, vector< double > &filt_vals, DevFailed *except=NULL)
Fire a user event for the attribute value.
Tango::Attribute::writable
Tango::AttrWriteType writable
The attribute writable flag.
Definition: attribute.h:1984
Tango::Except::re_throw_exception
static TANGO_NORETURN void re_throw_exception(Tango::DevFailed &ex, char *reason, const char *desc, char *origin, Tango::ErrSeverity sever=Tango::ERR)
Re-throw a TANGO DevFailed exception with one more error.
Definition: except.h:1063
Tango::Pipe::get_disp_level
Tango::DispLevel get_disp_level()
Return the pipe display level.
Definition: pipe.h:187
Tango::AttrHistoryStack::length
size_t length()
Get stack depth.
Definition: pollext.h:740
Tango::MultiAttrProp::unit
string unit
Attribute unit.
Definition: attrprop.h:575
Tango::DeviceImpl::create_DevVarLong64Array
Tango::DevVarLong64Array * create_DevVarLong64Array(DevLong64 *ptr, long length)
Create a DevVarLong64Array type.
Definition: device.h:763
Tango::GroupCmdReply::extract
bool extract(std::vector< DevLong > &vl, std::vector< std::string > &vs)
Get command data and extract them (DevVarLongStringArray)
Tango::UserDefaultAttrProp::set_enum_labels
void set_enum_labels(vector< string > &def_enum_labels)
Set default enumeration labels.
Definition: attrdesc.h:284
Tango::DeviceImpl::get_d_var
Tango::Device_var get_d_var()
Get the associated CORBA object reference.
Definition: device.h:302
Tango::WAttribute::get_write_value
void get_write_value(Tango::DevFloat &val)
Retrieve the new value for writable attribute when attribute data type is Tango::DevFloat.
Definition: w_attribute.h:263
Tango::DeviceClass::type
string type
The TANGO device type name.
Definition: deviceclass.h:416
Tango::Attribute
This class represents a Tango attribute.
Definition: attribute.h:149
Tango::UserDefaultAttrProp::set_min_warning
void set_min_warning(const char *def_min_warning)
Set default min_warning property.
Definition: attrdesc.h:184
Tango::Util::get_tango_lib_release
long get_tango_lib_release()
Get the TANGO library version number.
Tango::AutoConnectTimeout
Definition: devapi.h:999
Tango::UserDefaultAttrProp::set_label
void set_label(const char *def_label)
Set default label property.
Definition: attrdesc.h:84
Tango::DeviceImpl::~DeviceImpl
virtual ~DeviceImpl()
The device desctructor.
Tango::DeviceImpl::is_there_subscriber
bool is_there_subscriber(const string &att_name, EventType event_type)
Check if there is subscriber(s) listening for the event.
Tango::UserDefaultAttrProp::set_archive_event_rel_change
void set_archive_event_rel_change(const char *def_archive_rel_change)
Set default archive event rel_change property.
Definition: attrdesc.h:264
Tango::MultiAttrProp::max_warning
AttrProp< T > max_warning
Attribute max_warning.
Definition: attrprop.h:611
Tango::Attribute::max_x
long max_x
The attribute maximum x dimension.
Definition: attribute.h:2004
Tango::Attribute::is_max_alarm
bool is_max_alarm()
Check if the attribute is in maximum alarm condition .
Definition: attribute.h:246
Tango::Device_2Impl::command_query_2
virtual Tango::DevCmdInfo_2 * command_query_2(const char *command)
Get command info.
Tango::Util::get_trace_level
int get_trace_level()
Get the process trace level.
Definition: utils.h:247
Tango::DeviceImpl::write_attr_hardware
virtual void write_attr_hardware(vector< long > &attr_list)
Write the hardware for attributes.
Definition: device.h:503
Tango::DeviceClass
Base class for all TANGO device-class class.
Definition: deviceclass.h:76
Tango::Pipe::operator<<
Pipe & operator<<(short &datum)
Insert data into a device pipe.
Tango::Group::command_inout
GroupCmdReplyList command_inout(const std::string &c, bool fwd=true)
Executes a Tango command on a group.
Tango::Pipe::name
string name
The pipe name.
Definition: pipe.h:423
Tango::Command::extract
void extract(const CORBA::Any &in, Tango::DevBoolean &data)
Extract a boolean data from a CORBA Any object.
Tango::WAttribute::get_write_value
void get_write_value(Tango::DevLong64 &val)
Retrieve the new value for writable attribute when attribute data type is Tango::DevLong64.
Definition: w_attribute.h:243
Tango::TemplCommandOut::execute
CORBA::Any * execute(DeviceImpl *dev, const CORBA::Any &in_any)
Invoke the command execution method given at object creation time.
Definition: command.h:3287
Tango::GroupCmdReplyList::reset
void reset()
Reset the object.
Definition: group.h:501
Tango::Attribute::is_archive_event
bool is_archive_event()
Check if the archive event is fired manually for this attribute.
Definition: attribute.h:1701
Tango::Attr::~Attr
virtual ~Attr()
The object destructor.
Tango::AttrProp::operator=
AttrProp & operator=(const char *value_str)
Assign the string representation of the attribute property value.
Definition: attrprop.h:130
Tango::Util::server_run
void server_run()
Run the CORBA event loop.
Tango::Pipe::get_desc
string & get_desc()
Return the pipe description.
Definition: pipe.h:173
Tango::Group::get_size
long get_size(bool fwd=true)
Return the number of devices in the hierarchy.
Tango::DeviceAttributeConfig::max_dim_x
int max_dim_x
Max dim X.
Definition: devapi.h:175
Tango::Group::get_device
virtual DeviceProxy * get_device(const std::string &device_name)
Returns a reference to the specified device.
Tango::DeviceAttributeConfig::max_value
string max_value
Max value.
Definition: devapi.h:184
Tango::CmdHistoryStack::length
size_t length()
Get stack depth.
Definition: pollext.h:927
Tango::Attribute::max_value
Tango::Attr_CheckVal max_value
The attribute maximum value in binary format.
Definition: attribute.h:2100
Tango::TemplCommandIn::execute
CORBA::Any * execute(DeviceImpl *dev, const CORBA::Any &in_any)
Invoke the command execution method given at object creation time.
Definition: command.h:2751
Tango::GroupCmdReply::get_data
DeviceData & get_data()
Get command data.
Tango::AttrConfEventData
Attribute configuration change event callback execution data.
Definition: event.h:172
Tango::Util::get_orb
CORBA::ORB_ptr get_orb()
Get a reference to the CORBA ORB.
Definition: utils.h:222
Tango::WPipe::get_data_elt_type
int get_data_elt_type(size_t ind)
Get root blob data element value type.
Definition: w_pipe.h:153
Tango::Device_4Impl::read_attributes_4
virtual Tango::AttributeValueList_4 * read_attributes_4(const Tango::DevVarStringArray &names, Tango::DevSource source, const Tango::ClntIdent &cl_ident)
Read attribute(s) value.
Tango::DeviceClass::set_type
void set_type(string &dev_type)
Set the TANGO device type name.
Definition: deviceclass.h:282
Tango::Attribute::check_alarm
bool check_alarm()
Check if the attribute read value is below/above the alarm level.
Tango::PIPE_EVENT
Device pipe event.
Definition: tango_const.h:1091
Tango::WAttribute::WAttribute
WAttribute(vector< AttrProperty > &prop_list, Attr &tmp_attr, string &dev_name, long idx)
Create a new Writable Attribute object.
Tango::TimedCmdData::TimedCmdData
TimedCmdData(DevErrorList errs, time_t when)
Create a new TimedCmdData object for errors.
Definition: pollext.h:856
Tango::Attribute::get_date
Tango::TimeVal & get_date()
Get attribute date.
Definition: attribute.h:348
Tango::Attribute::get_data_format
Tango::AttrDataFormat get_data_format()
Get attribute data format.
Definition: attribute.h:322
Tango::Attribute::set_date
void set_date(struct timeval &t)
Set attribute date.
Definition: attribute.h:368
Tango::MultiAttribute
There is one instance of this class for each device.
Definition: multiattribute.h:87
Tango::Except::throw_exception
static TANGO_NORETURN void throw_exception(char *reason, char *desc, const char *origin, Tango::ErrSeverity sever=Tango::ERR)
Generate and throw a TANGO DevFailed exception.
Definition: except.h:338
Tango::Attribute::get_name
string & get_name()
Get attribute name.
Definition: attribute.h:310
Tango::AttributeInfoListEx
vector< AttributeInfoEx > AttributeInfoListEx
vector of AttributeInfoEx structure
Definition: devapi.h:359
Tango::Group::~Group
virtual ~Group()
Create a Group instance.
Tango::DeviceImpl::create_DevVarStringArray
Tango::DevVarStringArray * create_DevVarStringArray(char **ptr, long length)
Create a DevVarStringArray type.
Definition: device.h:862
Tango::DeviceClass::pipe_factory
virtual void pipe_factory()
Create all the pipes supported by this class of device.
Definition: deviceclass.h:145
Tango::ChangeEventInfo::extensions
vector< string > extensions
Future extensions.
Definition: devapi.h:251
Tango::WAttribute::get_min_value
void get_min_value(T &min_value)
Gets attribute minimum value or throws an exception if the attribute does not have a minimum value.
Tango::AttrReadEvent::argout
vector< DeviceAttribute > * argout
The attribute data.
Definition: devasyn.h:145
Tango::DeviceImpl::desc
string desc
The device description.
Definition: device.h:3260
Tango::Attribute::fire_archive_event
void fire_archive_event(DevFailed *except=NULL)
Fire an archive event for the attribute value.
Tango::AttributeInfoEx
Extended attribute configuration data.
Definition: devapi.h:330
Tango::ATTR_CONF_EVENT
Attribute configuration change event.
Definition: tango_const.h:1088
Tango::Command::set_name
void set_name(string &new_name)
Set the command name.
Definition: command.h:293
Tango::DeviceImpl::create_DevVarDoubleArray
Tango::DevVarDoubleArray * create_DevVarDoubleArray(double *ptr, long length)
Create a DevVarDoubleArray type.
Definition: device.h:795
Tango::DbDevExportInfo::pid
int pid
The device server process PID.
Definition: dbapi.h:867
Tango::PipeInfo::description
string description
Pipe description.
Definition: devapi.h:373
Tango::Attr::set_disp_level
void set_disp_level(Tango::DispLevel level)
Set the attribute display level.
Definition: attrdesc.h:446
Tango::MultiAttribute::get_w_attr_by_name
WAttribute & get_w_attr_by_name(const char *attr_name)
Get Writable Attribute object from its name.
Tango::Except::throw_exception
static TANGO_NORETURN void throw_exception(char *reason, const string &desc, char *origin, Tango::ErrSeverity sever=Tango::ERR)
Generate and throw a TANGO DevFailed exception.
Definition: except.h:797
Tango::WPipe::get_data_elt_name
string get_data_elt_name(size_t ind)
Get root blob data element name.
Definition: w_pipe.h:144
Tango::Util::get_ds_name
string & get_ds_name()
Get the device server name.
Definition: utils.h:307
Tango::EventData::attr_name
string attr_name
The attribute name.
Definition: event.h:91
Tango::Device_3Impl::read_attribute_history_3
virtual Tango::DevAttrHistoryList_3 * read_attribute_history_3(const char *name, CORBA::Long n)
Read attribute value history.
Tango::TimedAttrData::TimedAttrData
TimedAttrData(const T *p_data, time_t when)
Create a new TimedAttrData object.
Tango::Attribute::get_quality
Tango::AttrQuality & get_quality()
Get attribute data quality.
Definition: attribute.h:386
Tango::Device_3Impl::Device_3Impl
Device_3Impl(DeviceClass *device_class, string &dev_name)
Constructs a newly allocated Device_3Impl object from its name.
Tango::DeviceImpl::set_archive_event
void set_archive_event(string attr_name, bool implemented, bool detect=true)
Set an implemented flag for the attribute to indicate that the server fires archive events manually,...
Tango::Attr
User class to create a no dimension attribute object.
Definition: attrdesc.h:376
Tango::MultiAttrProp::archive_abs_change
DoubleAttrProp< DevDouble > archive_abs_change
Attribute archive_abs_change.
Definition: attrprop.h:643
Tango::TimedCmdData
This class is used to store one element of a command history stack.
Definition: pollext.h:799
Tango::MultiAttribute::get_attribute_list
vector< Attribute * > & get_attribute_list()
Get the vector of attribute objects.
Definition: multiattribute.h:251
Tango::DevCommandInfo::cmd_tag
long cmd_tag
The command tag.
Definition: devapi.h:104
Tango::UserDefaultAttrProp::UserDefaultAttrProp
UserDefaultAttrProp()
Constructs a newly allocated UserDefaultAttrProp object.
Definition: attrdesc.h:74
Tango::Pipe::set_pipe_serial_model
void set_pipe_serial_model(PipeSerialModel ser_model)
Set pipe serialization model.
Tango::GroupReply::enable_exception
static bool enable_exception(bool exception_mode=true)
Enable/Disable exception.
Tango::MultiAttrProp::MultiAttrProp
MultiAttrProp()
Default constructor.
Definition: attrprop.h:556
Tango::AttributeEventInfo::ch_event
ChangeEventInfo ch_event
Attribute change event info.
Definition: devapi.h:300
Tango::Except::re_throw_exception
static TANGO_NORETURN void re_throw_exception(Tango::DevFailed &ex, const string &reason, const char *desc, const char *origin, Tango::ErrSeverity sever=Tango::ERR)
Re-throw a TANGO DevFailed exception with one more error.
Definition: except.h:1288
Tango::UserDefaultAttrProp::set_delta_val
void set_delta_val(const char *def_delta_val)
Set default RDS alarm delta_val property.
Definition: attrdesc.h:214
Tango::DevicePipeBlob::exceptions
void exceptions(bitset< numFlags > fl)
Set exception flag.
Definition: devapi.h:543
Tango::DeviceClass::name
string name
The TANGO device class name.
Definition: deviceclass.h:408
Tango::Except::re_throw_exception
static TANGO_NORETURN void re_throw_exception(Tango::DevFailed &ex, char *reason, char *desc, const char *origin, Tango::ErrSeverity sever=Tango::ERR)
Re-throw a TANGO DevFailed exception with one more error.
Definition: except.h:1102
Tango::Attribute::get_assoc_name
string & get_assoc_name()
Get name of the associated writable attribute.
Definition: attribute.h:328
Tango::Attribute::get_polling_period
long get_polling_period()
Get attribute polling period.
Definition: attribute.h:433
Tango::DeviceImpl::set_change_event
void set_change_event(string attr_name, bool implemented, bool detect=true)
Set an implemented flag for the attribute to indicate that the server fires change events manually,...
Tango::DbClass
A database object for a class which can be used to query or modify class properties.
Definition: dbapi.h:267
Tango::DbDevFullInfo::ds_full_name
string ds_full_name
The full device server process name.
Definition: dbapi.h:840
Tango::Attribute::max_alarm_str
string max_alarm_str
The attribute maximun alarm level.
Definition: attribute.h:2048
Tango::Except::re_throw_exception
static TANGO_NORETURN void re_throw_exception(Tango::DevFailed &ex, const string &reason, const char *desc, const string &origin, Tango::ErrSeverity sever=Tango::ERR)
Re-throw a TANGO DevFailed exception with one more error.
Definition: except.h:1252
Tango::DeviceClass::class_attr
MultiClassAttribute * class_attr
Pointer to the class multi attribute object.
Definition: deviceclass.h:432
Tango::Group::write_attribute_reply
GroupReplyList write_attribute_reply(long req_id, long tmo_ms=0)
Returns the acknowledgements of an asynchronous attribute writing.
Tango::Attribute::set_date
void set_date(Tango::TimeVal &new_date)
Set attribute date.
Definition: attribute.h:354
Tango::Attr::set_memorized
void set_memorized()
Set the attribute as memorized in database (only for scalar and writable attribute) By default the se...
Tango::Device_2Impl
Base class for all TANGO device since version 2.
Definition: device_2.h:77
Tango::DevCommandInfo::out_type_desc
string out_type_desc
Ouptput parameter description.
Definition: devapi.h:108
Tango::DevicePipeBlob::has_failed
bool has_failed()
Check insertion/extraction success.
Tango::Except::throw_named_exception
static TANGO_NORETURN void throw_named_exception(vector< string > &atts, const char *reason, const char *desc, const char *origin, Tango::ErrSeverity sever=Tango::ERR)
Throw a TANGO MultiDevFailed exception.
Definition: except.h:1770
Tango::Except::re_throw_exception
static TANGO_NORETURN void re_throw_exception(Tango::DevFailed &ex, const string &reason, const string &desc, char *origin, Tango::ErrSeverity sever=Tango::ERR)
Re-throw a TANGO DevFailed exception with one more error.
Definition: except.h:1433
Tango::DeviceImpl::always_executed_hook
virtual void always_executed_hook(void)
Hook method.
Definition: device.h:455
Tango::MultiAttrProp::delta_val
AttrProp< T > delta_val
Attribute delta_val.
Definition: attrprop.h:619
Tango::DeviceImpl::create_DevVarUShortArray
Tango::DevVarUShortArray * create_DevVarUShortArray(unsigned short *ptr, long length)
Create a DevVarUShortArray type.
Definition: device.h:811
Tango::Pipe::desc
string desc
The pipe description.
Definition: pipe.h:431
Tango::DeviceImpl::get_obj_id
PortableServer::ObjectId_var & get_obj_id()
Get the associated CORBA object identifier.
Definition: device.h:322
Tango::UserDefaultAttrProp::set_min_alarm
void set_min_alarm(const char *def_min_alarm)
Set default min_alarm property.
Definition: attrdesc.h:164
Tango::DbDevImportInfo::name
string name
The device name.
Definition: dbapi.h:818
Tango::DoubleAttrProp
This class represents a Tango compound attribute property which consists of two values.
Definition: attrprop.h:272
Tango::Device_4Impl::Device_4Impl
Device_4Impl(DeviceClass *device_class, string &dev_name)
Constructs a newly allocated Device_4Impl object from its name.
Tango::Except::throw_exception
static TANGO_NORETURN void throw_exception(const char *reason, const string &desc, const char *origin, Tango::ErrSeverity sever=Tango::ERR)
Generate and throw a TANGO DevFailed exception.
Definition: except.h:582
Tango::Util::get_dserver_device
DServer * get_dserver_device()
Get a reference to the dserver device attached to the device server process.
Tango::DevIntrChangeEventData::dev_started
bool dev_started
Device started flag (true when event sent due to device being (re)started and with only a possible bu...
Definition: event.h:375
Tango::Util
This class is a used to store TANGO device server process data and to provide the user with a set of ...
Definition: utils.h:153
Tango::DeviceDataHistory
Fundamental type for receiving data from device command polling buffers.
Definition: devapi.h:510
Tango::DeviceImpl::version
long version
The device version.
Definition: device.h:3272
Tango::DbDevInfo
Device information for Database device creation.
Definition: dbapi.h:795
Tango::NamedDevFailedList::err_list
vector< NamedDevFailed > err_list
There is one element in this vector for each attribute which failed during its writing.
Definition: apiexcept.h:99
Tango::Except::re_throw_exception
static TANGO_NORETURN void re_throw_exception(Tango::DevFailed &ex, const char *reason, char *desc, char *origin, Tango::ErrSeverity sever=Tango::ERR)
Re-throw a TANGO DevFailed exception with one more error.
Definition: except.h:986
Tango::DeviceImpl::stop_poll_command
void stop_poll_command(const string &cmd_name)
Stop polling one command.
Tango::DeviceImpl::unregister_signal
void unregister_signal(long signo)
Unregister a signal.
Tango::UserDefaultFwdAttrProp
User class to set forwarded attribute default properties.
Definition: fwdattrdesc.h:58
Tango::Attribute::assoc_ind
long assoc_ind
Index in the main attribute vector of the associated writable attribute (if any)
Definition: attribute.h:2076
Tango::TimedCmdData::TimedCmdData
TimedCmdData(DevErrorList errs, timeval when)
Create a new TimedCmdData object for errors.
Definition: pollext.h:866
Tango::CmdDoneEvent::errors
DevErrorList & errors
The error stack.
Definition: devasyn.h:94
Tango::Attribute::~Attribute
virtual ~Attribute()
The attribute destructor.
Tango::Device_3Impl::get_attribute_config_3
virtual Tango::AttributeConfigList_3 * get_attribute_config_3(const Tango::DevVarStringArray &names)
Get attribute(s) configuration.
Tango::Attribute::get_data_type
long get_data_type()
Get attribute data type.
Definition: attribute.h:316
Tango::Util::is_svr_starting
bool is_svr_starting()
Check if the device server process is in its starting phase.
Definition: utils.h:517
Tango::DevicePipeBlob::set_data_elt_nb
void set_data_elt_nb(size_t nb)
Set blob data element number.
Tango::Except::throw_exception
static TANGO_NORETURN void throw_exception(const char *reason, char *desc, char *origin, Tango::ErrSeverity sever=Tango::ERR)
Generate and throw a TANGO DevFailed exception.
Definition: except.h:228
Tango::asyn_req_type
asyn_req_type
Possible asynchronous request type.
Definition: devapi.h:399
Tango::WAttribute::get_write_value
void get_write_value(const Tango::DevULong *&ptr)
Retrieve the new value for writable attribute when attribute data type is Tango::DevULong and the att...
Definition: w_attribute.h:387
Tango::AttrProp::set_val
void set_val(const T &value)
Set the attribute property value.
Definition: attrprop.h:183
Tango::DbDatum::set_exceptions
void set_exceptions(except_flags fl)
Set one exception flag.
Definition: dbapi.h:594
Tango::DeviceAttributeConfig::label
string label
Label.
Definition: devapi.h:178
Tango::FwdAttr
User class to create a forwarded attribute object.
Definition: fwdattrdesc.h:117
Tango::DataReadyEventData
Data ready event callback execution data.
Definition: event.h:268
Tango::DbDevImportInfo
Device import information from the database.
Definition: dbapi.h:815
Tango::Attribute::quality
Tango::AttrQuality quality
The attribute quality factor.
Definition: attribute.h:1975
Tango::Pipe::get_label
string & get_label()
Return the pipe label.
Definition: pipe.h:180
Tango::Command::~Command
virtual ~Command()
The object desctructor.
Definition: command.h:225
Tango::CALL_BACK
Callback mode request.
Definition: devapi.h:402
Tango::DeviceImpl::blackbox_ptr
BlackBox * blackbox_ptr
The device black box pointer.
Definition: device.h:3248
Tango::GroupReply
Base class for Group reply.
Definition: group.h:140
Tango::PipeInfo::writable
Tango::PipeWriteType writable
Writable type (Read, Read-Write)
Definition: devapi.h:376
Tango::DevicePipeBlob::get_data_elt_names
vector< string > get_data_elt_names()
Get blob data elements name.
Tango::DeviceImpl::get_polled_obj_by_type_name
vector< PollObj * >::iterator get_polled_obj_by_type_name(Tango::PollObjType obj_type, const string &obj_name)
Retrieve a polled object from the polled object list.
Tango::operator<<
void operator<<(DevVarCharArray &lval, const vector< unsigned char > &rval)
Init a DevVarCharArray from a C++ vector of char(s).
Definition: seqvec.h:77
Tango::Device_3Impl::~Device_3Impl
virtual ~Device_3Impl()
The device desctructor.
Definition: device_3.h:170
Tango::AttributeAlarmInfo::max_warning
string max_warning
Max warning level.
Definition: devapi.h:228
Tango::PeriodicEventInfo
Attribute periodic event configuration.
Definition: devapi.h:261
Tango::Util::get_device_list
vector< DeviceImpl * > get_device_list(const string &name)
Get DeviceList from name.
Tango::Group::read_attributes_asynch
long read_attributes_asynch(const std::vector< std::string > &al, bool fwd=true)
Reads several attributes on each device in the group asynchronously.
Tango::MultiAttribute::~MultiAttribute
~MultiAttribute()
The MultiAttribute desctructor.
Tango::WAttribute::get_write_value
void get_write_value(const Tango::DevUShort *&ptr)
Retrieve the new value for writable attribute when attribute data type is Tango::DevUShort and the at...
Definition: w_attribute.h:349
Tango::DbDevFullInfo
Device information from the database.
Definition: dbapi.h:836
Tango::WAttribute::get_write_value
void get_write_value(const Tango::DevEncoded *&ptr)
Retrieve the new value for writable attribute when attribute data type is Tango::DevEncoded and the a...
Definition: w_attribute.h:444
Tango::DeviceImpl::get_db_device
DbDevice * get_db_device()
Get a pointer to the associated DbDevice object.
Definition: utils.h:1204
Tango::AttributeInfo
Tango::AttributeInfo AttributeInfo
Attribute configuration data extension.
Tango::Command::in_type
Tango::CmdArgType in_type
The command input parameter type.
Definition: command.h:1225
Tango::MultiAttrProp::min_alarm
AttrProp< T > min_alarm
Attribute min_alarm.
Definition: attrprop.h:599
Tango::Except::re_throw_exception
static TANGO_NORETURN void re_throw_exception(Tango::DevFailed &ex, const char *reason, const string &desc, const char *origin, Tango::ErrSeverity sever=Tango::ERR)
Re-throw a TANGO DevFailed exception with one more error.
Definition: except.h:1360
Tango::CallBack::attr_written
virtual void attr_written(AttrWrittenEvent *awe)
Asynchronous write attribute execution callback method.
Definition: devasyn.h:271
Tango::Except::throw_exception
static TANGO_NORETURN void throw_exception(char *reason, char *desc, char *origin, Tango::ErrSeverity sever=Tango::ERR)
Generate and throw a TANGO DevFailed exception.
Definition: except.h:375
Tango::Attribute::delta_t
long delta_t
Delta time after which the read value must be checked again the last written value if the attribute h...
Definition: attribute.h:2128
Tango::Device_2Impl::read_attribute_history_2
virtual Tango::DevAttrHistoryList * read_attribute_history_2(const char *name, CORBA::Long n)
Read attribute value history.
Tango::AttrProp::get_val
T get_val()
Get the attribute property value.
Definition: attrprop.h:161
Tango::AttrProp::operator=
AttrProp & operator=(const string &value_str)
Assign the string representation of the attribute property value.
Definition: attrprop.h:143
Tango::DbDevFullInfo::pid
long pid
The device server process PID (-1 if not set in DB)
Definition: dbapi.h:844
Tango::GroupReplyList
Group reply for a write_attribute execution.
Definition: group.h:403
Tango::Attribute::min_warning
Tango::Attr_CheckVal min_warning
The attribute minimum warning in binary format.
Definition: attribute.h:2088
Tango::DeviceImpl::is_command_polled
bool is_command_polled(const string &cmd_name)
Check if command is polled.
Tango::TemplCommandInOut::init_types
void init_types()
Initialise command input and output types.
Definition: command.h:2167
Tango::Util::get_device_by_name
DeviceImpl * get_device_by_name(const string &dev_name)
Get a device reference from its name.
Tango::DbDevExportInfo
Device export information to the database.
Definition: dbapi.h:860
Tango::MultiAttrProp::rel_change
DoubleAttrProp< DevDouble > rel_change
Attribute rel_change.
Definition: attrprop.h:631
Tango::Device_4Impl::set_attribute_config_4
virtual void set_attribute_config_4(const Tango::AttributeConfigList_3 &new_conf, const Tango::ClntIdent &cl_ident)
Set attribute(s) configuration.
Tango::Attribute::max_warning
Tango::Attr_CheckVal max_warning
The attribute maximum warning in binary format.
Definition: attribute.h:2092
Tango::DbDatum
A database value.
Definition: dbapi.h:443
Tango::Command::get_in_type_desc
string & get_in_type_desc()
Return the input parameter description.
Definition: command.h:321
Tango::ImageAttr::ImageAttr
ImageAttr(const char *name)
Constructs a newly allocated ImageAttr object.
Definition: attrdesc.h:809
Tango::TemplCommandInOut::TemplCommandInOut
TemplCommandInOut(const char *cmd_name, OUTARG(DeviceImpl::*exe_method)(INARG))
Constructs a newly allocated TemplCommandInOut object for a command with a name and an execution meth...
Definition: command.h:2030
Tango::Command::out_type
Tango::CmdArgType out_type
The command output parameter type.
Definition: command.h:1229
Tango::Attribute::check_min_value
bool check_min_value
Flag set to true if a minimum value is defined.
Definition: attribute.h:2112
Tango::Attribute::check_max_value
bool check_max_value
Flag set to true if a maximum alarm is defined.
Definition: attribute.h:2116
Tango::Pipe::writable
Tango::PipeWriteType writable
The pipe R/W type.
Definition: pipe.h:443
Tango::Attribute::is_data_ready_event
bool is_data_ready_event()
Check if the data ready event is fired for this attribute.
Definition: attribute.h:1721
Tango::Device_3Impl::set_attribute_config_3
virtual void set_attribute_config_3(const Tango::AttributeConfigList_3 &new_conf)
Set attribute(s) configuration.
Tango::DeviceClass::get_doc_url
string & get_doc_url()
Get the TANGO device class documentation URL.
Definition: deviceclass.h:216
Tango::DeviceClass::device_list
vector< DeviceImpl * > device_list
The device(s) list.
Definition: deviceclass.h:424
Tango::DeviceImpl::push_change_event
void push_change_event(string attr_name, DevFailed *except=NULL)
Push a change event for a state or status attribute or return an exception as change event for any at...
Tango::Util::init
static Util * init(int argc, char *argv[])
Create and get the singleton object reference.
Tango::PipeEventData::errors
DevErrorList errors
The error stack.
Definition: event.h:461
Tango::GroupReply::obj_name
const std::string & obj_name() const
Get object name.
Definition: group.h:209
Tango::Util::get_pid
TangoSys_Pid get_pid()
Get the device server process identifier.
Definition: utils.h:328
Tango::DeviceAttributeConfig::min_value
string min_value
Min value.
Definition: devapi.h:183
Tango::Command::is_allowed
virtual bool is_allowed(DeviceImpl *dev, const CORBA::Any &in_any)
Check if the command is allowed in the actual device state.
Definition: command.h:263
Tango::Command::lower_name
string lower_name
The command name in lower case.
Definition: command.h:1221
Tango::ImageAttr
User class to create a two dimensions attribute object.
Definition: attrdesc.h:741
Tango::DeviceImpl::device_name
string device_name
The device name.
Definition: device.h:3256
Tango::Pipe
This class is a class representing a pipe in the TANGO device server pattern.
Definition: pipe.h:77
Tango::Except::re_throw_exception
static TANGO_NORETURN void re_throw_exception(Tango::DevFailed &ex, const char *reason, const char *desc, char *origin, Tango::ErrSeverity sever=Tango::ERR)
Re-throw a TANGO DevFailed exception with one more error.
Definition: except.h:911
Tango::Device_2Impl::get_attribute_config_2
virtual Tango::AttributeConfigList_2 * get_attribute_config_2(const Tango::DevVarStringArray &names)
Get attribute(s) configuration.
Tango::Attr::is_change_event
bool is_change_event()
Check if the change event is fired manually for this attribute.
Definition: attrdesc.h:488
Tango::Attr::set_polling_period
void set_polling_period(long update)
Set the attribute polling update period.
Definition: attrdesc.h:452
Tango::Attribute::is_alarmed
bitset< numFlags > & is_alarmed()
Check if the attribute has an alarm defined.
Definition: attribute.h:276
Tango::DbServerData
Class used to move/copy a complete device server process database configuration from one Tango host t...
Definition: dbapi.h:1025
Tango::AttributeEventInfo::arch_event
ArchiveEventInfo arch_event
Attribute archive event info.
Definition: devapi.h:302
Tango::Device_4Impl::read_attribute_history_4
virtual Tango::DevAttrHistory_4 * read_attribute_history_4(const char *name, CORBA::Long n)
Read attribute value history.
Tango::CommandInfo
Command information data extension.
Definition: devapi.h:128
Tango::AttributeInfoEx::enum_labels
vector< string > enum_labels
Enumerated attribute labels.
Definition: devapi.h:337
Tango::AttributeInfoEx::alarms
AttributeAlarmInfo alarms
The attribute alarms.
Definition: devapi.h:338
Tango::DeviceProxy
High level class which provides the client with an easy-to-use interface to TANGO devices.
Definition: devapi.h:56
Tango::DbDevExportInfo::ior
string ior
The device IOR.
Definition: dbapi.h:864
Tango::Database
A high level object which contains the link to the database.
Definition: dbapi.h:53
Tango::Pipe::set_data_elt_names
void set_data_elt_names(vector< string > &names)
Set blob data element number and names.
Definition: pipe.h:258
Tango::Util::is_device_restarting
bool is_device_restarting(string &d_name)
Check if the device is actually restarted by the device server process admin device with its DevResta...
Definition: utils.h:1075
Tango::DeviceImpl::get_attribute_poll_period
int get_attribute_poll_period(const string &att_name)
Get attribute polling period.
Tango::WAttribute::get_write_value
void get_write_value(Tango::DevShort &val)
Retrieve the new value for writable attribute when attribute data type is Tango::DevShort.
Definition: w_attribute.h:205
Tango::Attribute::get_properties
void get_properties(Tango::MultiAttrProp< T > &props)
Get all modifiable attribute properties in one call.
Tango::DbDevFullInfo::started_date
string started_date
Date of the last device export (empty if not set in DB)
Definition: dbapi.h:842
Tango::Util::trigger_attr_polling
void trigger_attr_polling(DeviceImpl *dev, const string &name)
Trigger polling for polled attribute.
Tango::WAttribute::is_min_value
bool is_min_value()
Check if the attribute has a minimum value.
Definition: w_attribute.h:108
Tango::Device_4Impl::~Device_4Impl
virtual ~Device_4Impl()
The device desctructor.
Definition: device_4.h:160
Tango::Device_2Impl::read_attributes_2
virtual Tango::AttributeValueList * read_attributes_2(const Tango::DevVarStringArray &names, Tango::DevSource source)
Read attribute(s) value.
Tango::MultiAttrProp::archive_period
AttrProp< DevLong > archive_period
Attribute archive_period.
Definition: attrprop.h:627
Tango::Util::is_svr_shutting_down
bool is_svr_shutting_down()
Check if the device server process is in its shutting down sequence.
Definition: utils.h:523
Tango::Device_2Impl::command_inout_2
virtual CORBA::Any * command_inout_2(const char *in_cmd, const CORBA::Any &in_data, Tango::DevSource source)
Execute a command.
Tango::AttributeProxy
Easy to use interface to Tango device attribute.
Definition: devapi.h:58
Tango::NamedDevFailedList::call_failed
bool call_failed()
Check if the call failed.
Definition: apiexcept.h:97
Tango::Util::_sleep_between_connect
static TANGO_IMP long _sleep_between_connect
The loop sleeping time in case of the _daemon flag set to true.
Definition: utils.h:709
Tango::AttrHistoryStack::push
void push(TimedAttrData< T > const &elt)
Store a new element in the stack.
Tango::ChangeEventInfo::rel_change
string rel_change
Relative change threshold.
Definition: devapi.h:249
Tango::Attribute::set_attr_serial_model
void set_attr_serial_model(AttrSerialModel ser_model)
Set attribute serialization model.
Tango::Attr::set_default_properties
void set_default_properties(UserDefaultAttrProp &prop)
Set default attribute properties.
Tango::DbDevInfo::name
string name
The device name.
Definition: dbapi.h:798
Tango::Attr::set_change_event
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...
Definition: attrdesc.h:478
Tango::DeviceImpl::blackbox_depth
long blackbox_depth
The device black box depth.
Definition: device.h:3252
Tango::DeviceImpl::set_status
void set_status(const string &new_status)
Set device status.
Definition: device.h:198
Tango::UserDefaultAttrProp::set_archive_event_abs_change
void set_archive_event_abs_change(const char *def_archive_abs_change)
Set default archive event abs_change property.
Definition: attrdesc.h:254
Tango::DeviceImpl::is_attribute_polled
bool is_attribute_polled(const string &att_name)
Check if attribute is polled.
Tango::DeviceClass::doc_url
string doc_url
The TANGO device class documentation URL.
Definition: deviceclass.h:412
Tango::AttributeEventInfo
struct Tango::AttributeEventInfo AttributeEventInfo
Attribute event configuration.
Tango::Except::throw_exception
static TANGO_NORETURN void throw_exception(char *reason, const char *desc, const char *origin, Tango::ErrSeverity sever=Tango::ERR)
Generate and throw a TANGO DevFailed exception.
Definition: except.h:265
Tango::Group::ping
virtual bool ping(bool fwd=true)
Ping all devices in a group.
Tango::Except::re_throw_exception
static TANGO_NORETURN void re_throw_exception(Tango::DevFailed &ex, const char *reason, const char *desc, const string &origin, Tango::ErrSeverity sever=Tango::ERR)
Re-throw a TANGO DevFailed exception with one more error.
Definition: except.h:1396
Tango::DeviceImpl::dev_attr
MultiAttribute * dev_attr
Pointer to the multi attribute object.
Definition: device.h:3280
Tango::Command::get_out_type
Tango::CmdArgType get_out_type()
Return the output parameter type.
Definition: command.h:314
Tango::CHANGE_EVENT
Change event.
Definition: tango_const.h:1083
Tango::Except::throw_exception
static TANGO_NORETURN void throw_exception(const char *reason, const char *desc, char *origin, Tango::ErrSeverity sever=Tango::ERR)
Generate and throw a TANGO DevFailed exception.
Definition: except.h:157
Tango::AttrConfEventData::attr_name
string attr_name
The attribute name.
Definition: event.h:191
Tango::DeviceClass::get_device_list
vector< DeviceImpl * > & get_device_list()
Get the device object vector.
Definition: deviceclass.h:228
Tango::Attribute::min_warning_str
string min_warning_str
The attribute minimun warning.
Definition: attribute.h:2060
Tango::Command::init_types
virtual void init_types()
Init command parameters type.
Definition: command.h:273
Tango::DevicePipeBlob
A device pipe blob.
Definition: devapi.h:112
Tango::DeviceImpl::read_attr_hardware
virtual void read_attr_hardware(vector< long > &attr_list)
Read the hardware to return attribute value(s).
Definition: device.h:473
Tango::ImageAttr::~ImageAttr
~ImageAttr()
The object destructor.
Definition: attrdesc.h:818
Tango::DataReadyEventData::device
DeviceProxy * device
Definition: event.h:284
Tango::PipeEventData::pipe_name
string pipe_name
The pipe name.
Definition: event.h:457
Tango::Attribute::get_max_alarm
void get_max_alarm(T &max_al)
Get attribute maximum alarm or throw an exception if the attribute does not have the maximum alarm se...
Tango::Command::get_disp_level
Tango::DispLevel get_disp_level()
Return the command display level.
Definition: command.h:335
Tango::Attribute::is_min_warning
bool is_min_warning()
Check if the attribute is in minimum warning condition .
Definition: attribute.h:253
Tango::CommandInfo
Tango::CommandInfo CommandInfo
Command information data extension.
Tango::WAttribute::set_max_value
void set_max_value(const T &max_value)
Set attribute maximum value.
Tango::WAttribute::get_write_value
void get_write_value(Tango::DevBoolean &val)
Retrieve the new value for writable attribute when attribute data type is Tango::DevBoolean.
Definition: w_attribute.h:320
Tango::Device_5Impl::read_attributes_5
virtual Tango::AttributeValueList_5 * read_attributes_5(const Tango::DevVarStringArray &names, Tango::DevSource source, const Tango::ClntIdent &cl_ident)
Read attribute(s) value.
Tango::WAttribute::get_write_value
void get_write_value(const Tango::DevFloat *&ptr)
Retrieve the new value for writable attribute when attribute data type is Tango::DevFloat and the att...
Definition: w_attribute.h:273
Tango::DevIntrChangeEventData::device_name
string device_name
The device name.
Definition: event.h:372
Tango::DevCommandInfo::out_type
long out_type
Output parameter data type.
Definition: devapi.h:106
Tango::Device_4Impl
Base class for all TANGO device since version 4.
Definition: device_4.h:78
Tango::Attribute::is_check_change_criteria
bool is_check_change_criteria()
Check if the change event criteria should be checked when firing the event manually.
Definition: attribute.h:1649
Tango::Attribute::data_format
Tango::AttrDataFormat data_format
The attribute data format.
Definition: attribute.h:1998
Tango::MultiAttrProp::format
string format
Attribute format.
Definition: attrprop.h:587
Tango::Except::throw_exception
static TANGO_NORETURN void throw_exception(const string &reason, const string &desc, const char *origin, Tango::ErrSeverity sever=Tango::ERR)
Generate and throw a TANGO DevFailed exception.
Definition: except.h:446
Tango::WAttribute::get_write_value
void get_write_value(const Tango::DevShort *&ptr)
Retrieve the new value for writable attribute when attribute data type is Tango::DevShort and the att...
Definition: w_attribute.h:215
Tango::Attribute::delta_t_str
string delta_t_str
The attribute delta time RDS alarm.
Definition: attribute.h:2072
Tango::Util::get_version_str
string & get_version_str()
Get the IDL TANGO version.
Definition: utils.h:343
Tango::Except::re_throw_exception
static TANGO_NORETURN void re_throw_exception(Tango::DevFailed &ex, char *reason, const char *desc, const char *origin, Tango::ErrSeverity sever=Tango::ERR)
Re-throw a TANGO DevFailed exception with one more error.
Definition: except.h:1025
Tango::Group::read_attribute_asynch
long read_attribute_asynch(const std::string &a, bool fwd=true)
Reads an attribute on each device in the group asynchronously.
Tango::NamedDevFailedList
An exception class.
Definition: apiexcept.h:79
Tango::Pipe::set_root_blob_name
void set_root_blob_name(const string &name)
Set the root data blob name.
Definition: pipe.h:166
Tango::CmdHistoryStack::push
void push(Tango::TimedCmdData< T > const &elt)
Store a new element in the stack.
Tango::NamedDevFailed::name
string name
The name of the attribute which fails.
Definition: apiexcept.h:57
Tango::MultiAttrProp::event_period
AttrProp< DevLong > event_period
Attribute event_period.
Definition: attrprop.h:623
Tango::WAttribute::get_write_value
void get_write_value(Tango::DevUChar &val)
Retrieve the new value for writable attribute when attribute data type is Tango::DevUChar.
Definition: w_attribute.h:358
Tango::DataReadyEventData::ctr
int ctr
The user counter. Set to 0 if not defined when sent by the server.
Definition: event.h:288
Tango::Attribute::max_y
long max_y
The attribute maximum y dimension.
Definition: attribute.h:2010
Tango::Attribute::value
Tango::Attr_Value value
The attribute value.
Definition: attribute.h:2104
Tango::Except::throw_exception
static TANGO_NORETURN void throw_exception(char *reason, char *desc, const string &origin, Tango::ErrSeverity sever=Tango::ERR)
Generate and throw a TANGO DevFailed exception.
Definition: except.h:834
Tango::Device_3Impl::read_attributes_3
virtual Tango::AttributeValueList_3 * read_attributes_3(const Tango::DevVarStringArray &names, Tango::DevSource source)
Read attribute(s) value.
Tango::SpectrumAttr::SpectrumAttr
SpectrumAttr(const char *name)
Constructs a newly allocated SpectrumAttr object.
Definition: attrdesc.h:695
Tango::Device_2Impl::command_list_query_2
virtual Tango::DevCmdInfoList_2 * command_list_query_2()
Get device command list.
Tango::Attribute::when
Tango::TimeVal when
The date when attribute was read.
Definition: attribute.h:1967
Tango::Command::name
string name
The command name.
Definition: command.h:1217
Tango::DbDevExportInfo::name
string name
The device name.
Definition: dbapi.h:863
Tango::AttrProp::AttrProp
AttrProp(const T &value)
Create a new AttrProp object.
Definition: attrprop.h:80
Tango::AttributeAlarmInfo::delta_t
string delta_t
Delta t RDS.
Definition: devapi.h:229
Tango::Attribute::min_value_str
string min_value_str
The attribute minimum value.
Definition: attribute.h:2052
Tango::Attribute::delta_val
Tango::Attr_CheckVal delta_val
Authorized delta between the last written value and the actual read.
Definition: attribute.h:2122
Tango::Except::throw_exception
static TANGO_NORETURN void throw_exception(const string &reason, const string &desc, const string &origin, Tango::ErrSeverity sever=Tango::ERR)
Generate and throw a TANGO DevFailed exception.
Definition: except.h:412
Tango::Attribute::max_alarm
Tango::Attr_CheckVal max_alarm
The attribute maximum alarm in binary format.
Definition: attribute.h:2084
Tango::cb_sub_model
cb_sub_model
Possible callback mode.
Definition: devapi.h:412
Tango::DeviceAttributeConfig::display_unit
string display_unit
Display unit.
Definition: devapi.h:181
Tango::UserDefaultPipeProp
User class to set pipe default properties.
Definition: pipedesc.h:58
Tango::ChangeEventInfo
struct Tango::ChangeEventInfo ChangeEventInfo
Attribute change event configuration.
Tango::Group::read_attributes
GroupAttrReplyList read_attributes(const std::vector< std::string > &al, bool fwd=true)
Reads several attributes on each device in the group.
Tango::Attribute::set_change_event
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 starte...
Definition: attribute.h:1631
Tango::Util::trigger_cmd_polling
void trigger_cmd_polling(DeviceImpl *dev, const string &name)
Trigger polling for polled command.
Tango::FwdAttr::FwdAttr
FwdAttr(const string &name, const string &root_attribute=RootAttNotDef)
Constructs a newly allocated FwdAttr object.
Tango::PipeInfo::label
string label
Pipe label.
Definition: devapi.h:374
Tango::NamedDevFailed::err_stack
DevErrorList err_stack
The error stack.
Definition: apiexcept.h:59
Tango::GroupAttrReply::operator>>
bool operator>>(T &dest)
Get attribute data and extract them.
Definition: group.h:1778
Tango::Device_5Impl::read_pipe_5
virtual Tango::DevPipeData * read_pipe_5(const char *name, const Tango::ClntIdent &cl_ident)
Read pipe value.
Tango::DeviceAttributeConfig::max_dim_y
int max_dim_y
Max dim Y.
Definition: devapi.h:176
Tango::Util::get_server_version
string & get_server_version()
Get the device server version.
Definition: utils.h:350
Tango::Attribute::remove_configuration
void remove_configuration()
Remove the attribute configuration from the database.
Tango::AttrReadEvent::attr_names
vector< string > & attr_names
The attribute name list.
Definition: devasyn.h:144
Tango::EventData::attr_value
DeviceAttribute * attr_value
The attribute data.
Definition: event.h:93
Tango::DeviceClass::db_class
DbClass * db_class
The associated DbClass object.
Definition: deviceclass.h:428
Tango::DbDevFullInfo::stopped_date
string stopped_date
Date of the last device un-export (empty if not set in DB)
Definition: dbapi.h:843
Tango::Except::re_throw_exception
static TANGO_NORETURN void re_throw_exception(Tango::DevFailed &ex, const string &reason, const string &desc, const string &origin, Tango::ErrSeverity sever=Tango::ERR)
Re-throw a TANGO DevFailed exception with one more error.
Definition: except.h:1180
Tango::Attribute::label
string label
The attribute label.
Definition: attribute.h:2014
Tango::WAttribute::get_write_value
void get_write_value(Tango::DevLong &val)
Retrieve the new value for writable attribute when attribute data type is Tango::DevLong.
Definition: w_attribute.h:224
Tango::DbDevInfo::server
string server
The full device server process name.
Definition: dbapi.h:800
Tango::UserDefaultPipeProp::set_label
void set_label(const string &def_label)
Set default label property.
Definition: pipedesc.h:78
Tango::DeviceClass::class_pipe
MultiClassPipe * class_pipe
Pointer to the class multi pipe object.
Definition: deviceclass.h:436
Tango::Util::get_ds_exec_name
string & get_ds_exec_name()
Get the device server executable name.
Definition: utils.h:298
Tango::ImageAttr::ImageAttr
ImageAttr(const char *name, long data_type, long max_x, long max_y)
Constructs a newly allocated ImageAttr object.
Tango::Attribute::min_value
Tango::Attr_CheckVal min_value
The attribute minimum value in binary format.
Definition: attribute.h:2096
Tango::Attribute::get_max_dim_y
long get_max_dim_y()
Get attribute maximum data size in y dimension.
Definition: attribute.h:426
Tango::AttributeAlarmInfo::min_warning
string min_warning
Min warning level.
Definition: devapi.h:227
Tango::Attribute::set_date
void set_date(time_t new_date)
Set attribute date.
Definition: attribute.h:374
Tango::Util::get_host_name
string & get_host_name()
Get the host name where the device server process is running.
Definition: utils.h:314
Tango::Command::set_out_type_desc
void set_out_type_desc(const char *desc)
Set the output parameter description field.
Definition: command.h:356
Tango::AttrProp::set_str
void set_str(const char *value_str)
Set string representation of the attribute property value.
Definition: attrprop.h:197
Tango::Except::throw_exception
static TANGO_NORETURN void throw_exception(const string &reason, char *desc, const string &origin, Tango::ErrSeverity sever=Tango::ERR)
Generate and throw a TANGO DevFailed exception.
Definition: except.h:687
Tango::SpectrumAttr
User class to create a one dimension attribute object.
Definition: attrdesc.h:634
Tango::Pipe::disp_level
Tango::DispLevel disp_level
The pipe display level.
Definition: pipe.h:439
Tango::WPipe::WPipe
WPipe()
Constructs a newly allocated WPipe object.
Definition: w_pipe.h:64
Tango::Attribute::display_unit
string display_unit
The attribute display unit.
Definition: attribute.h:2030
Tango::DeviceImpl::DeviceImpl
DeviceImpl(DeviceClass *device_class, string &dev_name)
Constructs a newly allocated DeviceImpl object from its name.
Tango::UserDefaultAttrProp::set_max_alarm
void set_max_alarm(const char *def_max_alarm)
Set default max_alarm property.
Definition: attrdesc.h:174
Tango::PeriodicEventInfo::period
string period
Event period.
Definition: devapi.h:266
Tango::UserDefaultAttrProp::set_event_rel_change
void set_event_rel_change(const char *def_rel_change)
Set default change event rel_change property.
Definition: attrdesc.h:234
Tango::Pipe::reset_exceptions
void reset_exceptions(DevicePipeBlob::except_flags fl)
Reset one exception flag.
Definition: pipe.h:323
Tango::Device_3Impl::info_3
virtual Tango::DevInfo_3 * info_3()
Get device info.
Tango::ErrorManagementType
ErrorManagementType
Possible error management with write_read_attribute call.
Definition: tango_const.h:1131
Tango::CmdHistoryStack::length
void length(long nb)
Reserve memory for stack elements.
Definition: pollext.h:934
Tango::Except::throw_exception
static TANGO_NORETURN void throw_exception(const string &reason, const char *desc, const char *origin, Tango::ErrSeverity sever=Tango::ERR)
Generate and throw a TANGO DevFailed exception.
Definition: except.h:514
Tango::DbDatum::reset_exceptions
void reset_exceptions(except_flags fl)
Reset one exception flag.
Definition: dbapi.h:586
Tango::DeviceImpl::get_device_attr
MultiAttribute * get_device_attr()
Get device multi attribute object.
Definition: device.h:260
Tango::Command::set_in_type_desc
void set_in_type_desc(const char *desc)
Set the input parameter description field.
Definition: command.h:342
Tango::Attribute::fire_change_event
void fire_change_event(DevFailed *except=NULL)
Fire a change event for the attribute value.
Tango::DeviceImpl::poll_attribute
void poll_attribute(const string &att_name, int period)
Start polling one attribute.
Tango::Util::set_class_list
void set_class_list(vector< DeviceClass * > *list)
Set the DeviceClass list pointer.
Definition: utils.h:364
Tango::UserDefaultAttrProp::set_display_unit
void set_display_unit(const char *def_disp_unit)
Set default display unit property.
Definition: attrdesc.h:124
Tango::operator<<
ostream & operator<<(ostream &lval, const DevVarEncodedArray &rval)
Print a DevVarEncodedArray.
Tango::AttrProp::is_val
bool is_val()
Check if the attribute property value has been assigned.
Definition: attrprop.h:218
Tango::Util::get_serial_model
SerialModel get_serial_model()
Get the serialization model.
Definition: utils.h:394
Tango::DeviceImpl::push_archive_event
void push_archive_event(string attr_name, DevFailed *except=NULL)
Push an archive event for state or status attribute or push an exception as archive event for any att...
Tango::Attr::is_check_archive_criteria
bool is_check_archive_criteria()
Check if the archive event criteria should be checked when firing the event manually.
Definition: attrdesc.h:523
Tango::DoubleAttrProp::operator=
DoubleAttrProp & operator=(const vector< T > &values)
Assign the values of the compound attribute property.
Definition: attrprop.h:339
Tango::DeviceImpl::read_attr
virtual void read_attr(Attribute &attr)
Set the attribute read value.
Definition: device.h:486
Tango::Device_4Impl::command_inout_4
virtual CORBA::Any * command_inout_4(const char *in_cmd, const CORBA::Any &in_data, Tango::DevSource source, const Tango::ClntIdent &cl_ident)
Execute a command.
Tango::MultiAttribute::check_alarm
bool check_alarm()
Check alarm on all attribute(s) with an alarm defined.
Tango::DataReadyEventData::attr_name
string attr_name
The attribute name.
Definition: event.h:285
Tango::DoubleAttrProp::DoubleAttrProp
DoubleAttrProp(const string &value_str)
Create a new DoubleAttrProp object.
Definition: attrprop.h:323
Tango::Command::insert
CORBA::Any * insert()
Create an empty CORBA Any object.
Tango::Attribute::get_writable
Tango::AttrWriteType get_writable()
Get the attribute writable type (RO/WO/RW).
Definition: attribute.h:304
Tango::MultiAttrProp::enum_labels
vector< string > enum_labels
Enumeration labels (For DevEnum data type)
Definition: attrprop.h:647
Tango::Command::set_out_type_desc
void set_out_type_desc(string &desc)
Set the output parameter description field.
Definition: command.h:363
Tango::WAttribute::set_min_value
void set_min_value(const T &min_value)
Set attribute minimum value.
Tango::Attribute::is_polled
bool is_polled()
Check if the attribute is polled .
Tango::Util::get_poa
PortableServer::POA_ptr get_poa()
Get a reference to the CORBA Portable Object Adapter (POA)
Definition: utils.h:233
Tango::AttrConfEventData::event
string event
The event name.
Definition: event.h:192
Tango::WAttribute::get_write_value
void get_write_value(Tango::DevString &val)
Retrieve the new value for writable attribute when attribute data type is Tango::DevString.
Definition: w_attribute.h:301
Tango::MultiAttrProp::label
string label
Attribute label.
Definition: attrprop.h:567
Tango::AttrWrittenEvent
Asynchronous write attribute execution callback data.
Definition: devasyn.h:182
Tango::DeviceAttributeConfig::writable
AttrWriteType writable
Writable type (Read, Write,...)
Definition: devapi.h:172
Tango::AttrReadEvent
Asynchronous read attribute execution callback data.
Definition: devasyn.h:129
Tango::Group::contains
virtual bool contains(const std::string &pattern, bool fwd=true)
Check if the hierarchy contains groups and/or devices which name matches the specified pattern.
Tango::MEMORIZED_WRITE_INIT
Memorized attribute with memorized value writen at initialization.
Definition: devapi.h:319
Tango::UserDefaultAttrProp
User class to set attribute default properties.
Definition: attrdesc.h:64
Tango::PUSH_CALLBACK
Callback push model.
Definition: devapi.h:414
Tango::CallBack::push_event
virtual void push_event(EventData *ed)
Event callback method.
Definition: devasyn.h:280
Tango::Attr::set_memorized_init
void set_memorized_init(bool write_on_init)
Set the initialisation flag for memorized attributes true = the setpoint value will be written to the...
Definition: attrdesc.h:467
Tango::TemplCommandOut::TemplCommandOut
TemplCommandOut(const char *cmd_name, OUTARG(DeviceImpl::*exe_method)())
Constructs a newly allocated TemplCommandOut object for a command with a name and an execution method...
Definition: command.h:3123
Tango::GroupCmdReplyList
Group reply for a command execution.
Definition: group.h:469
Tango::AttrProp::operator=
AttrProp & operator=(const T &value)
Assign the value of the attribute property.
Definition: attrprop.h:113
Tango::DeviceImpl::create_DevVarFloatArray
Tango::DevVarFloatArray * create_DevVarFloatArray(float *ptr, long length)
Create a DevVarFloatArray type.
Definition: device.h:779
Tango::Device_4Impl::write_read_attributes_4
virtual Tango::AttributeValueList_4 * write_read_attributes_4(const Tango::AttributeValueList_4 &values, const Tango::ClntIdent &cl_ident)
Write then read attribute(s) value.
Tango::DeviceData
Fundamental type for sending and receiving data from device commands.
Definition: devapi.h:64
Tango::Attribute::is_max_warning
bool is_max_warning()
Check if the attribute is in maximum warning condition .
Definition: attribute.h:260
Tango::Attribute::set_min_warning
void set_min_warning(const T &new_min_warning)
Set attribute minimum warning.
Tango::GroupAttrReplyList
Group reply for a read_attribute execution.
Definition: group.h:534
Tango::Pipe::~Pipe
virtual ~Pipe()
The object desctructor.
Definition: pipe.h:112
Tango::GroupReply::get_err_stack
const DevErrorList & get_err_stack() const
Get error stack.
Definition: group.h:220
Tango::DeviceClass::command_list
vector< Command * > command_list
The command(s) list.
Definition: deviceclass.h:420
Tango::Device_5Impl::write_pipe_5
virtual void write_pipe_5(const Tango::DevPipeData &pipe_value, const Tango::ClntIdent &cl_ident)
Write pipe value.
Tango::TimedAttrData
This class is used to store one element of an attribute history stack.
Definition: pollext.h:152
Tango::Pipe::Pipe
Pipe()
Constructs a newly allocated Pipe object.
Definition: pipe.h:89
Tango::DeviceImpl::set_d_var
void set_d_var(Tango::Device_ptr d)
Set the associated CORBA object reference.
Definition: device.h:291
Tango::DoubleAttrProp::get_val
vector< T > get_val()
Get the vector containing the compound attribute property values.
Definition: attrprop.h:415
Tango::Except::throw_exception
static TANGO_NORETURN void throw_exception(const string &reason, const char *desc, const string &origin, Tango::ErrSeverity sever=Tango::ERR)
Generate and throw a TANGO DevFailed exception.
Definition: except.h:480
Tango::Util::~Util
~Util()
The class destructor.
Tango::CallBack::push_event
virtual void push_event(DevIntrChangeEventData *dic)
Device interface change event callback method.
Definition: devasyn.h:308
Tango::NamedDevFailed::idx_in_call
long idx_in_call
Index in the write_attributes method parameter vector of the attribute which failed.
Definition: apiexcept.h:58
Tango::UserDefaultFwdAttrProp::UserDefaultFwdAttrProp
UserDefaultFwdAttrProp()
Constructs a newly allocated UserDefaultAttrProp object.
Definition: fwdattrdesc.h:68
Tango::DeviceImpl::get_state
Tango::DevState & get_state()
Get device state.
Definition: device.h:216
Tango::Group::remove_all
virtual void remove_all()
Removes all elements in the group.
Tango::Attribute::data_type
long data_type
The attribute data type.
Definition: attribute.h:1992
Tango::CallBack::attr_read
virtual void attr_read(AttrReadEvent *are)
Asynchronous read attribute execution callback method.
Definition: devasyn.h:261
Tango::Util::set_trace_level
void set_trace_level(int level)
Set the process trace level.
Definition: utils.h:240
Tango::Command::in_type_desc
string in_type_desc
The command input parameter description.
Definition: command.h:1233
Tango::WAttribute::get_write_value
void get_write_value(Tango::DevULong64 &val)
Retrieve the new value for writable attribute when attribute data type is Tango::DevULong64.
Definition: w_attribute.h:396
Tango::MultiAttrProp::standard_unit
string standard_unit
Attribute standard_unit.
Definition: attrprop.h:579
Tango::Attribute::get_label
string & get_label()
Get attribute label property.
Definition: attribute.h:380
Tango::Attribute::get_data_size
long get_data_size()
Get attribute data size.
Definition: attribute.h:400
Tango::Attribute::get_max_warning
void get_max_warning(T &max_war)
Get attribute maximum warning or throw an exception if the attribute does not have the maximum warnin...
Tango::AttributeInfoEx::root_attr_name
string root_attr_name
Root attribute name (in case of forwarded attribute)
Definition: devapi.h:335
Tango::DeviceClass::get_db_class
DbClass * get_db_class()
Get a pointer to the associated DbClass object.
Definition: deviceclass.h:264
Tango::PeriodicEventInfo::extensions
vector< string > extensions
Future extensions.
Definition: devapi.h:267
Tango::AttrWrittenEvent::device
Tango::DeviceProxy * device
Definition: devasyn.h:194
Tango::DbDevImportInfo::exported
long exported
The exported flag.
Definition: dbapi.h:819
Tango::AttrWrittenEvent::attr_names
vector< string > & attr_names
The attribute name list.
Definition: devasyn.h:195
Tango::WAttribute::get_write_value
void get_write_value(const Tango::DevBoolean *&ptr)
Retrieve the new value for writable attribute when attribute data type is Tango::DevBoolean and the a...
Definition: w_attribute.h:330
Tango::Group::get_device_list
std::vector< std::string > get_device_list(bool fwd=true)
Returns the list of devices currently in the hierarchy.
Tango::DeviceImpl
Base class for all TANGO device.
Definition: device.h:90
Tango::Attribute::get_min_alarm
void get_min_alarm(T &min_al)
Get attribute minimum alarm or throw an exception if the attribute does not have the minimum alarm.
Tango::EventData::errors
DevErrorList errors
The error stack.
Definition: event.h:95
Tango::DeviceImpl::set_device_attr
void set_device_attr(MultiAttribute *ptr)
Set device multi attribute object.
Definition: device.h:270
Tango::Attribute::format
string format
The attribute format.
Definition: attribute.h:2036
Tango::Util::fill_attr_polling_buffer
void fill_attr_polling_buffer(DeviceImpl *dev, string &att_name, AttrHistoryStack< T > &data)
Fill polling buffer for polled attribute.
Tango::MultiAttribute::MultiAttribute
MultiAttribute(string &dev_name, DeviceClass *dev_class, DeviceImpl *dev)
Create a new MultiAttribute object.
Tango::DeviceImpl::get_command_poll_period
int get_command_poll_period(const string &cmd_name)
Get command polling period.
Tango::WAttribute::get_write_value
void get_write_value(Tango::DevUShort &val)
Retrieve the new value for writable attribute when attribute data type is Tango::DevUShort.
Definition: w_attribute.h:339
Tango::Attribute::name
string name
The attribute name.
Definition: attribute.h:1980
Tango::GroupReply::has_failed
bool has_failed() const
Check if an error has occured.
Definition: group.h:187
Tango::DeviceImpl::set_obj_id
void set_obj_id(PortableServer::ObjectId_var o)
Set the associated CORBA object identifier.
Definition: device.h:312
Tango::Group::add
virtual void add(Group *group, int tmo_ms=-1)
Attaches a (sub) group.
Tango::DeviceClass::get_name
string & get_name()
Get the TANGO device class name.
Definition: deviceclass.h:210
Tango::DeviceImpl::push_pipe_event
void push_pipe_event(const string &pipe_name, DevFailed *except)
Push a pipe event with exception data as value The method needs the pipe name as input.
Tango::DevicePipe
Fundamental type for sending/receiving data from device pipes.
Definition: devapi.h:811
Tango::TemplCommandIn::init_types
void init_types()
Initialise command input and output types.
Definition: command.h:2723
Tango::TemplCommand::TemplCommand
TemplCommand()
Constructs a newly allocated Command object.
Definition: command.h:1303
Tango::PipeEventData::pipe_value
DevicePipe * pipe_value
The pipe data.
Definition: event.h:459
Tango::SpectrumAttr::SpectrumAttr
SpectrumAttr(const char *name, long data_type, long max_x)
Constructs a newly allocated SpectrumAttr object.
Tango::GroupAttrReply
Single element group reply for a read attribute execution.
Definition: group.h:338
Tango::DeviceImpl::add_attribute
void add_attribute(Attr *new_attr)
Add a new attribute to the device attribute list.
Tango::Attribute::set_value
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).
Tango::Command::execute
virtual CORBA::Any * execute(DeviceImpl *dev, const CORBA::Any &in_any)=0
Execute the command.
Tango::Util::add_class_to_list
void add_class_to_list(DeviceClass *cl)
Add a DeviceClass to the DeviceClass list pointer.
Definition: utils.h:371
Tango::DbHistory
Class used to retrieve database object history.
Definition: dbapi.h:724
Tango::Attribute::set_assoc_ind
void set_assoc_ind(long val)
Set index of the associated writable attribute.
Definition: attribute.h:342
Tango::DbDatum::exceptions
void exceptions(bitset< DbDatum::numFlags > fl)
Set exception flag.
Definition: dbapi.h:558
Tango::ChangeEventInfo
Attribute change event configuration.
Definition: devapi.h:244
Tango::Util::set_polling_before_9
void set_polling_before_9(bool val)
Set the polling thread algorithm to the algorithum used before Tango 9.
Definition: utils.h:507
Tango::Util::get_device_list_by_class
vector< DeviceImpl * > & get_device_list_by_class(const string &class_name)
Get the list of device references for a given TANGO class.
Tango::DeviceClass::set_type
void set_type(const char *dev_type)
Set the TANGO device type name.
Definition: deviceclass.h:288
Tango::GroupCmdReply::operator>>
bool operator>>(T &dest)
Get command data and extract them.
Definition: group.h:1716
Tango::CmdHistoryStack
This class is a used to pass a command result history when the user directly fills the command pollin...
Definition: pollext.h:909
Tango::DeviceDataHistory::get_err_stack
const DevErrorList & get_err_stack()
Get record error stack.
Definition: devapi.h:555
Tango::DeviceClass::get_command_list
vector< Command * > & get_command_list()
Get the command object vector.
Definition: deviceclass.h:234
Tango::DeviceImpl::get_status
string & get_status()
Get device status.
Definition: device.h:191
Tango::NONE
The attribute is not memorized.
Definition: devapi.h:317
Tango::AttributeAlarmInfo::delta_val
string delta_val
Delta val RDS.
Definition: devapi.h:230
Tango::DeviceAttributeConfig::standard_unit
string standard_unit
Standard unit.
Definition: devapi.h:180
Tango::DevIntrChangeEventData::device
DeviceProxy * device
Definition: event.h:370
Tango::Device_4Impl::write_attributes_4
virtual void write_attributes_4(const Tango::AttributeValueList_4 &values, const Tango::ClntIdent &cl_ident)
Write attribute(s) value.
Tango::AttrHistoryStack::length
void length(long nb)
Reserve memory for stack elements.
Definition: pollext.h:747
Tango::Except::throw_exception
static TANGO_NORETURN void throw_exception(char *reason, const string &desc, const string &origin, Tango::ErrSeverity sever=Tango::ERR)
Generate and throw a TANGO DevFailed exception.
Definition: except.h:761
Tango::Util::server_set_event_loop
void server_set_event_loop(bool(*f_ptr)())
Set the server event loop.
Definition: utils.h:681
Tango::Except::re_throw_exception
static TANGO_NORETURN void re_throw_exception(Tango::DevFailed &ex, const char *reason, const string &desc, const string &origin, Tango::ErrSeverity sever=Tango::ERR)
Re-throw a TANGO DevFailed exception with one more error.
Definition: except.h:1324
Tango::NOT_KNOWN
Device too old to get this info.
Definition: devapi.h:316
Tango::DeviceAttribute
Fundamental type for sending an dreceiving data to and from device attributes.
Definition: devapi.h:73
Tango::DataReadyEventData::event
string event
The event name.
Definition: event.h:286
Tango::Device_2Impl::command_inout_history_2
virtual Tango::DevCmdHistoryList * command_inout_history_2(const char *command, CORBA::Long n)
Read command value history.
Tango::Attribute::is_change_event
bool is_change_event()
Check if the change event is fired manually (without polling) for this attribute.
Definition: attribute.h:1642
Tango::MultiAttrProp::max_alarm
AttrProp< T > max_alarm
Attribute max_alarm.
Definition: attrprop.h:603
Tango::WAttribute::get_write_value
void get_write_value(Tango::DevState &val)
Retrieve the new value for writable attribute when attribute data type is Tango::DevState.
Definition: w_attribute.h:415
Tango::DbDevImportInfo::version
string version
The device version (as a string)
Definition: dbapi.h:821
Tango::Group::remove
virtual void remove(const std::string &pattern, bool fwd=true)
Removes any group or device which name matches the specified pattern.
Tango::AttrWrittenEvent::err
bool err
A boolean flag set to true if the request failed. False otherwise.
Definition: devasyn.h:196
Tango::DeviceImpl::signal_handler
virtual void signal_handler(long signo)
Signal handler.
Tango::MultiAttrProp::abs_change
DoubleAttrProp< DevDouble > abs_change
Attribute abs_change.
Definition: attrprop.h:635
Tango::WPipe::get_data_elt_nb
size_t get_data_elt_nb()
Get root blob data element number.
Definition: w_pipe.h:127
Tango::ALL_ASYNCH
All request.
Definition: devapi.h:403
Tango::DeviceImpl::create_DevVarULongArray
Tango::DevVarULongArray * create_DevVarULongArray(DevULong *ptr, long length)
Create a DevVarULongArray type.
Definition: device.h:828
Tango::DeviceImpl::create_DevVarULong64Array
Tango::DevVarULong64Array * create_DevVarULong64Array(DevULong64 *ptr, long length)
Create a DevVarULong64Array type.
Definition: device.h:846
Tango::Util::get_notifd_event_supplier
NotifdEventSupplier * get_notifd_event_supplier()
Get a reference to the notifd TANGO EventSupplier object.
Definition: utils.h:401
Tango::Attribute::set_archive_event
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 start...
Definition: attribute.h:1689
Tango::Attribute::is_rds_alarm
bool is_rds_alarm()
Check if the attribute is in RDS alarm condition .
Definition: attribute.h:267
Tango::DevCommandInfo::cmd_name
string cmd_name
The command name.
Definition: devapi.h:103
Tango::AttrConfEventData::attr_conf
AttributeInfoEx * attr_conf
The attribute configuration.
Definition: event.h:193
Tango::DevicePipeBlob::get_name
const string & get_name()
Get blob name.
Definition: devapi.h:164
Tango::DeviceData::exceptions
void exceptions(bitset< numFlags > fl)
Set exception flag.
Definition: devapi.h:510
Tango::DeviceImpl::remove_attribute
void remove_attribute(Attr *rem_attr, bool free_it=false, bool clean_db=true)
Remove one attribute from the device attribute list.
Tango::AttributeAlarmInfo
struct Tango::AttributeAlarmInfo AttributeAlarmInfo
Attribute alarms configuration.
Tango::Util::Util
Util(int argc, char *argv[])
Constructs a newly allocated Util object.
Tango::UserDefaultAttrProp::set_format
void set_format(const char *def_format)
Set default format property.
Definition: attrdesc.h:134
Tango::WAttribute::get_write_value
void get_write_value(const Tango::DevULong64 *&ptr)
Retrieve the new value for writable attribute when attribute data type is Tango::DevLong64 and the at...
Definition: w_attribute.h:406
Tango::Util::fill_cmd_polling_buffer
void fill_cmd_polling_buffer(DeviceImpl *dev, string &cmd_name, CmdHistoryStack< T > &data)
Fill polling buffer for polled command.
Tango::Attribute::date
bool date
Flag set to true if the date must be set.
Definition: attribute.h:1971
Tango::MEMORIZED
Memorized attribute.
Definition: devapi.h:318
Tango::DeviceImpl::dev_state
virtual Tango::DevState dev_state()
Get device state.
Tango::Attribute::writable_attr_name
string writable_attr_name
The name of the associated writable attribute.
Definition: attribute.h:2040
Tango::DeviceImpl::get_prev_state
Tango::DevState & get_prev_state()
Get device's previous state.
Definition: device.h:225
Tango::DeviceImpl::append_status
void append_status(const string &stat, bool new_line=false)
Appends a string to the device status.
Definition: device.h:206
Tango::Pipe::set_data_elt_nb
void set_data_elt_nb(size_t nb)
Set blob data element number.
Definition: pipe.h:249
Tango::CommandInfoList
vector< CommandInfo > CommandInfoList
A vector of CommandInfo structure.
Definition: devapi.h:146
Tango::NamedDevFailedList::get_faulty_attr_nb
size_t get_faulty_attr_nb()
Get faulty attribute number.
Definition: apiexcept.h:89
Tango::AttributeInfoEx::memorized
AttrMemorizedType memorized
The attribute memorization type.
Definition: devapi.h:336
Tango::WAttribute::get_write_value
void get_write_value(const Tango::DevState *&ptr)
Retrieve the new value for writable attribute when attribute data type is Tango::DevLong64 and the at...
Definition: w_attribute.h:425
Tango::DeviceImpl::push_event
void push_event(string attr_name, vector< string > &filt_names, vector< double > &filt_vals, DevFailed *except=NULL)
Push a user event for a state or status attribute or return an exception as user event for any attrib...
Tango::DeviceImpl::register_signal
void register_signal(long signo, bool own_handler=false)
Register a signal to be executed in a signal handler.
Tango::PipeInfo::name
string name
Pipe name.
Definition: devapi.h:372
Tango::Util::get_ds_inst_name
string & get_ds_inst_name()
Get the device server instance name.
Definition: utils.h:291
Tango::UserDefaultAttrProp::set_event_abs_change
void set_event_abs_change(const char *def_abs_change)
Set default change event abs_change property.
Definition: attrdesc.h:224
Tango::EventType
EventType
Possible event type.
Definition: tango_const.h:1082
Tango::DeviceClass::attribute_factory
virtual void attribute_factory(vector< Attr * > &)
Create all the attributes name supported by this class of device.
Definition: deviceclass.h:136
Tango::CallBack::push_event
virtual void push_event(PipeEventData *ped)
Pipe event callback method.
Definition: devasyn.h:317
Tango::ArchiveEventInfo::extensions
vector< string > extensions
Future exetnsions.
Definition: devapi.h:285
Tango::DeviceImpl::remove_command
void remove_command(Command *rem_cmd, bool free_it=false, bool clean_db=true)
Remove one command from the device command list.
Tango::DoubleAttrProp::is_val
bool is_val()
Check if the compound attribute property values have been assigned.
Definition: attrprop.h:495
Tango::MultiAttrProp::min_warning
AttrProp< T > min_warning
Attribute min_warning.
Definition: attrprop.h:607
Tango::Group::read_attribute_reply
GroupAttrReplyList read_attribute_reply(long req_id, long tmo_ms=0)
Returns the results of an asynchronous attribute reading.
Tango::Device_5Impl::get_pipe_config_5
virtual Tango::PipeConfigList * get_pipe_config_5(const Tango::DevVarStringArray &names)
Get pipe(s) configuration.
Tango::Command::get_polling_period
long get_polling_period()
Get the command polling period.
Definition: command.h:384
Tango::Device_3Impl::write_attributes_3
virtual void write_attributes_3(const Tango::AttributeValueList &values)
Write attribute(s) value.
Tango::Device_5Impl::set_pipe_config_5
virtual void set_pipe_config_5(const Tango::PipeConfigList &new_conf, const Tango::ClntIdent &cl_ident)
Set pipe(s) configuration.
Tango::TemplCommand::allowed_ptr
bool(DeviceImpl::* allowed_ptr)(const CORBA::Any &)
The command allowed method object reference.
Definition: command.h:1651
Tango::MultiAttrProp::display_unit
string display_unit
Attribute display_unit.
Definition: attrprop.h:583
Tango::CmdDoneEvent::device
Tango::DeviceProxy * device
Definition: devasyn.h:90
Tango::DbDevInfo::_class
string _class
The device class name.
Definition: dbapi.h:799
Tango::Attribute::delta_val_str
string delta_val_str
The attribute delta value RDS alarm.
Definition: attribute.h:2068
Tango::Pipe::exceptions
bitset< DevicePipeBlob::numFlags > exceptions()
Get exception flag.
Definition: pipe.h:315
Tango::WAttribute::get_write_value
void get_write_value(Tango::DevULong &val)
Retrieve the new value for writable attribute when attribute data type is Tango::DevULong.
Definition: w_attribute.h:377
Tango::Util::_UseDb
static TANGO_IMP bool _UseDb
The database use flag (Use with extreme care).
Definition: utils.h:695
Tango::WAttribute::get_max_value
void get_max_value(T &max_value)
Get attribute maximum value or throws an exception if the attribute does not have a maximum value.
Tango::WAttribute::~WAttribute
~WAttribute()
The WAttribute desctructor.
Tango::PERIODIC_EVENT
Periodic event.
Definition: tango_const.h:1085
Tango::DeviceImpl::poll_command
void poll_command(const string &cmd_name, int period)
Start polling a command.
Tango::ChangeEventInfo::abs_change
string abs_change
Absolute change threshold.
Definition: devapi.h:250
Tango::AttrProp
This class represents a Tango attribute property.
Definition: attrprop.h:65
Tango::Group::set_timeout_millis
virtual void set_timeout_millis(int tmo_ms)
Set client side timeout for all devices in the group.
Tango::DevIntrChangeEventData::cmd_list
CommandInfoList cmd_list
Device command list info.
Definition: event.h:373
Tango::WPipe::get_data_elt_names
vector< string > get_data_elt_names()
Get root blob data elements name.
Definition: w_pipe.h:135
Tango::PipeEventData::err
bool err
A boolean flag set to true if the request failed. False otherwise.
Definition: event.h:460
Tango::WPipe::operator>>
WPipe & operator>>(short &datum)
Extract data from a device pipe.
Tango::MultiAttribute::get_attr_nb
unsigned long get_attr_nb()
Get attribute number.
Definition: multiattribute.h:192
Tango::Device_2Impl::~Device_2Impl
virtual ~Device_2Impl()
The device desctructor.
Definition: device_2.h:159
Tango::AttributeAlarmInfo
Attribute alarms configuration.
Definition: devapi.h:220
Tango::UserDefaultAttrProp::set_standard_unit
void set_standard_unit(const char *def_std_unit)
Set default standard unit property.
Definition: attrdesc.h:114
Tango::DoubleAttrProp::DoubleAttrProp
DoubleAttrProp(const vector< T > &values)
Create a new DoubleAttrProp object.
Definition: attrprop.h:288
Tango::MultiAttrProp::min_value
AttrProp< T > min_value
Attribute min_value.
Definition: attrprop.h:591
Tango::WPipe::~WPipe
virtual ~WPipe()
The object desctructor.
Definition: w_pipe.h:86
Tango::SpectrumAttr::~SpectrumAttr
~SpectrumAttr()
The object destructor.
Definition: attrdesc.h:704
Tango::DeviceClass::pipe_list
vector< Pipe * > pipe_list
The pipe(s) list.
Definition: deviceclass.h:440
Tango::AttrConfEventData::device
DeviceProxy * device
Definition: event.h:190
Tango::PipeInfo::disp_level
Tango::DispLevel disp_level
Display level.
Definition: devapi.h:375
Tango::UserDefaultAttrProp::set_delta_t
void set_delta_t(const char *def_delta_t)
Set default RDS alarm delta_t property.
Definition: attrdesc.h:204
Tango::DevIntrChangeEventData
Device interface change event callback execution data.
Definition: event.h:353
Tango::Util::get_class_list
const vector< DeviceClass * > * get_class_list()
Get the DeviceClass list pointer.
Definition: utils.h:378
Tango::CallBack
Event and asynchronous (callback model) calls base class.
Definition: devasyn.h:234
Tango::TemplCommandIn
This class is a class representing a command in the template command model with input parameter but w...
Definition: command.h:2245
Tango::DevicePipeBlob::set_data_elt_names
void set_data_elt_names(vector< string > &names)
Set blob data element number and names.
Tango::UserDefaultAttrProp::set_event_period
void set_event_period(const char *def_period)
Set default periodic event period property.
Definition: attrdesc.h:244
Tango::CmdHistoryStack::clear
void clear()
Clear the stack.
Definition: pollext.h:939
Tango::Pipe::has_failed
bool has_failed()
Check insertion/extraction success.
Definition: pipe.h:340
Tango::MultiAttribute::get_alarm_list
vector< long > & get_alarm_list()
Get list of attribute with an alarm level defined.
Definition: multiattribute.h:186
Tango::Util::get_database
Database * get_database()
Get a reference to the TANGO database object.
Definition: utils.h:553
Tango::Attribute::get_x
long get_x()
Get attribute data size in x dimension.
Definition: attribute.h:406
Tango::DoubleAttrProp::DoubleAttrProp
DoubleAttrProp(const T &value)
Create a new DoubleAttrProp object.
Definition: attrprop.h:305
Tango::Attribute::max_warning_str
string max_warning_str
The attribute maximum warning.
Definition: attribute.h:2064
Tango::GroupCmdReply
Single element group reply for a command execution.
Definition: group.h:251
Tango::DeviceClass::set_default_command
void set_default_command(Command *cmd)
Set a Tango classs default command.
Definition: deviceclass.h:400
Tango::Except::throw_exception
static TANGO_NORETURN void throw_exception(const char *reason, const char *desc, const char *origin, Tango::ErrSeverity sever=Tango::ERR)
Generate and throw a TANGO DevFailed exception.
Definition: except.h:122
Tango::DevIntrChangeEventData::err
bool err
A boolean flag set to true if the request failed. False otherwise.
Definition: event.h:378
Tango::Attribute::get_min_warning
void get_min_warning(T &min_war)
Get attribute minimum warning or throw an exception if the attribute does not have the minimum warnin...
Tango::DevCommandInfo::in_type
long in_type
Input parameter data type.
Definition: devapi.h:105
Tango::DeviceAttributeConfig::description
string description
Description.
Definition: devapi.h:177
Tango::DeviceImpl::delete_device
virtual void delete_device()
Delete a device.
Definition: device.h:442
Tango::CmdDoneEvent::err
bool err
A boolean flag set to true if the command failed. False otherwise.
Definition: devasyn.h:93
Tango::UserDefaultAttrProp::set_archive_event_period
void set_archive_event_period(const char *def_archive_period)
Set default archive event period property.
Definition: attrdesc.h:274
Tango::Attr::set_archive_event
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 starte...
Definition: attrdesc.h:506
Tango::WPipe
This class is a class representing a writable pipe in the TANGO device server pattern.
Definition: w_pipe.h:52
Tango::Util::instance
static TANGO_IMP_EXP Util * instance(bool exit=true)
Get the singleton object reference.
Tango::DeviceClass::device_name_factory
virtual void device_name_factory(vector< string > &list)
Create device(s) name list (for no database device server).
Definition: deviceclass.h:172
Tango::Util::get_polling_threads_pool_size
unsigned long get_polling_threads_pool_size()
Get the polling threads pool size.
Definition: utils.h:500
Tango::Util::server_init
void server_init(bool with_window=false)
Initialise all the device server pattern(s) embedded in a device server process.
Tango::DoubleAttrProp::set_str
void set_str(const char *value_str)
Set string representation of the compound attribute property values.
Definition: attrprop.h:473
Tango::Group::command_inout_reply
GroupCmdReplyList command_inout_reply(long req_id, long tmo_ms=0)
Returns the results of an asynchronous command.
Tango::PipeEventData::device
DeviceProxy * device
Definition: event.h:456
Tango::Group::read_attributes_reply
GroupAttrReplyList read_attributes_reply(long req_id, long tmo_ms=0)
Returns the results of an asynchronous attributes reading.
Tango::CallBack::push_event
virtual void push_event(DataReadyEventData *dre)
Data ready event callback method.
Definition: devasyn.h:299
Tango::Attr::set_data_ready_event
void set_data_ready_event(bool implemented)
Set a flag to indicate that the server fires data ready events.
Definition: attrdesc.h:530
Tango::Util::get_zmq_event_supplier
ZmqEventSupplier * get_zmq_event_supplier()
Get a reference to the ZMQ TANGO EventSupplier object.
Definition: utils.h:408
Tango::Attribute::set_data_ready_event
void set_data_ready_event(bool implemented)
Set a flag to indicate that the server fires data ready events.
Definition: attribute.h:1715
Tango::Except::throw_exception
static TANGO_NORETURN void throw_exception(const char *reason, const string &desc, const string &origin, Tango::ErrSeverity sever=Tango::ERR)
Generate and throw a TANGO DevFailed exception.
Definition: except.h:548
Tango::MultiAttrProp::max_value
AttrProp< T > max_value
Attribute max_value.
Definition: attrprop.h:595
Tango::DevIntrChangeEventData::errors
DevErrorList errors
The error stack.
Definition: event.h:379
Tango::MultiAttribute::get_attr_ind_by_name
long get_attr_ind_by_name(const char *attr_name)
Get Attribute index into the main attribute vector from its name.
Tango::Util::set_serial_model
void set_serial_model(SerialModel ser)
Set the serialization model.
Definition: utils.h:386
Tango::Group::operator[]
virtual DeviceProxy * operator[](long idx)
Returns a reference to the "idx-th" device in the hierarchy.
Tango::Pipe::get_root_blob_name
const string & get_root_blob_name()
Return the root data blob name.
Definition: pipe.h:159
Tango::Device_5Impl::read_attribute_history_5
virtual Tango::DevAttrHistory_5 * read_attribute_history_5(const char *name, CORBA::Long n)
Read attribute value history.
Tango::DeviceAttributeConfig
Base structure for Attribute configuration.
Definition: devapi.h:166
Tango::Attribute::max_value_str
string max_value_str
The attribute maximum value.
Definition: attribute.h:2056
Tango::DevicePipeBlob::get_data_elt_nb
size_t get_data_elt_nb()
Get blob data element number.
Tango::GroupReply::dev_name
const std::string & dev_name() const
Get device name.
Definition: group.h:198
Tango::MultiAttribute::check_alarm
bool check_alarm(const long ind)
Check alarm for one attribute from its index in the main attributes vector.
Definition: multiattribute.h:221
Tango::Attribute::data_size
long data_size
The attribute data size.
Definition: attribute.h:2108
Tango::DATA_READY_EVENT
Data ready event.
Definition: tango_const.h:1089
Tango::Except::throw_named_exception
static TANGO_NORETURN void throw_named_exception(const char *att_name, const char *reason, const char *desc, const char *origin, Tango::ErrSeverity sever=Tango::ERR)
Throw a TANGO MultiDevFailed exception.
Definition: except.h:1732
Tango::DbDevExportInfo::version
string version
The device version.
Definition: dbapi.h:866
Tango::Command::get_lower_name
string & get_lower_name()
Return the command name in lower case letters.
Definition: command.h:300
Tango::Command::Command
Command()
Constructs a newly allocated Command object.
Definition: command.h:95
Tango::Except::throw_exception
static TANGO_NORETURN void throw_exception(const string &reason, char *desc, char *origin, Tango::ErrSeverity sever=Tango::ERR)
Generate and throw a TANGO DevFailed exception.
Definition: except.h:724
Tango::ArchiveEventInfo::archive_abs_change
string archive_abs_change
Archive abosolute change threshold.
Definition: devapi.h:283
Tango::DbDevImportInfo::ior
string ior
The device IOR.
Definition: dbapi.h:820
Tango::DataReadyEventData::attr_data_type
int attr_data_type
The attribute data type.
Definition: event.h:287
Tango::Attribute::set_max_alarm
void set_max_alarm(const T &new_max_alarm)
Set attribute maximum alarm.
Tango::AttrProp::AttrProp
AttrProp()
Default constructor.
Definition: attrprop.h:74
Tango::EventData::event
string event
The event name.
Definition: event.h:92
Tango::Device_3Impl
Base class for all TANGO device since version 3.
Definition: device_3.h:85
Tango::DeviceImpl::get_device_class
DeviceClass * get_device_class()
Get device class singleton.
Definition: device.h:250
Tango::Except::throw_exception
static TANGO_NORETURN void throw_exception(const char *reason, char *desc, const char *origin, Tango::ErrSeverity sever=Tango::ERR)
Generate and throw a TANGO DevFailed exception.
Definition: except.h:193
Tango::DeviceAttributeConfig::min_alarm
string min_alarm
Min alarm.
Definition: devapi.h:185
Tango::DeviceClass::get_class_attr
MultiClassAttribute * get_class_attr()
Get a pointer to the class attributes object.
Definition: deviceclass.h:270
Tango::MultiAttrProp::archive_rel_change
DoubleAttrProp< DevDouble > archive_rel_change
Attribute archive_rel_change.
Definition: attrprop.h:639
Tango::DoubleAttrProp::DoubleAttrProp
DoubleAttrProp(const char *value_str)
Create a new DoubleAttrProp object.
Definition: attrprop.h:317
Tango::ApiUtil
Miscellaneous utility methods usefull in a Tango client.
Definition: devapi.h:55
Tango::Group::command_inout_asynch
long command_inout_asynch(const std::string &c, bool fgt=false, bool fwd=true)
Executes a Tango command on each device in the group asynchronously.
Tango::DeviceImpl::init_device
virtual void init_device()=0
Intialise a device.
Tango::Except::re_throw_exception
static TANGO_NORETURN void re_throw_exception(Tango::DevFailed &ex, char *reason, const string &desc, const string &origin, Tango::ErrSeverity sever=Tango::ERR)
Re-throw a TANGO DevFailed exception with one more error.
Definition: except.h:1548
Tango::DevCommandInfo::in_type_desc
string in_type_desc
Input parameter description.
Definition: devapi.h:107
Tango::DataReadyEventData::err
bool err
A boolean flag set to true if the request failed. False otherwise.
Definition: event.h:290
Tango::Pipe::state
bitset< DevicePipeBlob::numFlags > state()
Get instance insertion/extraction state.
Definition: pipe.h:367
Tango::Attribute::get_assoc_ind
long get_assoc_ind()
Get index of the associated writable attribute.
Definition: attribute.h:335
Tango::Device_2Impl::Device_2Impl
Device_2Impl(DeviceClass *device_class, string &dev_name)
Constructs a newly allocated Device_2Impl object from its name.
Tango::Pipe::get_name
string & get_name()
Return the pipe name.
Definition: pipe.h:131
Tango::Pipe::set_default_properties
void set_default_properties(UserDefaultPipeProp &prop)
Set default attribute properties.
Tango::Util::set_ds_event_buffer_hwm
void set_ds_event_buffer_hwm(DevLong val)
Set device server process event buffer high water mark (HWM)
Definition: utils.h:415
Tango::Attribute::is_min_alarm
bool is_min_alarm()
Check if the attribute is in minimum alarm condition .
Definition: attribute.h:239
Tango::Pipe::set_name
void set_name(string &new_name)
Set the pipe name.
Definition: pipe.h:138
Tango::Except::re_throw_exception
static TANGO_NORETURN void re_throw_exception(Tango::DevFailed &ex, const string &reason, const string &desc, const char *origin, Tango::ErrSeverity sever=Tango::ERR)
Re-throw a TANGO DevFailed exception with one more error.
Definition: except.h:1216
Tango::DeviceImpl::set_data_ready_event
void set_data_ready_event(string attr_name, bool implemented)
Set an implemented flag for the attribute to indicate that the server fires data ready event for this...
Tango::GroupAttrReplyList::reset
void reset()
Reset the object.
Definition: group.h:566
Tango::DeviceImpl::adm_device_name
string adm_device_name
The administration device name.
Definition: device.h:3288
Tango::DeviceImpl::push_data_ready_event
void push_data_ready_event(const string &attr_name, Tango::DevLong ctr=0)
Push a data ready event for the attribute with name specified as the first parameter.
Tango::CmdDoneEvent
Asynchronous command execution callback data.
Definition: devasyn.h:76
Tango::EventData
Event callback execution data.
Definition: event.h:73
Tango::DeviceImpl::add_command
void add_command(Command *new_cmd, bool device=false)
Add a new command to the device command list.
Tango::EventData::err
bool err
A boolean flag set to true if the request failed. False otherwise.
Definition: event.h:94
Tango::Util::unregister_server
void unregister_server()
Unregister a device server process from the TANGO database.
Tango::DeviceAttributeConfig::name
string name
Name.
Definition: devapi.h:171
Tango::GroupReplyList::has_failed
bool has_failed() const
Check if an error has occured.
Definition: group.h:426
Tango::Attribute::set_min_alarm
void set_min_alarm(const T &new_min_alarm)
Set attribute minimum alarm.
Tango::DoubleAttrProp::get_str
string & get_str()
Get string representation of the compound attribute property values.
Definition: attrprop.h:429
Tango::MultiAttrProp
This class represents Tango modifiable attribute properties grouped in one object to facilitate setti...
Definition: attrprop.h:547
Tango::Util::set_polling_threads_pool_size
void set_polling_threads_pool_size(unsigned long thread_nb)
Set the polling threads pool size.
Definition: utils.h:493
Tango::MultiAttribute::get_attr_by_ind
Attribute & get_attr_by_ind(const long ind)
Get Attribute object from its index.
Definition: multiattribute.h:142
Tango::DoubleAttrProp::DoubleAttrProp
DoubleAttrProp()
Default constructor.
Definition: attrprop.h:281
Tango::Pipe::label
string label
The pipe label.
Definition: pipe.h:435
Tango::DeviceAttributeConfig::writable_attr_name
string writable_attr_name
Writable att. name.
Definition: devapi.h:187
Tango::Except::re_throw_exception
static TANGO_NORETURN void re_throw_exception(Tango::DevFailed &ex, const string &reason, char *desc, char *origin, Tango::ErrSeverity sever=Tango::ERR)
Re-throw a TANGO DevFailed exception with one more error.
Definition: except.h:1509
Tango::AttrWrittenEvent::errors
NamedDevFailedList & errors
The error stack.
Definition: devasyn.h:197
Tango::DoubleAttrProp::operator=
DoubleAttrProp & operator=(const T &value)
Assign the values of the compound attribute property.
Definition: attrprop.h:362
Tango::Attribute::get_y
long get_y()
Get attribute data size in y dimension.
Definition: attribute.h:419
Tango::DeviceImpl::create_DevVarCharArray
Tango::DevVarCharArray * create_DevVarCharArray(unsigned char *ptr, long length)
Create a DevVarCharArray type.
Definition: device.h:713
Tango::DeviceImpl::stop_poll_attribute
void stop_poll_attribute(const string &att_name)
Stop polling one attribute.
Tango::DeviceAttributeConfig::format
string format
Format.
Definition: devapi.h:182
Tango::POLLING
Polling mode request.
Definition: devapi.h:401
Tango::INTERFACE_CHANGE_EVENT
Device interface change event.
Definition: tango_const.h:1090
Tango::AttrConfEventData::err
bool err
A boolean flag set to true if the request failed. False otherwise.
Definition: event.h:194
Tango::Device_4Impl::command_inout_history_4
virtual Tango::DevCmdHistory_4 * command_inout_history_4(const char *command, CORBA::Long n)
Read command value history.
Tango::GroupReplyList::reset
void reset()
Reset the object.
Definition: group.h:435
Tango::AttrReadEvent::device
Tango::DeviceProxy * device
Definition: devasyn.h:143
Tango::TemplCommandOut
This class is a class representing a command in the template command model with output parameter but ...
Definition: command.h:2796
Tango::Util::_daemon
static TANGO_IMP bool _daemon
A daemon process flag.
Definition: utils.h:702
Tango::Attribute::get_attr_serial_model
AttrSerialModel get_attr_serial_model()
Get attribute serialization model.
Definition: attribute.h:471
Tango::DoubleAttrProp::operator=
DoubleAttrProp & operator=(const string &value_str)
Assign the values of the compound attribute property.
Definition: attrprop.h:397
Tango::DoubleAttrProp::set_val
void set_val(const vector< T > &values)
Set the compound attribute property values.
Definition: attrprop.h:437
Tango::DeviceAttributeConfig::data_type
int data_type
Data type.
Definition: devapi.h:174
Tango::TemplCommandInOut::execute
CORBA::Any * execute(DeviceImpl *dev, const CORBA::Any &in_any)
Invoke the command execution method given at object creation time.
Definition: command.h:2199
Tango::DevIntrChangeEventData::att_list
AttributeInfoListEx att_list
Device attribute list info.
Definition: event.h:374
Tango::DoubleAttrProp::set_val
void set_val(const T &value)
Set the compound attribute property values.
Definition: attrprop.h:459
Tango::Device_5Impl::get_attribute_config_5
virtual Tango::AttributeConfigList_5 * get_attribute_config_5(const Tango::DevVarStringArray &names)
Get attribute(s) configuration.
Tango::DoubleAttrProp::operator=
DoubleAttrProp & operator=(const char *value_str)
Assign the values of the compound attribute property.
Definition: attrprop.h:383
Tango::GroupAttrReplyList::has_failed
bool has_failed() const
Check if an error has occured.
Definition: group.h:557
Tango::DeviceImpl::device_status
string device_status
The device status.
Definition: device.h:3264
Tango::ArchiveEventInfo::archive_period
string archive_period
Archive event period.
Definition: devapi.h:284
Tango::UserDefaultFwdAttrProp::set_label
void set_label(const string &def_label)
Set default label property.
Definition: fwdattrdesc.h:78
Tango::AttrProp::AttrProp
AttrProp(const char *value_str)
Create a new AttrProp object.
Definition: attrprop.h:92
Tango::WAttribute::get_write_value
void get_write_value(Tango::DevDouble &val)
Retrieve the new value for writable attribute when attribute data type is Tango::DevDouble.
Definition: w_attribute.h:282
Tango::ARCHIVE_EVENT
Archive event.
Definition: tango_const.h:1086
Tango::DeviceClass::get_type
string & get_type()
Get the TANGO device type name.
Definition: deviceclass.h:222
Tango::PipeInfo
Base structure for pipe information.
Definition: devapi.h:367
Tango::DevicePipeBlob::get_data_elt_name
string get_data_elt_name(size_t ind)
Get blob data element name.
Tango::Attr::Attr
Attr(const char *name, long data_type, Tango::AttrWriteType w_type=Tango::READ, const char *assoc=AssocWritNotSpec)
Constructs a newly allocated Attr object.
Tango::DeviceAttributeConfig::max_alarm
string max_alarm
Max alarm.
Definition: devapi.h:186
Tango::CmdDoneEvent::argout
DeviceData & argout
The command argout.
Definition: devasyn.h:92
Tango::AttrReadEvent::errors
DevErrorList & errors
The error stack.
Definition: devasyn.h:147
Tango::WAttribute::get_write_value
void get_write_value(const Tango::DevUChar *&ptr)
Retrieve the new value for writable attribute when attribute data type is Tango::DevUChar and the att...
Definition: w_attribute.h:368
Tango::Except::re_throw_exception
static TANGO_NORETURN void re_throw_exception(Tango::DevFailed &ex, char *reason, const string &desc, char *origin, Tango::ErrSeverity sever=Tango::ERR)
Re-throw a TANGO DevFailed exception with one more error.
Definition: except.h:1586
Tango::Attribute::standard_unit
string standard_unit
The attribute standard unit.
Definition: attribute.h:2026
Tango::WAttribute::set_write_value
void set_write_value(Tango::DevShort val)
Set the writable scalar attribute value when the attribute data type is Tango::DevShort.
Tango::Except::re_throw_exception
static TANGO_NORETURN void re_throw_exception(Tango::DevFailed &ex, const char *reason, const char *desc, const char *origin, Tango::ErrSeverity sever=Tango::ERR)
Re-throw a TANGO DevFailed exception with one more error.
Definition: except.h:874
Tango::Group::get_group
virtual Group * get_group(const std::string &group_name)
Returns a reference to the specified group.
Tango::Pipe::get_data_elt_nb
size_t get_data_elt_nb()
Get blob data element number.
Definition: pipe.h:266
Tango::Except::re_throw_exception
static TANGO_NORETURN void re_throw_exception(Tango::DevFailed &ex, const char *reason, char *desc, const char *origin, Tango::ErrSeverity sever=Tango::ERR)
Re-throw a TANGO DevFailed exception with one more error.
Definition: except.h:949
Tango::Command::get_out_type_desc
string & get_out_type_desc()
Return the output parameter description.
Definition: command.h:328
Tango::MultiAttribute::get_w_attr_by_ind
WAttribute & get_w_attr_by_ind(const long ind)
Get Writable Attribute object from its index.
Definition: multiattribute.h:165
Tango::Pipe::get_pipe_serial_model
PipeSerialModel get_pipe_serial_model()
Get pipe serialization model.
Definition: pipe.h:212
Tango::Command::set_in_type_desc
void set_in_type_desc(string &desc)
Set the input parameter description field.
Definition: command.h:349
Tango::TemplCommandOut::init_types
void init_types()
Initialise command input and output types.
Definition: command.h:3260
Tango::Util::get_pid_str
string & get_pid_str()
Get the device server process identifier as a String.
Definition: utils.h:321
Tango::Attribute::value_flag
bool value_flag
A flag set to true if the attribute value has been updated.
Definition: attribute.h:1963
Tango::WAttribute::get_write_value_length
long get_write_value_length()
Retrieve the new value length (data number) for writable attribute.
Tango::MultiAttribute::get_attr_by_name
Attribute & get_attr_by_name(const char *attr_name)
Get Attribute object from its name.
Tango::WAttribute::get_write_value
void get_write_value(const Tango::DevDouble *&ptr)
Retrieve the new value for writable attribute when attribute data type is Tango::DevDouble and the at...
Definition: w_attribute.h:292
Tango::WAttribute::get_write_value
void get_write_value(Tango::DevEncoded &val)
Retrieve the new value for writable attribute when attribute data type is Tango::DevEncoded.
Definition: w_attribute.h:434
Tango::AttrProp::get_str
string & get_str()
Get string representation of the attribute property value.
Definition: attrprop.h:175
Tango::TemplCommand::is_allowed
bool is_allowed(DeviceImpl *dev, const CORBA::Any &in_any)
Invoke the command allowed method given at object creation time.
Tango::DbDevice
A high level object for a device interface to the database.
Definition: dbapi.h:52
Tango::AttributeAlarmInfo::extensions
vector< string > extensions
Future extensions.
Definition: devapi.h:231
Tango::FwdAttr::set_default_properties
void set_default_properties(UserDefaultFwdAttrProp &prop)
Set default attribute properties.
Tango::Command::get_in_type
Tango::CmdArgType get_in_type()
Return the input parameter type.
Definition: command.h:307
Tango::Util::_tracelevel
static int _tracelevel
The process trace level.
Definition: utils.h:690
Tango::Device_5Impl::write_read_pipe_5
virtual Tango::DevPipeData * write_read_pipe_5(const Tango::DevPipeData &pipe_value, const Tango::ClntIdent &cl_ident)
Write then read pipe value.
Tango::ABORT_ON_ERROR
Do not read attribute(s) if one of the written attribute(s) failed.
Definition: tango_const.h:1132
Tango::CmdDoneEvent::cmd_name
string & cmd_name
The command name.
Definition: devasyn.h:91
Tango::QUALITY_EVENT
Quality change event (deprecated - do not use)
Definition: tango_const.h:1084
Tango::DeviceAttributeConfig::data_format
AttrDataFormat data_format
Data format (Scalar, Spectrum,...)
Definition: devapi.h:173
Tango::MultiAttribute::alarm_attr_list
vector< long > alarm_attr_list
The list of attribute with an alarm level defined.
Definition: multiattribute.h:274
Tango::TemplCommand::set_type
void set_type(const type_info &data_type, Tango::CmdArgType &type)
Choose the correct TANGO data type constant according to data type.
Tango::Attribute::min_alarm
Tango::Attr_CheckVal min_alarm
The attribute minimum alarm in binary format.
Definition: attribute.h:2080
Tango::AttrConfEventData::errors
DevErrorList errors
The error stack.
Definition: event.h:195
Tango::DeviceAttributeConfig::unit
string unit
Unit.
Definition: devapi.h:179
Tango::UserDefaultAttrProp::set_max_value
void set_max_value(const char *def_max_value)
Set default max_value property.
Definition: attrdesc.h:154
Tango::_AttrMemorizedType
_AttrMemorizedType
Possible memorized attribute type.
Definition: devapi.h:314
Tango::TemplCommand::execute
CORBA::Any * execute(DeviceImpl *dev, const CORBA::Any &in_any)
Invoke the command execution method given at object creation time.
Tango::AttrProp::set_str
void set_str(const string &value_str)
Set string representation of the attribute property value.
Definition: attrprop.h:203
Tango::Command::set_polling_period
void set_polling_period(long per)
Set the command polling period.
Definition: command.h:377
Tango::Util::connect_db
void connect_db()
Connect the process to the TANGO database.
Tango::MultiAttrProp::delta_t
AttrProp< DevLong > delta_t
Attribute delta_t.
Definition: attrprop.h:615
Tango::Util::reset_filedatabase
void reset_filedatabase()
Reread the file database.
Tango::PipeEventData
Pipe event callback execution data.
Definition: event.h:439
Tango::DevicePipeBlob::get_data_elt_type
int get_data_elt_type(size_t ind)
Get blob data element value type.
Tango::DeviceImpl::device_state
Tango::DevState device_state
The device state.
Definition: device.h:3268
Tango::TemplCommandInOut
This class is a class representing a command in the template command model with output and input para...
Definition: command.h:1688