Tango Core Classes Reference  9.3.4
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.

Database::import_device
DbDevImportInfo import_device(string &dev_name)
Import a device from the database.
AttributeProxy
Easy to use interface to Tango device attribute.
Definition: AttributeProxy.h:58
Tango::USER_EVENT
@ USER_EVENT
User event.
Definition: tango_const.h:1089
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::Command::extract
void extract(const CORBA::Any &in, const Tango::DevVarULong64Array *&data)
Extract a unsigned 64 bits long array from a CORBA Any object.
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
DeviceData::insert
void insert(vector< DevLong > &vl, vector< string > &vs)
Insert data into a DeviceData for the DevVarLongStringArray data type.
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:55
Tango::PipeEventData::event
string event
The event name.
Definition: event.h:462
Tango::AttributeInfoEx::sys_extensions
vector< string > sys_extensions
Future extensions.
Definition: devapi.h:340
DeviceProxy::get_command_list
virtual vector< string > * get_command_list()
Query all commands name.
Tango::TimedAttrData::TimedAttrData
TimedAttrData(const T *p_data, long x, const T *p_wr_data, long x_wr, Tango::AttrQuality qual, struct timeval when)
Create a new TimedAttrData object for a R/W attribute.
Database::get_class_pipe_property_history
vector< DbHistory > get_class_pipe_property_history(string &class_name, string &pipe_name, string &prop_name)
Get class pipe property history from database.
Tango::Pipe::set_exceptions
void set_exceptions(DevicePipeBlob::except_flags fl)
Set one exception flag.
Definition: pipe.h:331
DevicePipeBlob::get_name
const string & get_name()
Get blob name.
Definition: DevicePipe.h:163
Tango::Pipe::set_user_pipe_mutex
void set_user_pipe_mutex(omni_mutex *mut_ptr)
Set pipe user mutex.
Definition: pipe.h:223
DeviceProxy::get_tango_lib_version
virtual int get_tango_lib_version()
Get device Tango lib version.
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:102
Tango::Pipe::get_writable
Tango::PipeWriteType get_writable()
Get the pipe writable type (RO/RW).
Definition: pipe.h:194
Tango::DeviceImpl::push_change_event
void push_change_event(string attr_name, Tango::DevFloat *p_data, long x=1, long y=0, bool release=false)
Push a change event for an attribute with Tango::DevFloat attribute data type.
Tango::EncodedAttribute::encode_gray8
void encode_gray8(unsigned char *gray8, int width, int height)
Encode a 8 bit grayscale image (no compression)
Database::get_device_pipe_property
void get_device_pipe_property(string dev_name, DbData &db)
Get device pipe property value.
Definition: Database.h:843
Tango::DevIntrChangeEventData::event
string event
The event name.
Definition: event.h:375
Tango::Attribute::set_value_date_quality
void set_value_date_quality(Tango::DevFloat *p_data, time_t t, Tango::AttrQuality qual, long x=1, long y=0, bool release=false)
Set internal attribute value, date and quality factor (for Tango::DevFloat attribute data type).
Tango::UserDefaultAttrProp::set_max_warning
void set_max_warning(const char *def_max_warning)
Set default max_warning property.
Definition: attrdesc.h:194
Tango::DeviceImpl::push_archive_event
void push_archive_event(string attr_name, Tango::DevULong *p_data, struct timeval &t, Tango::AttrQuality qual, long x=1, long y=0, bool release=false)
Push an archive event for an attribute with Tango::DevULong attribute data type.
Tango::DeviceImpl::push_archive_event
void push_archive_event(string attr_name, Tango::DevShort *p_data, struct timeval &t, Tango::AttrQuality qual, long x=1, long y=0, bool release=false)
Push an archive event for an attribute with Tango::DevShort attribute data type.
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
DeviceAttribute::get_nb_written
long get_nb_written()
Get the number of written value.
Tango::Command::extract
void extract(const CORBA::Any &in, const Tango::DevVarBooleanArray *&data)
Extract a string array from a CORBA Any object.
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::Command::Command
Command(string &s, Tango::CmdArgType in, Tango::CmdArgType out, Tango::DispLevel level)
Constructs a newly allocated Command object for a command from its name and its input and output para...
Tango::WAttribute::set_write_value
void set_write_value(Tango::DevULong *val, long x=1, long y=0)
Set the writable spectrum or image attribute value when the attribute data type is Tango::DevULong.
Tango::Attribute::set_value_date_quality
void set_value_date_quality(Tango::DevFloat *p_data, struct timeval &t, Tango::AttrQuality qual, long x=1, long y=0, bool release=false)
Set internal attribute value, date and quality factor (for Tango::DevFloat attribute data type).
DeviceData::operator<<
void operator<<(bool datum)
The insert operators.
Definition: DeviceData.h:236
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:281
Tango::TimedAttrData::TimedAttrData
TimedAttrData(const T *p_data, long x, const T *p_wr_data, long x_wr, Tango::AttrQuality qual, bool rel, time_t when)
Create a new TimedAttrData object for a R/W attribute.
Tango::CallBack::push_event
virtual void push_event(AttrConfEventData *ace)
attribute configuration change event callback method
Definition: devasyn.h:294
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::DbProperty
Classes declaration.
Definition: dbapi.h:102
DeviceProxy::read_attribute
virtual DeviceAttribute read_attribute(string &att_name)
Read a single attribute.
Tango::AttrProp::AttrProp
AttrProp(const string &value_str)
Create a new AttrProp object.
Definition: attrprop.h:98
Tango::SpectrumAttr::SpectrumAttr
SpectrumAttr(const char *name, long data_type, Tango::AttrWriteType w_type, long max_x)
Constructs a newly allocated SpectrumAttr object.
Tango::AttributeAlarmInfo::min_alarm
string min_alarm
Min alarm level.
Definition: devapi.h:225
Tango::DeviceImpl::push_change_event
void push_change_event(string attr_name, Tango::DevString *p_str_data, Tango::DevUChar *p_data, long size, bool release=false)
Push a change event for an attribute with Tango::DevEncoded attribute data type when the DevEncoded d...
DeviceProxy::set_pipe_config
virtual void set_pipe_config(PipeInfoList &pipes)
Set pipe configuration.
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::TemplCommand::TemplCommand
TemplCommand(string &cmd_name, void(DeviceImpl::*exe_method)(), string &in_desc, string &out_desc, Tango::DispLevel level)
Constructs a newly allocated TemplCommand object for a command with a name, an execution method and a...
Tango::Command::insert
CORBA::Any * insert(Tango::DevShort data)
Create a CORBA Any object and insert a Tango::DevShort data in it.
Tango::DeviceImpl::set_state
void set_state(const Tango::DevState &new_state)
Set device state.
Definition: device.h:3593
Tango::Except::print_error_stack
static void print_error_stack(const Tango::DevErrorList &ex)
Print a TANGO error stack.
Tango::Group::add
virtual void add(const std::vector< std::string > &patterns, int tmo_ms=-1)
Attaches any device which name matches one of the specified pattern.
DbDevice::put_property
void put_property(DbData &db)
Update device property in database.
Tango::Except
Container class for all exception related methods.
Definition: except.h:75
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:275
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:74
Tango::AttributeEventInfo
Attribute event configuration.
Definition: devapi.h:299
Connection::get_transparency_reconnection
virtual bool get_transparency_reconnection()
Get device transparency (reconnection) mode.
Definition: Connection.h:215
Tango::DeviceAttributeHistory
Fundamental type for receiving data from device attribute polling buffers.
Definition: devapi.h:634
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
DeviceProxy::lock
virtual void lock(int lock_validity=DEFAULT_LOCK_VALIDITY)
Lock a device.
Tango::Command::insert
CORBA::Any * insert(Tango::DevVarFloatArray *data)
Create a CORBA Any object and insert a Tango::DevVarFloatArray data in it.
Tango::TemplCommand::TemplCommand
TemplCommand(string &cmd_name, void(DeviceImpl::*exe_method)(), bool(DeviceImpl::*state_method)(const CORBA::Any &), string &in_desc, string &out_desc)
Constructs a newly allocated TemplCommand object for a command with a name, an execution method,...
Tango::WAttribute
This class represents a writable attribute.
Definition: w_attribute.h:69
DeviceProxy::command_history
virtual vector< DeviceDataHistory > * command_history(string &cmd_name, int depth)
Retrieve command history from polling buffer.
Tango::MultiAttribute::check_alarm
bool check_alarm(const char *attr_name)
Check alarm for one attribute with a given name.
Definition: multiattribute.h:214
Database::delete_class_attribute_property
void delete_class_attribute_property(string class_name, DbData &db)
Delete class attribute property from database.
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::Attribute::set_value_date_quality
void set_value_date_quality(Tango::DevULong64 *p_data, time_t t, Tango::AttrQuality qual, long x=1, long y=0, bool release=false)
Set internal attribute value, date and quality factor (for Tango::DevULong64 attribute data type).
DeviceProxy::get_property_list
virtual void get_property_list(const string &filter, vector< string > &prop_list)
Get list of property names for a device.
Tango::Command::set_disp_level
void set_disp_level(Tango::DispLevel level)
Set the command display level.
Definition: command.h:370
Tango::Command::insert
CORBA::Any * insert(Tango::DevVarDoubleStringArray *data)
Create a CORBA Any object and insert a Tango::DevVarDoubleStringArray data in it.
Tango::WAttribute::set_write_value
void set_write_value(Tango::DevBoolean val)
Set the writable scalar attribute value when the attribute data type is Tango::DevBoolean.
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:269
DevicePipeBlob::operator>>
DevicePipeBlob & operator>>(short &datum)
Extract data from a data blob.
Database::put_class_pipe_property
void put_class_pipe_property(string class_name, DbData &db)
Put class pipe property value in database.
Tango::Attribute::unit
string unit
The attribute unit.
Definition: attribute.h:2022
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::TimedAttrData::TimedAttrData
TimedAttrData(const T *p_data, struct timeval when)
Create a new TimedAttrData object.
Tango::AttrHistoryStack
This class is a used to pass an attribute value history when the user directly fills the attribute po...
Definition: pollext.h:723
DevicePipe::state
bitset< DevicePipeBlob::numFlags > state()
Get instance insertion/extraction state.
Definition: DevicePipe.h:1071
Tango::DeviceImpl::push_pipe_event
void push_pipe_event(const string &pipe_name, Tango::DevicePipeBlob *p_data, bool reuse_it=false)
Push a pipe event.
Tango::DeviceAttributeHistory::has_failed
bool has_failed()
Check if the record was a failure.
Definition: devapi.h:661
DevicePipeBlob::set_name
void set_name(const string &blob_name)
Set blob name.
Definition: DevicePipe.h:155
Tango::Group::command_inout
GroupCmdReplyList command_inout(const std::string &c, const DeviceData &d, bool fwd=true)
Executes a Tango command with the same input data on a group.
Tango::DeviceClass::get_class_pipe
MultiClassPipe * get_class_pipe()
Get a pointer to the class pipes object.
Definition: deviceclass.h:276
Database::get_host_list
DbDatum get_host_list()
Get host list.
Tango::DeviceImpl::push_change_event
void push_change_event(string attr_name, Tango::DevUChar *p_data, long x=1, long y=0, bool release=false)
Push a change event for an attribute with Tango::DevUChar attribute data type.
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.
Database::get_class_property_list
DbDatum get_class_property_list(string &class_name)
Get class property list.
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::Except::compare_exception
static bool compare_exception(Tango::DevFailed &ex1, Tango::DevFailed &ex2)
Compare two Tango DevFailed exceptions for equality.
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:295
Tango::Util::server_cleanup
void server_cleanup()
Cleanup a Tango device server process before exit.
Tango::DeviceImpl::push_event
void push_event(string attr_name, vector< string > &filt_names, vector< double > &filt_vals, Tango::DevUChar *p_data, long x=1, long y=0, bool release=false)
Push a user event for an attribute with Tango::DevUChar attribute data type.
Tango::Command::insert
CORBA::Any * insert(Tango::DevState data)
Create a CORBA Any object and insert a Tango::DevState data in it.
Tango::UserDefaultPipeProp::UserDefaultPipeProp
UserDefaultPipeProp()
Constructs a newly allocated UserDefaultPipeProp object.
Definition: pipedesc.h:68
AttributeProxy::get_device_proxy
virtual DeviceProxy * get_device_proxy()
Get associated DeviceProxy instance.
Definition: AttributeProxy.h:148
Tango::Device_5Impl::Device_5Impl
Device_5Impl(DeviceClass *device_class, string &dev_name)
Constructs a newly allocated Device_5Impl object from its name.
Tango::DeviceImpl::push_change_event
void push_change_event(string attr_name, Tango::DevLong *p_data, struct timeval &t, Tango::AttrQuality qual, long x=1, long y=0, bool release=false)
Push a change event for an attribute with Tango::DevLong attribute data type.
DeviceProxy::get_logging_level
virtual int get_logging_level(void)
Get current device's logging level.
DeviceProxy::get_pipe_config
virtual PipeInfoList * get_pipe_config(vector< string > &pipe_names)
Get pipe configuration for a list of pipes.
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::Attr::Attr
Attr(const char *name, long data_type, Tango::DispLevel disp, Tango::AttrWriteType w_type=Tango::READ, const char *assoc=AssocWritNotSpec)
Constructs a newly allocated Attr object.
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::WAttribute::set_write_value
void set_write_value(Tango::DevFloat val)
Set the writable scalar attribute value when the attribute data type is Tango::DevFloat.
DeviceAttribute::get_w_dimension
AttributeDimension get_w_dimension()
Get the attribute write dimensions.
Tango::CONTINUE_ON_ERROR
@ CONTINUE_ON_ERROR
Read attribute(s) even if one of the written attribute(s) failed.
Definition: tango_const.h:1135
Tango::DeviceImpl::device_class
DeviceClass * device_class
Pointer to the device-class object associated with the device.
Definition: device.h:3276
DeviceAttribute::DeviceAttribute
DeviceAttribute()
Create a DeviceAttribute object.
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
DeviceProxy::subscribe_event
virtual int subscribe_event(const string &att_name, EventType event, CallBack *cb)
Subscribe for event reception.
Definition: devapi.h:839
Tango::AttrHistoryStack::clear
void clear()
Clear the stack.
Definition: pollext.h:752
Tango::Command::extract
void extract(const CORBA::Any &in, const Tango::DevVarLongStringArray *&data)
Extract a DevVarLongStringArray data from a CORBA Any object.
Tango::Attribute::set_value_date_quality
void set_value_date_quality(Tango::DevUChar *p_data, time_t t, Tango::AttrQuality qual, long x=1, long y=0, bool release=false)
Set internal attribute value, date and quality factor (for Tango::DevUChar attribute data type).
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::WAttribute::set_write_value
void set_write_value(Tango::DevString val)
Set the writable scalar attribute value when the attribute data type is Tango::DevString.
Tango::Group
High level class allowing the user to handle Tango group.
Definition: group.h:735
DeviceProxy::get_logging_target
virtual vector< string > get_logging_target(void)
Get current device's logging targets.
Tango::Device_5Impl::~Device_5Impl
virtual ~Device_5Impl()
The device desctructor.
Definition: device_5.h:154
Tango::DeviceImpl::remove_command
void remove_command(const string &rem_cmd_name, bool free_it=false, bool clean_db=true)
Remove one command from the device command list.
Tango::DeviceImpl::db_dev
DbDevice * db_dev
Pointer to the associated DbDevice object.
Definition: device.h:3284
Database::get_device_family
DbDatum get_device_family(string &wildcard)
Get list of device family name.
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::Command
This class is a class representing a command in the TANGO device server pattern.
Definition: command.h:84
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
DevicePipe::get_data_elt_type
int get_data_elt_type(size_t ind)
Get root blob data element value type.
Definition: DevicePipe.h:970
DbDevice::get_pipe_property
void get_pipe_property(DbData &db)
Get device pipe property from database.
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:1292
Tango::Attribute::min_alarm_str
string min_alarm_str
The attribute minimum alarm level.
Definition: attribute.h:2044
Tango::EncodedAttribute::encode_rgb24
void encode_rgb24(unsigned char *rgb24, int width, int height)
Encode a 24 bit color image (no compression)
Tango::PULL_CALLBACK
@ PULL_CALLBACK
Callback pull model.
Definition: devapi.h:415
Tango::Device_4Impl::Device_4Impl
Device_4Impl(DeviceClass *device_class, string &dev_name, string &desc)
Constructs a newly allocated Device_4Impl object from its name and its description.
Tango::ImageAttr::ImageAttr
ImageAttr(const char *name, long data_type, Tango::AttrWriteType w_type, long max_x, long max_y)
Constructs a newly allocated ImageAttr object.
Tango::UserDefaultAttrProp::set_description
void set_description(const char *def_desc)
Set default description property.
Definition: attrdesc.h:94
Tango::Command::insert
CORBA::Any * insert(DevVarBooleanArray &data)
Create a CORBA Any object and insert a Tango::DevVarBooleanArray data in it.
Tango::MultiAttribute::read_alarm
void read_alarm(string &status)
Add alarm message to device status.
Tango::EventData::device
DeviceProxy * device
Definition: event.h:94
DeviceAttribute::set_exceptions
void set_exceptions(except_flags fl)
Set one exception flag.
Definition: DeviceAttribute.h:1005
Tango::Command::out_type_desc
string out_type_desc
The command output parameter type.
Definition: command.h:1237
DevicePipeBlob::exceptions
bitset< numFlags > exceptions()
Get exception flag.
Definition: DevicePipe.h:562
DeviceAttribute::extract
bool extract(const char *&str, unsigned char *&data, unsigned int &length)
Extract attribute data for DevEncoded attribute.
Tango::WAttribute::set_write_value
void set_write_value(Tango::DevULong64 *val, long x=1, long y=0)
Set the writable spectrum or image attribute value when the attribute data type is Tango::DevULong64.
DeviceAttribute::state
bitset< numFlags > state()
Get instance extraction state.
Definition: DeviceAttribute.h:1029
Connection::cancel_all_polling_asynch_request
virtual void cancel_all_polling_asynch_request()
Cancel all pending asynchronous request.
ApiUtil::instance
static TANGO_IMP_EXP ApiUtil * instance()
Retrieve the ApiUtil instance.
Definition: devapi.h:771
DeviceData::extract
bool extract(vector< DevLong > &vl, vector< string > &vs)
Extract data from a DeviceData for the DevVarLongStringArray data type.
Tango::DeviceImpl::push_archive_event
void push_archive_event(string attr_name, Tango::DevBoolean *p_data, struct timeval &t, Tango::AttrQuality qual, long x=1, long y=0, bool release=false)
Push an archive event for an attribute with Tango::DevBoolean attribute data type.
Tango::DbServer
A database object for a device server which can be used to query or modify server database informatio...
Definition: dbapi.h:158
Tango::GroupCmdReplyList::has_failed
bool has_failed() const
Check if an error has occurred.
Definition: group.h:492
Tango::Attr::Attr
Attr(const char *name, Tango::DispLevel disp=Tango::OPERATOR)
Constructs a newly allocated Attr object.
AttributeProxy::name
virtual string name()
Get attribute name.
Definition: AttributeProxy.h:140
Tango::Command::Command
Command(string &s, Tango::CmdArgType in, Tango::CmdArgType out)
Constructs a newly allocated Command object for a command from its name and its input and output para...
Tango::DeviceClass::command_handler
CORBA::Any * command_handler(DeviceImpl *device, string &command, const CORBA::Any &in_any)
Execute a command.
Database::delete_class_pipe_property
void delete_class_pipe_property(string class_name, DbData &db)
Delete class pipe property from database.
Tango::DeviceImpl::_default_POA
virtual PortableServer::POA_ptr _default_POA()
Return device POA.
Database::put_class_attribute_property
void put_class_attribute_property(string class_name, DbData &db)
Put class attribute property value in database.
DevicePipe::operator>>
DevicePipe & operator>>(short &datum)
Extract data from a device pipe.
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::DeviceImpl::push_change_event
void push_change_event(string attr_name, Tango::DevShort *p_data, long x=1, long y=0, bool release=false)
Push a change event for an attribute with Tango::DevShort attribute data type.
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::Attribute::set_value
void set_value(Tango::DevLong64 *p_data, long x=1, long y=0, bool release=false)
Set internal attribute value (for Tango::DevLong64 attribute data type).
DeviceAttribute::get_dim_x
int get_dim_x()
Get attribute X dimension.
Definition: DeviceAttribute.h:1179
Tango::Command::Command
Command(const char *s, Tango::CmdArgType in, Tango::CmdArgType out, const char *in_desc, const char *out_desc, Tango::DispLevel level)
Constructs a newly allocated Command object for a command from its name, its input and output paramet...
Tango::TimedAttrData::TimedAttrData
TimedAttrData(const T *p_data, long x, const T *p_wr_data, long x_wr, Tango::AttrQuality qual, time_t when)
Create a new TimedAttrData object for a R/W attribute.
Tango::AttributeInfoEx::events
AttributeEventInfo events
The attribute events configuration.
Definition: devapi.h:339
Database::put_device_attribute_property
void put_device_attribute_property(string dev_name, DbData &db)
Put device attribute property value in database.
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
DeviceProxy::is_attribute_polled
virtual bool is_attribute_polled(string &att_name)
Check if one attribute is polled.
Tango::AttributeInfo
Attribute configuration data extension.
Definition: devapi.h:205
Tango::WAttribute::set_min_value
void set_min_value(const char *min_value)
Set attribute minimum value.
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::DeviceImpl::push_change_event
void push_change_event(string attr_name, Tango::DevState *p_data, long x=1, long y=0, bool release=false)
Push a change event for an attribute with Tango::DevState attribute data type.
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::Command::insert
CORBA::Any * insert(Tango::DevUShort data)
Create a CORBA Any object and insert a Tango::DevUShort data in it.
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::DeviceClass::DeviceClass
DeviceClass(string &s)
Construct a newly allocated DeviceClass object.
DbDevice::delete_pipe_property
void delete_pipe_property(DbData &db)
Remove device pipe property from database.
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
Database::put_device_pipe_property
void put_device_pipe_property(string dev_name, DbData &db)
Put device pipe property value in database.
Database::add_device
void add_device(DbDevInfo &dev_info)
Add a device into the database.
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:150
ApiUtil::cleanup
static TANGO_IMP_EXP void cleanup()
Destroy the ApiUtil instance.
Definition: ApiUtil.h:75
Tango::UserDefaultAttrProp::set_min_warning
void set_min_warning(const char *def_min_warning)
Set default min_warning property.
Definition: attrdesc.h:184
Tango::TimedAttrData::TimedAttrData
TimedAttrData(const T *p_data, long x, Tango::AttrQuality qual, struct timeval when)
Create a new TimedAttrData object.
DeviceProxy::command_query
virtual CommandInfo command_query(string cmd_name)
Query the device for single command information.
Database::put_class_property
void put_class_property(string class_name, DbData &db)
Put class property value in database.
Tango::TemplCommand::TemplCommand
TemplCommand(string &cmd_name, void(DeviceImpl::*exe_method)(), bool(DeviceImpl::*state_method)(const CORBA::Any &))
Constructs a newly allocated TemplCommand object for a command with a name, an execution method and a...
Tango::Util::get_tango_lib_release
long get_tango_lib_release()
Get the TANGO library version number.
Tango::AutoConnectTimeout
Definition: devapi.h:1000
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::WAttribute::set_write_value
void set_write_value(vector< Tango::DevShort > &val, long x=1, long y=0)
Set the writable spectrum or image attribute value when the attribute data type is Tango::DevShort.
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.
Database::get_object_list
DbDatum get_object_list(string &wildcard)
Get object (free property) list.
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
DeviceData::get_type
int get_type()
Get Tango data type of the included data.
Tango::DeviceImpl::push_archive_event
void push_archive_event(string attr_name, Tango::DevFloat *p_data, struct timeval &t, Tango::AttrQuality qual, long x=1, long y=0, bool release=false)
Push an archive event for an attribute with Tango::DevFloat attribute data type.
Tango::TimedAttrData::TimedAttrData
TimedAttrData(const T *p_data, long x, long y, time_t when)
Create a new TimedAttrData object.
Tango::Attribute::max_x
long max_x
The attribute maximum x dimension.
Definition: attribute.h:2004
Tango::Command::extract
void extract(const CORBA::Any &in, Tango::DevShort &data)
Extract a short data from a CORBA Any object.
Tango::Attribute::is_max_alarm
bool is_max_alarm()
Check if the attribute is in maximum alarm condition .
Definition: attribute.h:246
Database::unregister_service
void unregister_service(string &service_name, string &inst_name)
Unregister a service from the database.
Tango::DeviceImpl::push_change_event
void push_change_event(string attr_name, Tango::DevEncoded *p_data, struct timeval &t, Tango::AttrQuality qual, long x=1, long y=0, bool release=false)
Push a change event for an attribute with Tango::DevEncoded attribute data type.
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::TimedAttrData::TimedAttrData
TimedAttrData(const T *p_data, const T *p_wr_data, Tango::AttrQuality qual, struct timeval when)
Create a new TimedAttrData object for a R/W attribute.
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:83
Tango::Pipe::operator<<
Pipe & operator<<(short &datum)
Insert data into a device pipe.
Tango::Attribute::set_value_date_quality
void set_value_date_quality(Tango::DevDouble *p_data, time_t t, Tango::AttrQuality qual, long x=1, long y=0, bool release=false)
Set internal attribute value, date and quality factor (for Tango::DevDouble attribute data type).
DeviceProxy::get_events
virtual void get_events(int event_id, CallBack *cb)
Fire event callback in event pull model.
Tango::Group::command_inout
GroupCmdReplyList command_inout(const std::string &c, bool fwd=true)
Executes a Tango command on a group.
Tango::Command::insert
CORBA::Any * insert(Tango::DevFloat data)
Create a CORBA Any object and insert a Tango::DevFloat data in it.
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::Attribute::set_value_date_quality
void set_value_date_quality(Tango::DevLong *p_data, struct timeval &t, Tango::AttrQuality qual, long x=1, long y=0, bool release=false)
Set internal attribute value, date and quality factor (for Tango::DevLong attribute data type).
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::Command::insert
CORBA::Any * insert(Tango::DevVarFloatArray &data)
Create a CORBA Any object and insert a Tango::DevVarFloatArray data in it.
DeviceData::exceptions
bitset< numFlags > exceptions()
Get exception flag.
Definition: DeviceData.h:534
Tango::DeviceAttributeHistory::operator<<
friend ostream & operator<<(ostream &str, DeviceAttributeHistory &dah)
Print a DeviceAttributeHistory instance.
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::Command::insert
CORBA::Any * insert(Tango::DevVarUShortArray *data)
Create a CORBA Any object and insert a Tango::DevVarUShortArray data in it.
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::DeviceImpl::push_event
void push_event(string attr_name, vector< string > &filt_names, vector< double > &filt_vals, Tango::DevState *p_data, long x=1, long y=0, bool release=false)
Push a user event for an attribute with Tango::DevState attribute data type.
Tango::DeviceImpl::push_change_event
void push_change_event(string attr_name, Tango::DevBoolean *p_data, struct timeval &t, Tango::AttrQuality qual, long x=1, long y=0, bool release=false)
Push a change event for an attribute with Tango::DevBoolean attribute data type.
Database::get_device_attribute_list
void get_device_attribute_list(string &dev_name, vector< string > &att_list)
Get list of attribute with data in database for a specific device.
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::Command::extract
void extract(const CORBA::Any &in, const Tango::DevVarFloatArray *&data)
Extract a float array from a CORBA Any object.
DeviceData::DeviceData
DeviceData()
Create a DeviceData object.
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::Command::extract
void extract(const CORBA::Any &in, const Tango::DevVarDoubleStringArray *&data)
Extract a DevVarDoubleStringArray data from a CORBA Any object.
Tango::DeviceImpl::push_archive_event
void push_archive_event(string attr_name, Tango::DevEncoded *p_data, long x=1, long y=0, bool release=false)
Push an archive event for an attribute with Tango::DevEncoded attribute data type.
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
DevicePipeBlob::state
bitset< numFlags > state()
Get instance insertion/extraction state.
Definition: DevicePipe.h:614
Database::get_device_domain
DbDatum get_device_domain(string &wildcard)
Get list of device domain names.
Tango::WAttribute::set_write_value
void set_write_value(Tango::DevBoolean *val, long x=1, long y=0)
Set the writable spectrum or image attribute value when the attribute data type is Tango::DevBoolean.
Tango::Command::insert
CORBA::Any * insert(Tango::DevVarCharArray &data)
Create a CORBA Any object and insert a Tango::DevVarCharArray data in it.
Tango::Command::extract
void extract(const CORBA::Any &in, Tango::DevULong &data)
Extract an unsigned long data from a CORBA Any object.
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::TemplCommand::TemplCommand
TemplCommand(const char *cmd_name, void(DeviceImpl::*exe_method)(), const char *in_desc, const char *out_desc, Tango::DispLevel level)
Constructs a newly allocated TemplCommand object for a command with a name, an execution method and a...
Tango::GroupCmdReply::get_data
DeviceData & get_data()
Get command data.
DeviceProxy::is_event_queue_empty
virtual bool is_event_queue_empty(int event_id)
Check if the event queue is empty.
Tango::AttrConfEventData
Attribute configuration change event callback execution data.
Definition: event.h:173
Tango::Except::throw_named_exception
static TANGO_NORETURN void throw_named_exception(Tango::DeviceImpl *d, vector< long > &atts, const char *reason, const char *desc, const char *origin, Tango::ErrSeverity sever=Tango::ERR)
Throw a TANGO MultiDevFailed exception.
AttributeProxy::write
virtual void write(DeviceAttribute &da)
Write attribute value.
AttributeProxy::history
virtual vector< DeviceAttributeHistory > * history(int depth)
Get attribute history from polling buffer.
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::Command::extract
void extract(const CORBA::Any &in, Tango::DevString &data)
Extract a string from a CORBA Any object.
Tango::Attribute::check_alarm
bool check_alarm()
Check if the attribute read value is below/above the alarm level.
Tango::PIPE_EVENT
@ PIPE_EVENT
Device pipe event.
Definition: tango_const.h:1093
Tango::DeviceImpl::push_event
void push_event(string attr_name, vector< string > &filt_names, vector< double > &filt_vals, Tango::DevULong64 *p_data, long x=1, long y=0, bool release=false)
Push a user event for an attribute with Tango::DevULong64 attribute data type.
Tango::Device_3Impl::Device_3Impl
Device_3Impl(DeviceClass *device_class, string &dev_name, string &desc, Tango::DevState dev_state, string &dev_status)
Constructs a newly allocated Device_3Impl object from all its creation parameters.
Tango::WAttribute::WAttribute
WAttribute(vector< AttrProperty > &prop_list, Attr &tmp_attr, string &dev_name, long idx)
Create a new Writable Attribute object.
DeviceAttribute::get_dim_y
int get_dim_y()
Get attribute Y dimension.
Definition: DeviceAttribute.h:1187
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
DeviceProxy::get_attribute_list
virtual vector< string > * get_attribute_list()
Query all attributes name.
Tango::WAttribute::set_write_value
void set_write_value(Tango::DevUChar val)
Set the writable scalar attribute value when the attribute data type is Tango::DevUChar.
Tango::Attribute::get_data_format
Tango::AttrDataFormat get_data_format()
Get attribute data format.
Definition: attribute.h:322
Tango::Attribute::set_value
void set_value(Tango::DevEncoded *p_data, long x=1, long y=0, bool release=false)
Set internal attribute value (for Tango::DevEncoded attribute data type).
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:95
DeviceProxy::read_pipe
virtual DevicePipe read_pipe(const string &pipe_name)
Read a pipe.
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
AttributeProxy::read_asynch
virtual long read_asynch()
Read attribute value asynchronously in polling model.
Definition: AttributeProxy.h:312
Tango::Attribute::get_name
string & get_name()
Get attribute name.
Definition: attribute.h:310
DeviceProxy::locking_status
virtual string locking_status()
Get device locking status.
Tango::AttributeInfoListEx
vector< AttributeInfoEx > AttributeInfoListEx
vector of AttributeInfoEx structure
Definition: devapi.h:359
Tango::Group::~Group
virtual ~Group()
Create a Group instance.
AttributeProxy::set_config
virtual void set_config(AttributeInfo &ai)
Set attribute configuration.
Tango::DeviceImpl::create_DevVarStringArray
Tango::DevVarStringArray * create_DevVarStringArray(char **ptr, long length)
Create a DevVarStringArray type.
Definition: device.h:862
DevicePipe::DevicePipe
DevicePipe()
Create a DevicePipe object.
Tango::DeviceImpl::push_event
void push_event(string attr_name, vector< string > &filt_names, vector< double > &filt_vals, Tango::DevUShort *p_data, struct timeval &t, Tango::AttrQuality qual, long x=1, long y=0, bool release=false)
Push a user event for an attribute with Tango::DevUShort attribute data type.
Tango::DeviceImpl::remove_attribute
void remove_attribute(string &rem_attr_name, bool free_it=false, bool clean_db=true)
Remove one attribute from the device attribute list.
Tango::DeviceClass::pipe_factory
virtual void pipe_factory()
Create all the pipes supported by this class of device.
Definition: deviceclass.h:145
Tango::Attribute::set_value
void set_value(Tango::DevState *p_data, long x=1, long y=0, bool release=false)
Set internal attribute value (for Tango::DevState attribute data type).
DeviceProxy::command_list_query
virtual CommandInfoList * command_list_query()
Query the device for all commands information.
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.
DeviceAttribute::get_name
string & get_name()
Returns the name of the attribute.
Definition: DeviceAttribute.h:1155
Tango::WAttribute::set_write_value
void set_write_value(vector< Tango::DevBoolean > &val, long x=1, long y=0)
Set the writable spectrum or image attribute value when the attribute data type is Tango::DevBoolean.
Tango::DeviceImpl::desc
string desc
The device description.
Definition: device.h:3260
Tango::return_empty_any
CORBA::Any * return_empty_any(const char *cmd)
Create and return an empty CORBA Any object.
Definition: utils.h:1183
Tango::Attribute::fire_archive_event
void fire_archive_event(DevFailed *except=NULL)
Fire an archive event for the attribute value.
DeviceProxy::attribute_list_query
virtual AttributeInfoList * attribute_list_query()
Query the device for information on all attributes.
DeviceProxy::alias
virtual string alias()
Returns device alias.
Tango::AttributeInfoEx
Extended attribute configuration data.
Definition: devapi.h:334
Tango::ATTR_CONF_EVENT
@ ATTR_CONF_EVENT
Attribute configuration change event.
Definition: tango_const.h:1090
Tango::TemplCommand::TemplCommand
TemplCommand(string &cmd_name, void(DeviceImpl::*exe_method)())
Constructs a newly allocated TemplCommand object for a command with a name and an execution method.
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::Command::extract
void extract(const CORBA::Any &in, const Tango::DevVarDoubleArray *&data)
Extract a double array from a CORBA Any object.
Tango::Command::extract
void extract(const CORBA::Any &in, const Tango::DevVarStringArray *&data)
Extract a string array from a CORBA Any object.
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.
DeviceProxy::get_attribute_config_ex
virtual AttributeInfoListEx * get_attribute_config_ex(vector< string > &att_names)
Get attribute configuration (extended) for a list of attributes.
Tango::Attribute::set_value_date_quality
void set_value_date_quality(Tango::DevUShort *p_data, struct timeval &t, Tango::AttrQuality qual, long x=1, long y=0, bool release=false)
Set internal attribute value, date and quality factor (for Tango::DevUShort attribute data type).
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
AttributeProxy::get_property
virtual void get_property(string &prop_name, DbData &db)
Get single attribute property.
Tango::TimedAttrData::TimedAttrData
TimedAttrData(const T *p_data, long x, long y, Tango::AttrQuality qual, struct timeval when)
Create a new TimedAttrData object.
DeviceProxy::read_attributes
virtual vector< DeviceAttribute > * read_attributes(vector< string > &att_names)
Read the list of specified attributes.
DevicePipe::reset_exceptions
void reset_exceptions(DevicePipeBlob::except_flags fl)
Reset one exception flag.
Definition: DevicePipe.h:1027
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::Attribute::set_value_date_quality
void set_value_date_quality(Tango::DevUShort *p_data, time_t t, Tango::AttrQuality qual, long x=1, long y=0, bool release=false)
Set internal attribute value, date and quality factor (for Tango::DevUShort attribute data type).
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:95
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:377
Tango::MultiAttrProp::archive_abs_change
DoubleAttrProp< DevDouble > archive_abs_change
Attribute archive_abs_change.
Definition: attrprop.h:643
DevicePipeBlob
A device pipe blob.
Definition: DevicePipe.h:112
Tango::EncodedAttribute::encode_jpeg_gray8
void encode_jpeg_gray8(unsigned char *gray8, int width, int height, double quality)
Encode a 8 bit grayscale image as JPEG format.
Tango::TimedCmdData
This class is used to store one element of a command history stack.
Definition: pollext.h:800
Tango::WAttribute::set_max_value
void set_max_value(const char *max_value)
Set attribute maximum value.
Tango::MultiAttribute::get_attribute_list
vector< Attribute * > & get_attribute_list()
Get the vector of attribute objects.
Definition: multiattribute.h:258
Tango::DeviceImpl::push_event
void push_event(string attr_name, vector< string > &filt_names, vector< double > &filt_vals, Tango::DevUChar *p_data, struct timeval &t, Tango::AttrQuality qual, long x=1, long y=0, bool release=false)
Push a user event for an attribute with Tango::DevUChar attribute data type.
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.
DevicePipe::set_root_blob_name
void set_root_blob_name(const string &root_blob_name)
Set root blob name.
Definition: DevicePipe.h:875
Tango::TimedAttrData::TimedAttrData
TimedAttrData(const T *p_data, Tango::AttrQuality qual, struct timeval when)
Create a new TimedAttrData object.
Tango::GroupReply::enable_exception
static bool enable_exception(bool exception_mode=true)
Enable/Disable exception.
DeviceAttribute::exceptions
void exceptions(bitset< numFlags > fl)
Set exception flag.
Definition: DeviceAttribute.h:955
Tango::DeviceImpl::push_archive_event
void push_archive_event(string attr_name, Tango::DevLong *p_data, struct timeval &t, Tango::AttrQuality qual, long x=1, long y=0, bool release=false)
Push an archive event for an attribute with Tango::DevLong attribute data type.
DevicePipe::get_data_elt_name
string get_data_elt_name(size_t ind)
Get root blob data element name.
Definition: DevicePipe.h:961
Tango::Attribute::set_max_alarm
void set_max_alarm(char *new_max_alarm)
Set attribute maximum alarm.
Tango::Attribute::set_value_date_quality
void set_value_date_quality(Tango::DevState *p_data, time_t t, Tango::AttrQuality qual, long x=1, long y=0, bool release=false)
Set internal attribute value, date and quality factor (for Tango::DevState attribute data type).
Tango::TimedAttrData::TimedAttrData
TimedAttrData(DevErrorList &errs, time_t when)
Create a new TimedAttrData object for errors.
Tango::DeviceClass::signal_handler
virtual void signal_handler(long signo)
Signal handler.
Tango::MultiAttrProp::MultiAttrProp
MultiAttrProp()
Default constructor.
Definition: attrprop.h:556
Tango::WAttribute::set_write_value
void set_write_value(Tango::DevLong64 *val, long x=1, long y=0)
Set the writable spectrum or image attribute value when the attribute data type is Tango::DevLong64.
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::WAttribute::set_write_value
void set_write_value(vector< Tango::DevFloat > &val, long x=1, long y=0)
Set the writable spectrum or image attribute value when the attribute data type is Tango::DevFloat.
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
DeviceProxy::info
virtual DeviceInfo const & info()
Get device info.
Tango::DeviceClass::name
string name
The TANGO device class name.
Definition: deviceclass.h:408
DeviceProxy::get_property
virtual void get_property(string &prop_name, DbData &db)
Get a single device property.
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
DevicePipe::get_root_blob_name
const string & get_root_blob_name()
Get root blob name.
Definition: DevicePipe.h:883
Tango::TemplCommand::TemplCommand
TemplCommand(const char *cmd_name, void(DeviceImpl::*exe_method)())
Constructs a newly allocated TemplCommand object for a command with a name and an execution method.
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:268
Tango::DeviceImpl::push_event
void push_event(string attr_name, vector< string > &filt_names, vector< double > &filt_vals, Tango::DevUShort *p_data, long x=1, long y=0, bool release=false)
Push a user event for an attribute with Tango::DevUShort attribute data type.
Tango::Command::insert
CORBA::Any * insert(Tango::DevVarLong64Array *data)
Create a CORBA Any object and insert a Tango::DevVarLong64Array data in it.
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
DeviceProxy
High level class which provides the client with an easy-to-use interface to TANGO devices.
Definition: DeviceProxy.h:56
Tango::DeviceImpl::push_archive_event
void push_archive_event(string attr_name, Tango::DevState *p_data, struct timeval &t, Tango::AttrQuality qual, long x=1, long y=0, bool release=false)
Push an archive event for an attribute with Tango::DevState attribute data type.
AttributeProxy::is_event_queue_empty
virtual bool is_event_queue_empty(int event_id)
Check if the event queue is empty.
Definition: AttributeProxy.h:603
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
Database::get_host_server_list
DbDatum get_host_server_list(string &host_name)
Get list of device server processes running on a host.
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:79
Tango::DevCommandInfo::out_type_desc
string out_type_desc
Ouptput parameter description.
Definition: devapi.h:108
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
Database::get_class_pipe_property
void get_class_pipe_property(string class_name, DbData &db)
Get class pipe property value.
Definition: Database.h:1191
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
DevicePipeBlob::DevicePipeBlob
DevicePipeBlob()
Create a DevicePipeBlob object.
Tango::MultiAttrProp::delta_val
AttrProp< T > delta_val
Attribute delta_val.
Definition: attrprop.h:619
Tango::WAttribute::set_write_value
void set_write_value(Tango::DevLong64 val)
Set the writable scalar attribute value when the attribute data type is Tango::DevLong64.
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::DoubleAttrProp
This class represents a Tango compound attribute property which consists of two values.
Definition: attrprop.h:273
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::Group::write_attribute
GroupReplyList write_attribute(const std::vector< DeviceAttribute > &d, bool fwd=true)
Writes several attributes on each device in the group (using DeviceAttribute)
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:379
Tango::Device_2Impl::Device_2Impl
Device_2Impl(DeviceClass *device_class, string &dev_name, string &desc)
Constructs a newly allocated Device_2Impl object from its name and its description.
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:154
Tango::DeviceDataHistory
Fundamental type for receiving data from device command polling buffers.
Definition: devapi.h:511
DeviceAttribute::get_err_stack
const DevErrorList & get_err_stack()
Get the error stack.
Definition: DeviceAttribute.h:1117
Tango::DeviceImpl::version
long version
The device version.
Definition: device.h:3272
Tango::DbDevInfo
Device information for Database device creation.
Definition: dbapi.h:796
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::DeviceImpl::push_change_event
void push_change_event(string attr_name, Tango::DevEncoded *p_data, long x=1, long y=0, bool release=false)
Push a change event for an attribute with Tango::DevEncoded attribute data type.
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
DevicePipe::set_name
void set_name(const string &pipe_name)
Set pipe name.
Definition: DevicePipe.h:858
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.
DeviceProxy::description
virtual string description()
Returns the device description as a string.
DeviceAttribute::is_empty
bool is_empty()
Check is the instance is empty.
Tango::UserDefaultFwdAttrProp
User class to set forwarded attribute default properties.
Definition: fwdattrdesc.h:59
DeviceData
Fundamental type for sending and receiving data from device commands.
Definition: DeviceData.h:64
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::DeviceImpl::push_change_event
void push_change_event(string attr_name, Tango::DevULong *p_data, struct timeval &t, Tango::AttrQuality qual, long x=1, long y=0, bool release=false)
Push a change event for an attribute with Tango::DevULong attribute data type.
Tango::TimedAttrData::TimedAttrData
TimedAttrData(const T *p_data, long x, long y, Tango::AttrQuality qual, bool rel, struct timeval when)
Create a new TimedAttrData object.
Tango::Attribute::~Attribute
virtual ~Attribute()
The attribute destructor.
Connection::get_source
virtual Tango::DevSource get_source()
Get device source.
Tango::Command::extract
void extract(const CORBA::Any &in, Tango::DevUShort &data)
Extract an unsigned short data from a CORBA Any object.
Tango::Device_3Impl::get_attribute_config_3
virtual Tango::AttributeConfigList_3 * get_attribute_config_3(const Tango::DevVarStringArray &names)
Get attribute(s) configuration.
AttributeProxy::unsubscribe_event
virtual void unsubscribe_event(int ev_id)
Unsubsribe to attribute event.
Definition: AttributeProxy.h:521
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::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:400
DevicePipeBlob::set_exceptions
void set_exceptions(except_flags fl)
Set one exception flag.
Definition: DevicePipe.h:578
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
DeviceProxy::set_logging_level
virtual void set_logging_level(int level)
Set the device logging level.
Tango::AttrProp::set_val
void set_val(const T &value)
Set the attribute property value.
Definition: attrprop.h:183
Connection
Base class for Tango device access.
Definition: Connection.h:56
DbDevice::get_attribute_property
void get_attribute_property(DbData &db)
Get device attribute property from database.
AttributeProxy::poll
virtual void poll(int period)
Set attribute polling period.
Tango::DeviceAttributeConfig::label
string label
Label.
Definition: devapi.h:178
DataElement::name
string name
The data element name.
Definition: DevicePipe.h:75
Tango::Attribute::set_value_date_quality
void set_value_date_quality(Tango::DevString *p_data, struct timeval &t, Tango::AttrQuality qual, long x=1, long y=0, bool release=false)
Set internal attribute value, date and quality factor (for Tango::DevString attribute data type).
Tango::TimedAttrData::TimedAttrData
TimedAttrData(const T *p_data, long x, Tango::AttrQuality qual, bool rel, struct timeval when)
Create a new TimedAttrData object.
Tango::FwdAttr
User class to create a forwarded attribute object.
Definition: fwdattrdesc.h:118
Database::get_device_pipe_property_history
vector< DbHistory > get_device_pipe_property_history(string &dev_name, string &pipe_name, string &prop_name)
Get device pipe property history from database.
Tango::GroupCmdReply::extract
bool extract(std::vector< double > &vd, std::vector< std::string > &vs)
Get command data and extract them (DevVarDoubleStringArray)
Tango::Attribute::set_value
void set_value(Tango::DevUChar *p_data, long x=1, long y=0, bool release=false)
Set internal attribute value (for Tango::DevUChar attribute data type).
Tango::DataReadyEventData
Data ready event callback execution data.
Definition: event.h:269
DevicePipe::get_data_elt_nb
size_t get_data_elt_nb()
Get root blob data element number.
Definition: DevicePipe.h:944
Tango::DbDevImportInfo
Device import information from the database.
Definition: dbapi.h:816
Tango::Attribute::quality
Tango::AttrQuality quality
The attribute quality factor.
Definition: attribute.h:1975
Tango::DeviceImpl::push_change_event
void push_change_event(string attr_name, Tango::DevUShort *p_data, struct timeval &t, Tango::AttrQuality qual, long x=1, long y=0, bool release=false)
Push a change event for an attribute with Tango::DevUShort attribute data type.
Tango::Pipe::get_label
string & get_label()
Return the pipe label.
Definition: pipe.h:180
Tango::TimedAttrData::TimedAttrData
TimedAttrData(const T *p_data, long x, const T *p_wr_data, long x_wr, struct timeval when)
Create a new TimedAttrData object for a R/W attribute.
Tango::WAttribute::set_write_value
void set_write_value(vector< Tango::DevULong64 > &val, long x=1, long y=0)
Set the writable spectrum or image attribute value when the attribute data type is Tango::DevULong64.
Tango::Command::~Command
virtual ~Command()
The object desctructor.
Definition: command.h:225
Tango::CALL_BACK
@ 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
DeviceProxy::write_read_attributes
virtual vector< DeviceAttribute > * write_read_attributes(vector< DeviceAttribute > &attr_in, vector< string > &r_names)
Write and read attribute(s)
Tango::GroupReply
Base class for Group reply.
Definition: group.h:141
Tango::PipeInfo::writable
Tango::PipeWriteType writable
Writable type (Read, Read-Write)
Definition: devapi.h:376
Tango::Attribute::set_max_warning
void set_max_warning(const char *new_max_warning)
Set attribute maximum warning.
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::TimedAttrData::TimedAttrData
TimedAttrData(const T *p_data, long x, time_t when)
Create a new TimedAttrData object.
AttributeProxy::get_poll_period
virtual int get_poll_period()
Get attribute polling period.
Tango::Command::Command
Command(const char *s, Tango::CmdArgType in, Tango::CmdArgType out)
Constructs a newly allocated Command object for a command from its name and its input and output para...
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:265
Tango::Command::extract
void extract(const CORBA::Any &in, const Tango::DevVarLongArray *&data)
Extract a long array from a CORBA Any object.
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.
DeviceData::reset_exceptions
void reset_exceptions(except_flags fl)
Reset one exception flag.
Definition: DeviceData.h:542
Tango::Attribute::set_value
void set_value(Tango::DevFloat *p_data, long x=1, long y=0, bool release=false)
Set internal attribute value (for Tango::DevFloat attribute data type).
Tango::MultiAttribute::~MultiAttribute
~MultiAttribute()
The MultiAttribute desctructor.
DevicePipe::exceptions
bitset< DevicePipeBlob::numFlags > exceptions()
Get exception flag.
Definition: DevicePipe.h:1019
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:837
Tango::Attribute::set_value_date_quality
void set_value_date_quality(Tango::DevLong64 *p_data, time_t t, Tango::AttrQuality qual, long x=1, long y=0, bool release=false)
Set internal attribute value, date and quality factor (for Tango::DevLong64 attribute data type).
Connection::set_source
virtual void set_source(Tango::DevSource sou)
Set device source.
Tango::Command::insert
CORBA::Any * insert(Tango::DevULong64 data)
Create a CORBA Any object and insert a Tango::DevULong64 data in it.
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
DeviceProxy::put_property
virtual void put_property(DbData &db)
Put property(ies) for a device.
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
AttributeProxy::delete_property
virtual void delete_property(string &prop_name)
Delete a single attribute property.
Tango::MultiAttrProp::min_alarm
AttrProp< T > min_alarm
Attribute min_alarm.
Definition: attrprop.h:599
Tango::Attribute::set_min_alarm
void set_min_alarm(const char *new_min_alarm)
Set attribute minimum alarm.
Tango::WAttribute::set_write_value
void set_write_value(Tango::DevState *val, long x=1, long y=0)
Set the writable spectrum or image attribute value when the attribute data type is Tango::DevState.
Tango::TemplCommand::TemplCommand
TemplCommand(const char *cmd_name, void(DeviceImpl::*exe_method)(), bool(DeviceImpl::*state_method)(const CORBA::Any &), const char *in_desc, const char *out_desc, Tango::DispLevel level)
Constructs a newly allocated TemplCommand object for a command with a name, an execution method,...
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
Database::unexport_server
void unexport_server(string &ds_name)
Unexport all devices from a device server in the database.
Tango::TemplCommand::TemplCommand
TemplCommand(string &cmd_name, void(DeviceImpl::*exe_method)(), string &in_desc, string &out_desc)
Constructs a newly allocated TemplCommand object for a command with a name, an execution method and a...
DeviceProxy::poll_command
virtual void poll_command(string &cmd_name, int polling_period)
Poll a command.
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::DeviceImpl::push_change_event
void push_change_event(string attr_name, Tango::DevUShort *p_data, long x=1, long y=0, bool release=false)
void push_change_event (string attr_name, Tango::DevBoolea Push a change event for an attribute with ...
Tango::GroupReplyList
Group reply for a write_attribute execution.
Definition: group.h:404
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::EncodedAttribute::EncodedAttribute
EncodedAttribute()
Create a new EncodedAttribute object.
Tango::DeviceImpl::push_event
void push_event(string attr_name, vector< string > &filt_names, vector< double > &filt_vals, Tango::DevBoolean *p_data, long x=1, long y=0, bool release=false)
Push a user event for an attribute with Tango::DevBoolean attribute data type.
Tango::DbDevExportInfo
Device export information to the database.
Definition: dbapi.h:861
Tango::TimedCmdData::TimedCmdData
TimedCmdData(T *p_data, struct timeval when)
Create a new TimedCmdData object.
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::Command::insert
CORBA::Any * insert(Tango::DevVarDoubleArray *data)
Create a CORBA CORBA::Any object and insert a Tango::DevVarDoubleArray data in it.
Tango::DbDatum
A database value.
Definition: dbapi.h:444
Tango::Command::extract
void extract(const CORBA::Any &in, const Tango::DevVarCharArray *&data)
Extract a char array from a CORBA Any object.
Tango::DeviceClass::~DeviceClass
virtual ~DeviceClass()
The device destructor.
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
DeviceProxy::stop_poll_command
virtual void stop_poll_command(string &cmd_name)
Stop polling a command.
Tango::Attribute::set_value_date_quality
void set_value_date_quality(Tango::DevBoolean *p_data, time_t t, Tango::AttrQuality qual, long x=1, long y=0, bool release=false)
Set internal attribute value, date and quality factor (for Tango::DevBoolean attribute data type).
Tango::Attribute::set_value
void set_value(Tango::DevDouble *p_data, long x=1, long y=0, bool release=false)
Set internal attribute value (for Tango::DevDouble attribute data type).
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::DeviceImpl::push_event
void push_event(string attr_name, vector< string > &filt_names, vector< double > &filt_vals, Tango::DevULong *p_data, long x=1, long y=0, bool release=false)
Push a user event for an attribute with Tango::DevULong attribute data type.
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
DeviceAttribute::get_data_format
AttrDataFormat get_data_format()
Get attribute data format.
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
Database::get_device_exported_for_class
DbDatum get_device_exported_for_class(string &class_name)
Get list of exported device for a class.
Tango::Device_3Impl::set_attribute_config_3
virtual void set_attribute_config_3(const Tango::AttributeConfigList_3 &new_conf)
Set attribute(s) configuration.
Tango::Attribute::set_value
void set_value(Tango::DevString *p_data, long x=1, long y=0, bool release=false)
Set internal attribute value (for Tango::DevString attribute data type).
Tango::WAttribute::set_write_value
void set_write_value(Tango::DevFloat *val, long x=1, long y=0)
Set the writable spectrum or image attribute value when the attribute data type is Tango::DevFloat.
Tango::DeviceClass::get_doc_url
string & get_doc_url()
Get the TANGO device class documentation URL.
Definition: deviceclass.h:216
Tango::WAttribute::set_write_value
void set_write_value(Tango::DevULong64 val)
Set the writable scalar attribute value when the attribute data type is Tango::DevULong64.
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:465
Tango::GroupReply::obj_name
const std::string & obj_name() const
Get object name.
Definition: group.h:209
Database::put_attribute_alias
void put_attribute_alias(string &att_name, string &att_alias)
Define attribute alias.
Database::add_server
void add_server(string &ds_name, DbDevInfos &devs)
Create a device server process in database.
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:742
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:78
AttributeProxy::event_queue_size
virtual int event_queue_size(int event_id)
Get events number in queue.
Definition: AttributeProxy.h:576
Tango::WAttribute::set_write_value
void set_write_value(vector< string > &val, long x=1, long y=0)
Set the writable spectrum or image attribute value when the attribute data type is Tango::DevString.
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::DeviceImpl::push_archive_event
void push_archive_event(string attr_name, Tango::DevULong *p_data, long x=1, long y=0, bool release=false)
Push an archive event for an attribute with Tango::DevULong attribute data type.
Tango::Device_2Impl::get_attribute_config_2
virtual Tango::AttributeConfigList_2 * get_attribute_config_2(const Tango::DevVarStringArray &names)
Get attribute(s) configuration.
Tango::EncodedAttribute
This class provides method to deal with Tango::DevEncoded attribute format.
Definition: encoded_attribute.h:54
Tango::DeviceImpl::push_archive_event
void push_archive_event(string attr_name, Tango::DevLong64 *p_data, long x=1, long y=0, bool release=false)
Push an archive event for an attribute with Tango::DevLong64 attribute data type.
Tango::Attr::is_change_event
bool is_change_event()
Check if the change event is fired manually for this attribute.
Definition: attrdesc.h:488
DeviceProxy::unsubscribe_event
virtual void unsubscribe_event(int event_id)
Unsubscribe for event reception.
Tango::WAttribute::set_write_value
void set_write_value(Tango::DevShort *val, long x=1, long y=0)
Set the writable spectrum or image attribute value when the attribute data type is Tango::DevShort.
Database::export_device
void export_device(DbDevExportInfo &info)
Export a device into the database.
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
DeviceData::operator>>
bool operator>>(bool &datum)
The extract operators.
DevicePipe::get_name
const string & get_name()
Get pipe name.
Definition: DevicePipe.h:866
Tango::DeviceClass::device_destroyer
void device_destroyer(const string &dev_name)
Delete device.
Tango::DbServerData
Class used to move/copy a complete device server process database configuration from one Tango host t...
Definition: dbapi.h:1026
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
=============================================================================
Definition: tango_const.h:36
Tango::TimedAttrData::TimedAttrData
TimedAttrData(const T *p_data, long x, struct timeval when)
Create a new TimedAttrData object.
Tango::Attribute::set_value_date_quality
void set_value_date_quality(Tango::DevLong *p_data, time_t t, Tango::AttrQuality qual, long x=1, long y=0, bool release=false)
Set internal attribute value, date and quality factor (for Tango::DevLong attribute data type).
DeviceProxy::dev_name
virtual string dev_name()
Return the device name as it is stored locally.
Definition: DeviceProxy.h:316
Tango::DeviceImpl::push_archive_event
void push_archive_event(string attr_name, Tango::DevLong64 *p_data, struct timeval &t, Tango::AttrQuality qual, long x=1, long y=0, bool release=false)
Push an archive event for an attribute with Tango::DevLong64 attribute data type.
Tango::CommandInfo
Command information data extension.
Definition: devapi.h:132
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
Database::get_server_list
DbDatum get_server_list()
Get list of device server processes.
Tango::Attribute::set_value_date_quality
void set_value_date_quality(Tango::DevEncoded *p_data, struct timeval &t, Tango::AttrQuality qual, long x=1, long y=0, bool release=false)
Set internal attribute value, date and quality factor (for Tango::DevEncoded attribute data type).
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::DeviceImpl::push_event
void push_event(string attr_name, vector< string > &filt_names, vector< double > &filt_vals, Tango::DevLong *p_data, long x=1, long y=0, bool release=false)
Push a user event for an attribute with Tango::DevLong attribute data type.
Tango::TimedAttrData::TimedAttrData
TimedAttrData(const T *p_data, long x, Tango::AttrQuality qual, time_t when)
Create a new TimedAttrData object.
Tango::DeviceClass::export_device
void export_device(DeviceImpl *dev, const char *corba_dev_name="Unused")
Export a device.
DeviceProxy::attribute_query
virtual AttributeInfoEx attribute_query(string att_name)
Query the device for attribute information.
Definition: DeviceProxy.h:517
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::TimedAttrData::TimedAttrData
TimedAttrData(const T *p_data, long x, Tango::AttrQuality qual, bool rel, time_t when)
Create a new TimedAttrData object.
Tango::DeviceImpl::get_attribute_poll_period
int get_attribute_poll_period(const string &att_name)
Get attribute polling period.
Tango::WAttribute::set_write_value
void set_write_value(Tango::DevDouble val)
Set the writable scalar attribute value when the attribute data type is Tango::DevDouble.
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::TimedAttrData::TimedAttrData
TimedAttrData(const T *p_data, const T *p_wr_data, time_t when)
Create a new TimedAttrData object for a R/W attribute.
AttributeProxy::read
virtual DeviceAttribute read()
Read attribute value.
Tango::Attribute::get_properties
void get_properties(Tango::MultiAttrProp< T > &props)
Get all modifiable attribute properties in one call.
Tango::Util::trigger_attr_polling
void trigger_attr_polling(DeviceImpl *dev, const string &name)
Trigger polling for polled attribute.
Tango::Device_2Impl::Device_2Impl
Device_2Impl(DeviceClass *device_class, string &dev_name, string &desc, Tango::DevState dev_state, string &dev_status)
Constructs a newly allocated Device_2Impl object from all its creation parameters.
Tango::WAttribute::is_min_value
bool is_min_value()
Check if the attribute has a minimum value.
Definition: w_attribute.h:108
AttributeProxy::write_asynch
virtual long write_asynch(DeviceAttribute &da)
Write attribute value asynchrnously in polling model.
Definition: AttributeProxy.h:363
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::WAttribute::set_write_value
void set_write_value(vector< Tango::DevLong64 > &val, long x=1, long y=0)
Set the writable spectrum or image attribute value when the attribute data type is Tango::DevLong64.
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::Pipe::Pipe
Pipe(const string &name, const Tango::DispLevel level, const PipeWriteType pwt=PIPE_READ)
Constructs a newly allocated Pipe object from its name and its display level.
Tango::ChangeEventInfo::rel_change
string rel_change
Relative change threshold.
Definition: devapi.h:249
Tango::Attribute::set_value_date_quality
void set_value_date_quality(Tango::DevString *p_data, time_t t, Tango::AttrQuality qual, long x=1, long y=0, bool release=false)
Set internal attribute value, date and quality factor (for Tango::DevString attribute data type).
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.
Database::get_device_name
DbDatum get_device_name(string &ds_name, string &class_name)
Get list of devices served by a device server process.
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
DeviceProxy::ping
virtual int ping()
Ping a device.
DeviceAttribute
Fundamental type for sending an dreceiving data to and from device attributes.
Definition: DeviceAttribute.h:73
Tango::DeviceImpl::is_attribute_polled
bool is_attribute_polled(const string &att_name)
Check if attribute is polled.
Tango::DbDevInfos
vector< DbDevInfo > DbDevInfos
Some typedef and define.
Definition: dbapi.h:57
Tango::WAttribute::set_write_value
void set_write_value(vector< Tango::DevUChar > &val, long x=1, long y=0)
Set the writable spectrum or image attribute value when the attribute data type is Tango::DevUChar.
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::add
virtual void add(const std::string &pattern, int tmo_ms=-1)
Attaches any device which name matches the specified pattern.
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::Command::insert
CORBA::Any * insert(Tango::DevDouble data)
Create a CORBA Any object and insert a Tango::DevDouble data in it.
Tango::DeviceImpl::dev_attr
MultiAttribute * dev_attr
Pointer to the multi attribute object.
Definition: device.h:3280
Connection::cancel_asynch_request
virtual void cancel_asynch_request(long id)
Cancel a pending asynchronous request.
Tango::Command::get_out_type
Tango::CmdArgType get_out_type()
Return the output parameter type.
Definition: command.h:314
Tango::CHANGE_EVENT
@ CHANGE_EVENT
Change event.
Definition: tango_const.h:1085
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:195
Tango::DeviceClass::get_device_list
vector< DeviceImpl * > & get_device_list()
Get the device object vector.
Definition: deviceclass.h:228
Tango::DeviceImpl::push_archive_event
void push_archive_event(string attr_name, Tango::DevUChar *p_data, long x=1, long y=0, bool release=false)
Push an archive event for an attribute with Tango::DevUChar attribute data type.
Tango::WAttribute::set_write_value
void set_write_value(vector< Tango::DevUShort > &val, long x=1, long y=0)
Set the writable spectrum or image attribute value when the attribute data type is Tango::DevUShort.
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::DeviceImpl::push_archive_event
void push_archive_event(string attr_name, Tango::DevString *p_str_data, Tango::DevUChar *p_data, long size, struct timeval &t, Tango::AttrQuality qual, bool release=false)
Push an archive event for an attribute with Tango::DevEncoded attribute data type when it is specifie...
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::Command::Command
Command(string &s, Tango::CmdArgType in, Tango::CmdArgType out, string &in_desc, string &out_desc, Tango::DispLevel level)
Constructs a newly allocated Command object for a command from its name, its input and output paramet...
Tango::PipeInfo
struct Tango::PipeInfo PipeInfo
Base structure for pipe information.
Tango::ImageAttr::~ImageAttr
~ImageAttr()
The object destructor.
Definition: attrdesc.h:818
Tango::DataReadyEventData::device
DeviceProxy * device
Definition: event.h:288
Tango::PipeEventData::pipe_name
string pipe_name
The pipe name.
Definition: event.h:461
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::Attribute::set_max_warning
void set_max_warning(char *new_max_warning)
Set attribute maximum warning.
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:376
AttributeProxy::get_config
virtual AttributeInfoEx get_config()
Get attribute configuration.
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:80
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::DeviceImpl::push_change_event
void push_change_event(string attr_name, Tango::DevDouble *p_data, struct timeval &t, Tango::AttrQuality qual, long x=1, long y=0, bool release=false)
Push a change event for an attribute with Tango::DevDouble attribute data type.
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
Database::get_device_member
DbDatum get_device_member(string &wildcard)
Get list of device member name.
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
Database::get_server_class_list
DbDatum get_server_class_list(string &ds_name)
Get list of Tango classes embedded in a device server proess.
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
DeviceProxy::add_logging_target
virtual void add_logging_target(const string &target_type_name)
Add a logging target to the device.
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:80
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::EncodedAttribute::~EncodedAttribute
~EncodedAttribute()
The attribute desctructor.
Tango::Except::throw_exception
static TANGO_NORETURN void throw_exception(const CORBA::SystemException &ex, const string &origin)
Generate and throw a TANGO DevFailed exception.
DeviceProxy::get_command_config
virtual CommandInfo get_command_config(const string &cmd_name)
Get command information for a single command.
Definition: DeviceProxy.h:398
Tango::DeviceImpl::push_event
void push_event(string attr_name, vector< string > &filt_names, vector< double > &filt_vals, Tango::DevShort *p_data, struct timeval &t, Tango::AttrQuality qual, long x=1, long y=0, bool release=false)
Push a user event for an attribute with Tango::DevShort attribute data type.
Tango::CmdHistoryStack::push
void push(Tango::TimedCmdData< T > const &elt)
Store a new element in the stack.
Database::get_alias_from_attribute
void get_alias_from_attribute(string att_name, string &alias)
Get attribute alias form its name.
Tango::SpectrumAttr::SpectrumAttr
SpectrumAttr(const char *name, long data_type, long max_x, DispLevel level)
Constructs a newly allocated SpectrumAttr object.
Tango::Device_3Impl::Device_3Impl
Device_3Impl(DeviceClass *device_class, string &dev_name, string &desc)
Constructs a newly allocated Device_3Impl object from its name and its description.
Tango::MultiAttrProp::event_period
AttrProp< DevLong > event_period
Attribute event_period.
Definition: attrprop.h:623
Tango::DeviceImpl::DeviceImpl
DeviceImpl(DeviceClass *device_class, string &dev_name, string &desc)
Constructs a newly allocated DeviceImpl object from its name and its description.
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:292
Tango::WAttribute::set_write_value
void set_write_value(Tango::DevLong val)
Set the writable scalar attribute value when the attribute data type is Tango::DevLong.
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.
DeviceProxy::write_attributes
virtual void write_attributes(vector< DeviceAttribute > &attr_in)
Write the specified attributes.
Database::get_device_info
DbDevFullInfo get_device_info(string &dev_name)
Get device information.
Tango::Attribute::when
Tango::TimeVal when
The date when attribute was read.
Definition: attribute.h:1967
Tango::Command::insert
CORBA::Any * insert(Tango::DevVarShortArray *data)
Create a CORBA Any object and insert a Tango::DevVarShortArray data in it.
Tango::Command::insert
CORBA::Any * insert(Tango::DevVarDoubleStringArray &data)
Create a CORBA Any object and insert a Tango::DevVarDoubleStringArray data in it.
Tango::Command::Command
Command(string &s, Tango::CmdArgType in, Tango::CmdArgType out, string &in_desc, string &out_desc)
Constructs a newly allocated Command object for a command from its name, its input and output paramet...
DevicePipeBlob::exceptions
void exceptions(bitset< numFlags > fl)
Set exception flag.
Definition: DevicePipe.h:542
Tango::Command::name
string name
The command name.
Definition: command.h:1217
AttributeProxy::state
virtual DevState state()
Get device state.
Tango::Attribute::set_value_date_quality
void set_value_date_quality(Tango::DevLong64 *p_data, struct timeval &t, Tango::AttrQuality qual, long x=1, long y=0, bool release=false)
Set internal attribute value, date and quality factor (for Tango::DevLong64 attribute data type).
Tango::AttrProp::AttrProp
AttrProp(const T &value)
Create a new AttrProp object.
Definition: attrprop.h:80
Database::get_object_property_list
DbDatum get_object_property_list(string &obj_name, string &wildcard)
Get object property list.
Tango::AttributeAlarmInfo::delta_t
string delta_t
Delta t RDS.
Definition: devapi.h:229
DevicePipe
Fundamental type for sending/receiving data from device pipes.
Definition: DevicePipe.h:811
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:413
Tango::DeviceAttributeConfig::display_unit
string display_unit
Display unit.
Definition: devapi.h:181
DeviceProxy::get_attribute_poll_period
virtual int get_attribute_poll_period(string &att_name)
Get attribute polling period.
Database::Database
Database(CORBA::ORB *orb=NULL)
Create a TANGO Database object.
DevicePipe::get_data_elt_names
vector< string > get_data_elt_names()
Get root blob data elements name.
Definition: DevicePipe.h:952
Tango::Command::extract
void extract(const CORBA::Any &in, const Tango::DevVarShortArray *&data)
Extract a short array from a CORBA Any object.
Tango::UserDefaultPipeProp
User class to set pipe default properties.
Definition: pipedesc.h:59
Tango::ChangeEventInfo
struct Tango::ChangeEventInfo ChangeEventInfo
Attribute change event configuration.
DbDevice::export_device
void export_device(DbDevExportInfo &dev_info)
Export device info to the database.
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.
AttributeProxy::subscribe_event
virtual int subscribe_event(EventType event, CallBack *cb)
Subscribe to attribute event.
AttributeProxy::write_read
virtual DeviceAttribute write_read(DeviceAttribute &da)
Write the Read attribute value.
Tango::PipeInfo::label
string label
Pipe label.
Definition: devapi.h:374
AttributeProxy::read_reply
virtual DeviceAttribute * read_reply(long id)
Get asynchronous read attribute call reply.
Definition: AttributeProxy.h:329
Tango::TimedAttrData::TimedAttrData
TimedAttrData(DevErrorList &errs, timeval when)
Create a new TimedAttrData object for errors.
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.
DeviceAttribute::get_type
int get_type()
Get attribute data type.
Tango::DeviceAttributeConfig::max_dim_y
int max_dim_y
Max dim Y.
Definition: devapi.h:176
DeviceProxy::adm_name
virtual string adm_name()
Return the administrator device name.
Tango::Attribute::set_value_date_quality
void set_value_date_quality(Tango::DevState *p_data, struct timeval &t, Tango::AttrQuality qual, long x=1, long y=0, bool release=false)
Set internal attribute value, date and quality factor (for Tango::DevState attribute data type).
Tango::TimedAttrData::TimedAttrData
TimedAttrData(const T *p_data, const T *p_wr_data, struct timeval when)
Create a new TimedAttrData object for a R/W attribute.
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::EventData::attr_value
DeviceAttribute * attr_value
The attribute data.
Definition: event.h:97
Tango::DeviceClass::db_class
DbClass * db_class
The associated DbClass object.
Definition: deviceclass.h:428
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::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
DevicePipeBlob::set_data_elt_nb
void set_data_elt_nb(size_t nb)
Set blob data element number.
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::Command::insert
CORBA::Any * insert(Tango::DevVarLongArray &data)
Create a CORBA Any object and insert a Tango::DevVarLongArray data in it.
Tango::DeviceImpl::push_archive_event
void push_archive_event(string attr_name, Tango::DevState *p_data, long x=1, long y=0, bool release=false)
Push an archive event for an attribute with Tango::DevState attribute data type.
Tango::Attribute::min_value
Tango::Attr_CheckVal min_value
The attribute minimum value in binary format.
Definition: attribute.h:2096
Tango::Attribute::set_value
void set_value(Tango::DevString *p_data_str, Tango::DevUChar *p_data, long size, bool release=false)
Set internal attribute value (for Tango::DevEncoded attribute data type).
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::DeviceImpl::push_event
void push_event(string attr_name, vector< string > &filt_names, vector< double > &filt_vals, Tango::DevString *p_data, struct timeval &t, Tango::AttrQuality qual, long x=1, long y=0, bool release=false)
Push a user event for an attribute with Tango::DevString attribute data type.
Tango::Group::command_inout_asynch
long command_inout_asynch(const std::string &c, const DeviceData &d, bool fgt=false, bool fwd=true)
Executes a Tango command with same input data on each device in the group asynchronously.
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
DeviceProxy::state
virtual DevState state()
Get device state.
Tango::SpectrumAttr
User class to create a one dimension attribute object.
Definition: attrdesc.h:635
Tango::TimedAttrData::TimedAttrData
TimedAttrData(const T *p_data, long x, long y, const T *p_wr_data, long x_wr, long y_wr, Tango::AttrQuality qual, bool rel, time_t when)
Create a new TimedAttrData object for a R/W attribute.
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::push_archive_event
void push_archive_event(string attr_name, Tango::DevString *p_data, long x=1, long y=0, bool release=false)
Push an archive event for an attribute with Tango::DevString attribute data type.
Tango::DeviceImpl::push_change_event
void push_change_event(string attr_name, Tango::DevLong *p_data, long x=1, long y=0, bool release=false)
Push a change event for an attribute with Tango::DevLong attribute data type.
Tango::DeviceImpl::DeviceImpl
DeviceImpl(DeviceClass *device_class, string &dev_name)
Constructs a newly allocated DeviceImpl object from its name.
Tango::Attribute::set_max_alarm
void set_max_alarm(const char *new_max_alarm)
Set attribute maximum alarm.
Tango::DeviceImpl::push_change_event
void push_change_event(string attr_name, Tango::DevString *p_data, struct timeval &t, Tango::AttrQuality qual, long x=1, long y=0, bool release=false)
Push a change event for an attribute with Tango::DevString attribute data type.
Tango::Device_5Impl::Device_5Impl
Device_5Impl(DeviceClass *device_class, string &dev_name, string &desc, Tango::DevState dev_state, string &dev_status)
Constructs a newly allocated Device_5Impl object from all its creation parameters.
Tango::UserDefaultAttrProp::set_max_alarm
void set_max_alarm(const char *def_max_alarm)
Set default max_alarm property.
Definition: attrdesc.h:174
Tango::TimedAttrData::TimedAttrData
TimedAttrData(const T *p_data, long x, const T *p_wr_data, long x_wr, Tango::AttrQuality qual, bool rel, struct timeval when)
Create a new TimedAttrData object for a R/W attribute.
Tango::PeriodicEventInfo::period
string period
Event period.
Definition: devapi.h:266
Tango::WAttribute::set_write_value
void set_write_value(string &val)
Set the writable scalar attribute value when the attribute data type is Tango::DevString.
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::WAttribute::set_write_value
void set_write_value(Tango::DevDouble *val, long x=1, long y=0)
Set the writable spectrum or image attribute value when the attribute data type is Tango::DevDouble.
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::Attribute::set_value_date_quality
void set_value_date_quality(Tango::DevEncoded *p_data, time_t t, Tango::AttrQuality qual, long x=1, long y=0, bool release=false)
Set internal attribute value, date and quality factor (for Tango::DevEncoded attribute data type).
DevicePipe::set_exceptions
void set_exceptions(DevicePipeBlob::except_flags fl)
Set one exception flag.
Definition: DevicePipe.h:1035
Tango::Device_3Impl::Device_3Impl
Device_3Impl(DeviceClass *device_class, const char *dev_name, const char *desc="A TANGO device", Tango::DevState dev_state=Tango::UNKNOWN, const char *dev_status=StatusNotSet)
Constructs a newly allocated Device_3Impl object from all its creation parameters with some default v...
Tango::ErrorManagementType
ErrorManagementType
Possible error management with write_read_attribute call.
Definition: tango_const.h:1133
Tango::CmdHistoryStack::length
void length(long nb)
Reserve memory for stack elements.
Definition: pollext.h:934
DevicePipe::operator<<
DevicePipe & operator<<(short &datum)
Insert data into a device pipe.
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::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
Connection::set_timeout_millis
virtual void set_timeout_millis(int timeout)
Set device timeout.
Database::get_device_service_list
DbDatum get_device_service_list(string &service_name)
Get services list from database.
Tango::Attribute::fire_change_event
void fire_change_event(DevFailed *except=NULL)
Fire a change event for the attribute value.
Tango::Attribute::set_min_warning
void set_min_warning(char *new_min_warning)
Set attribute minimum warning.
DeviceAttribute::has_failed
bool has_failed()
Check if the call failed.
Definition: DeviceAttribute.h:1037
DevicePipe::set_data_elt_nb
void set_data_elt_nb(size_t nb)
Set blob data element number.
Definition: DevicePipe.h:909
Tango::DeviceImpl::poll_attribute
void poll_attribute(const string &att_name, int period)
Start polling one attribute.
Tango::DeviceImpl::push_event
void push_event(string attr_name, vector< string > &filt_names, vector< double > &filt_vals, Tango::DevString *p_str_data, Tango::DevUChar *p_data, long size, struct timeval &t, Tango::AttrQuality qual, bool release=false)
Push a user event for an attribute with Tango::DevEncoded attribute data type when the string part an...
Tango::Util::set_class_list
void set_class_list(vector< DeviceClass * > *list)
Set the DeviceClass list pointer.
Definition: utils.h:364
Database::get_device_attribute_property_history
vector< DbHistory > get_device_attribute_property_history(string &dev_name, string &prop_name, string &att_name)
Get device attribute property history from database.
ApiUtil
Miscellaneous utility methods usefull in a Tango client.
Definition: ApiUtil.h:55
Tango::UserDefaultAttrProp::set_display_unit
void set_display_unit(const char *def_disp_unit)
Set default display unit property.
Definition: attrdesc.h:124
Database::get_alias
void get_alias(string dev_name, string &dev_alias)
Get device alias from its name.
Connection::command_inout_reply
virtual DeviceData command_inout_reply(long id)
Check an asynchronous command_inout answer is arrived.
Tango::Except::throw_named_exception
static TANGO_NORETURN void throw_named_exception(Tango::DeviceImpl *d, long att_idx, const char *reason, const char *desc, const char *origin, Tango::ErrSeverity sever=Tango::ERR)
Throw a TANGO MultiDevFailed exception.
Tango::AttrProp::is_val
bool is_val()
Check if the attribute property value has been assigned.
Definition: attrprop.h:218
AttributeProxy::AttributeProxy
AttributeProxy(string &name)
Create a AttributeProxy object.
Tango::Util::get_serial_model
SerialModel get_serial_model()
Get the serialization model.
Definition: utils.h:394
DeviceData::is_empty
bool is_empty()
Check if the DeviceData instance is empty.
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...
DeviceProxy::pending_asynch_call
virtual long pending_asynch_call(asyn_req_type req)
Get pending asynchronous request number.
Definition: DeviceProxy.h:1172
Database::get_server_name_list
DbDatum get_server_name_list()
Get list of all Tango device server process.
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::DeviceImpl::push_change_event
void push_change_event(string attr_name, Tango::DevULong64 *p_data, long x=1, long y=0, bool release=false)
Push a change event for an attribute with Tango::DevULong64 attribute data type.
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.
DeviceAttribute::get_quality
AttrQuality & get_quality()
Get attribute quality factor.
Definition: DeviceAttribute.h:1271
Tango::Group::write_attribute_asynch
long write_attribute_asynch(const std::vector< DeviceAttribute > &d, bool fwd=true)
Writes several attributes on each device in the group asynchronously.
DbDevice::put_attribute_property
void put_attribute_property(DbData &db)
Update device attribute property in database.
Tango::MultiAttribute::check_alarm
bool check_alarm()
Check alarm on all attribute(s) with an alarm defined.
Tango::DeviceClass::device_destroyer
void device_destroyer(const char *dev_name)
Delete device.
Tango::DataReadyEventData::attr_name
string attr_name
The attribute name.
Definition: event.h:289
Tango::WAttribute::set_write_value
void set_write_value(vector< Tango::DevLong > &val, long x=1, long y=0)
Set the writable spectrum or image attribute value when the attribute data type is Tango::DevLong.
Tango::DoubleAttrProp::DoubleAttrProp
DoubleAttrProp(const string &value_str)
Create a new DoubleAttrProp object.
Definition: attrprop.h:323
Tango::Command::insert
CORBA::Any * insert(Tango::DevVarDoubleArray &data)
Create a CORBA Any object and insert a Tango::DevVarDoubleArray data in it.
DeviceProxy::status
virtual string status()
Get device status.
Tango::Command::insert
CORBA::Any * insert()
Create an empty CORBA Any object.
Tango::Attribute::set_value_date_quality
void set_value_date_quality(Tango::DevString *p_data_str, Tango::DevUChar *p_data, long size, struct timeval &t, Tango::AttrQuality qual, bool release=false)
Set internal attribute value, date and quality factor (for Tango::DevEncoded attribute data type when...
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::Attribute::set_value
void set_value(Tango::DevULong *p_data, long x=1, long y=0, bool release=false)
Set internal attribute value (for Tango::DevULong attribute data type).
Tango::WAttribute::set_min_value
void set_min_value(const T &min_value)
Set attribute minimum value.
Database::get_class_inheritance_for_device
DbDatum get_class_inheritance_for_device(string &dev_name)
Get device inheritance scheme.
Tango::DeviceImpl::push_change_event
void push_change_event(string attr_name, Tango::DevString *p_str_data, Tango::DevUChar *p_data, long size, struct timeval &t, Tango::AttrQuality qual, bool release=false)
Push a change event for an attribute with Tango::DevEncoded attribute data type when the data rea spe...
Tango::WAttribute::set_write_value
void set_write_value(Tango::DevString *val, long x=1, long y=0)
Set the writable spectrum or image attribute value when the attribute data type is Tango::DevString.
ApiUtil::pending_asynch_call
size_t pending_asynch_call(asyn_req_type ty)
Get pending asynchronous requets number.
Definition: ApiUtil.h:98
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:196
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
AttributeProxy::is_polled
virtual bool is_polled()
Check if the attribute is polled.
DeviceProxy::get_command_poll_period
virtual int get_command_poll_period(string &cmd_name)
Get command polling period.
Tango::MultiAttrProp::label
string label
Attribute label.
Definition: attrprop.h:567
Tango::Attribute::set_value
void set_value(Tango::EncodedAttribute *attr)
Set internal attribute value (for Tango::DevEncoded attribute data type).
DbDevice::delete_attribute_property
void delete_attribute_property(DbData &db)
Remove device attribute property from database.
Tango::AttrWrittenEvent
Asynchronous write attribute execution callback data.
Definition: devasyn.h:183
Tango::DeviceAttributeConfig::writable
AttrWriteType writable
Writable type (Read, Write,...)
Definition: devapi.h:172
Tango::AttrReadEvent
Asynchronous read attribute execution callback data.
Definition: devasyn.h:130
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.
DeviceProxy::write_read_attribute
virtual DeviceAttribute write_read_attribute(DeviceAttribute &attr_in)
Write and read a single attribute.
Tango::MEMORIZED_WRITE_INIT
@ 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:65
Tango::PUSH_CALLBACK
@ 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:284
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
DeviceProxy::is_locked_by_me
virtual bool is_locked_by_me()
Check if the device is locked by the caller.
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::DeviceImpl::push_event
void push_event(string attr_name, vector< string > &filt_names, vector< double > &filt_vals, Tango::DevString *p_data, long x=1, long y=0, bool release=false)
Push a user event for an attribute with Tango::DevString attribute data type.
Database::get_info
string get_info()
Get database info.
Tango::GroupCmdReplyList
Group reply for a command execution.
Definition: group.h:470
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.
DbDevice::delete_property
void delete_property(DbData &db)
Remove device property from database.
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:535
DevicePipeBlob::get_data_elt_name
string get_data_elt_name(size_t ind)
Get blob data element name.
DevicePipeBlob::DevicePipeBlob
DevicePipeBlob(const string &blob_name)
Create a DevicePipeBlob object with name.
Database::delete_server
void delete_server(string &ds_name)
Delete a device server process from the database.
DeviceAttribute::reset_exceptions
void reset_exceptions(except_flags fl)
Reset one exception flag.
Definition: DeviceAttribute.h:983
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::DeviceClass::get_pipe_by_name
Pipe & get_pipe_by_name(const string &pipe_name, const string &dev_name)
Get a reference to a pipe object.
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:153
Tango::Attribute::set_value_date_quality
void set_value_date_quality(Tango::DevULong *p_data, time_t t, Tango::AttrQuality qual, long x=1, long y=0, bool release=false)
Set internal attribute value, date and quality factor (for Tango::DevULong attribute data type).
DeviceAttribute::get_nb_read
long get_nb_read()
Get the number of read value.
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
Database::get_property_history
vector< DbHistory > get_property_history(string &obj_name, string &prop_name)
Get object property history from database.
Tango::WAttribute::set_min_value
void set_min_value(char *min_value)
Set attribute minimum value.
Tango::Command::insert
CORBA::Any * insert(Tango::DevVarULongArray &data)
Create a CORBA Any object and insert a Tango::DevVarULongArray data in it.
Tango::Util::~Util
~Util()
The class destructor.
Database::get_device_alias
void get_device_alias(string dev_alias, string &dev_name)
Get device name from its alias.
Tango::Command::extract
void extract(const CORBA::Any &in, Tango::DevFloat &data)
Extract a float data from a CORBA Any object.
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
DevicePipeBlob::reset_exceptions
void reset_exceptions(except_flags fl)
Reset one exception flag.
Definition: DevicePipe.h:570
Tango::Group::remove_all
virtual void remove_all()
Removes all elements in the group.
Database::get_class_property_history
vector< DbHistory > get_class_property_history(string &class_name, string &prop_name)
Get class property history from database.
Tango::Command::insert
CORBA::Any * insert(Tango::DevVarULong64Array &data)
Create a CORBA Any object and insert a Tango::DevVarULong64Array data in it.
Tango::Attribute::data_type
long data_type
The attribute data type.
Definition: attribute.h:1992
Tango::Util::get_device_list_by_class
vector< DeviceImpl * > & get_device_list_by_class(const char *class_name)
Get the list of device references for a given TANGO class.
Tango::Util::set_trace_level
void set_trace_level(int level)
Set the process trace level.
Definition: utils.h:240
Database::get_device_from_alias
void get_device_from_alias(string alias, string &dev_name)
Get device name from its alias.
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::DeviceClass::get_pipe_list
vector< Pipe * > & get_pipe_list(const string &dev_name)
Get the pipe object vector.
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
DeviceAttribute::DeviceAttribute
DeviceAttribute(string &name, vector< short > &val, int dim_x, int dim_y)
Create a DeviceAttribute object from attribute name and value for image attribute.
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::DeviceImpl::push_event
void push_event(string attr_name, vector< string > &filt_names, vector< double > &filt_vals, Tango::DevEncoded *p_data, long x=1, long y=0, bool release=false)
Push a user event for an attribute with Tango::DevEncoded attribute data type.
Tango::DeviceImpl::push_event
void push_event(string attr_name, vector< string > &filt_names, vector< double > &filt_vals, Tango::DevState *p_data, struct timeval &t, Tango::AttrQuality qual, long x=1, long y=0, bool release=false)
Push a user event for an attribute with Tango::DevState attribute data type.
Tango::DeviceClass::get_db_class
DbClass * get_db_class()
Get a pointer to the associated DbClass object.
Definition: deviceclass.h:264
Database::rename_server
void rename_server(const string &old_ds_name, const string &new_ds_name)
Rename a device server in the database.
Tango::PeriodicEventInfo::extensions
vector< string > extensions
Future extensions.
Definition: devapi.h:267
DeviceProxy::set_attribute_config
virtual void set_attribute_config(AttributeInfoList &atts)
Set attribute configuration.
DeviceData::exceptions
void exceptions(bitset< numFlags > fl)
Set exception flag.
Definition: DeviceData.h:514
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
Database::get_class_attribute_property_history
vector< DbHistory > get_class_attribute_property_history(string &class_name, string &att_name, string &prop_name)
Get class attribute property history from database.
Tango::DeviceClass::register_signal
void register_signal(long signo, bool own_handler=false)
Register a signal.
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:91
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:99
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::TimedAttrData::TimedAttrData
TimedAttrData(const T *p_data, Tango::AttrQuality qual, bool rel, time_t when)
Create a new TimedAttrData 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 occurred.
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
Database
A high level object which contains the link to the database.
Definition: Database.h:53
Tango::Command::insert
CORBA::Any * insert(Tango::DevVarStringArray &data)
Create a CORBA Any object and insert a Tango::DevVarStringArray data in it.
Tango::Attribute::set_min_alarm
void set_min_alarm(char *new_min_alarm)
Set attribute minimum alarm.
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.
DeviceAttribute::get_written_dim_x
int get_written_dim_x()
Get the attribute write X dimension.
Definition: DeviceAttribute.h:1195
Database::get_device_class_list
DbDatum get_device_class_list(string &ds_name)
Get list of devices/classes for a specified device server.
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
DeviceProxy::import_info
virtual DbDevImportInfo import_info()
Query the device for import info from the database.
Tango::PipeEventData::pipe_value
DevicePipe * pipe_value
The pipe data.
Definition: event.h:463
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:339
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:725
Tango::Command::insert
CORBA::Any * insert(Tango::DevVarUShortArray &data)
Create a CORBA Any object and insert a Tango::DevVarUShortArray data in it.
Tango::Attribute::set_assoc_ind
void set_assoc_ind(long val)
Set index of the associated writable attribute.
Definition: attribute.h:342
Tango::Util::get_device_by_name
DeviceImpl * get_device_by_name(const char *dev_name)
Get a device reference from its name.
Tango::ChangeEventInfo
Attribute change event configuration.
Definition: devapi.h:248
Tango::Device_2Impl::Device_2Impl
Device_2Impl(DeviceClass *device_class, const char *dev_name, const char *desc="A TANGO device", Tango::DevState dev_state=Tango::UNKNOWN, const char *dev_status=StatusNotSet)
Constructs a newly allocated Device_2Impl object from all its creation parameters with some default v...
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::DeviceImpl::push_event
void push_event(string attr_name, vector< string > &filt_names, vector< double > &filt_vals, Tango::DevULong64 *p_data, struct timeval &t, Tango::AttrQuality qual, long x=1, long y=0, bool release=false)
Push a user event for an attribute with Tango::DevULong64 attribute data type.
Tango::TimedAttrData::TimedAttrData
TimedAttrData(const T *p_data, Tango::AttrQuality qual, time_t when)
Create a new TimedAttrData object.
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::DeviceClass::device_factory
virtual void device_factory(const Tango::DevVarStringArray *dev_list)=0
Create device(s).
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:910
Tango::EncodedAttribute::encode_gray16
void encode_gray16(unsigned short *gray16, int width, int height)
Encode a 16 bit grayscale image (no compression)
Tango::DeviceClass::get_command_list
vector< Command * > & get_command_list()
Get the command object vector.
Definition: deviceclass.h:234
Tango::DeviceClass::command_factory
virtual void command_factory()=0
Create command objects for all command supported by this class of device.
Tango::DeviceImpl::get_status
string & get_status()
Get device status.
Definition: device.h:191
Tango::NONE
@ NONE
The attribute is not memorized.
Definition: devapi.h:317
Database::delete_device_pipe_property
void delete_device_pipe_property(string dev_name, DbData &db)
Delete device pipe property from database.
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::TimedAttrData::TimedAttrData
TimedAttrData(const T *p_data, long x, long y, Tango::AttrQuality qual, bool rel, time_t when)
Create a new TimedAttrData object.
Tango::DevIntrChangeEventData::device
DeviceProxy * device
Definition: event.h:374
Connection::command_inout
virtual DeviceData command_inout(string &cmd_name)
Execute a command (without input data)
Tango::Command::insert
CORBA::Any * insert(Tango::DevVarLong64Array &data)
Create a CORBA Any object and insert a Tango::DevVarLong64Array data in it.
Tango::DeviceImpl::DeviceImpl
DeviceImpl(DeviceClass *device_class, string &dev_name, string &desc, Tango::DevState dev_state, string &dev_status)
Constructs a newly allocated DeviceImpl object from all its creation parameters.
DeviceData::set_exceptions
void set_exceptions(except_flags fl)
Set one exception flag.
Definition: DeviceData.h:550
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::Group::get_device
virtual DeviceProxy * get_device(long idx)
Returns a reference to the "idx-th" device in the hierarchy.
Tango::Command::Command
Command(const char *s, Tango::CmdArgType in, Tango::CmdArgType out, const char *in_desc, const char *out_desc)
Constructs a newly allocated Command object for a command from its name, its input and output paramet...
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::Command::insert
CORBA::Any * insert(const char *data)
Create a CORBA Any object and insert a Tango::DevString data in it.
Tango::NOT_KNOWN
@ NOT_KNOWN
Device too old to get this info.
Definition: devapi.h:316
Tango::Command::insert
CORBA::Any * insert(Tango::DevLong64 data)
Create a CORBA Any object and insert a Tango::DevLong64 data in it.
Tango::DataReadyEventData::event
string event
The event name.
Definition: event.h:290
Database::get_device_alias_list
DbDatum get_device_alias_list(string &filter)
Get device alias list.
DbDevice
A high level object for a device interface to the database.
Definition: DbDevice.h:52
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::TemplCommand::TemplCommand
TemplCommand(const char *cmd_name, void(DeviceImpl::*exe_method)(), const char *in_desc, const char *out_desc)
Constructs a newly allocated TemplCommand object for a command with a name, an execution method and a...
Tango::EncodedAttribute::decode_gray16
void decode_gray16(DeviceAttribute *attr, int *width, int *height, unsigned short **gray16)
Decode a 16 bits grayscale image (GRAY16) and returns a 16 bits gray scale image.
Tango::Command::insert
CORBA::Any * insert(DevVarBooleanArray *data)
Create a CORBA Any object and insert a Tango::DevVarBooleanArray data in it.
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
Database::get_class_list
DbDatum get_class_list(string &wildcard)
Get Tango class list.
Tango::WAttribute::set_write_value
void set_write_value(Tango::DevState val)
Set the writable scalar attribute value when the attribute data type is Tango::DevState.
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
Database::delete_attribute_alias
void delete_attribute_alias(string &att_alias)
Delete attribute alias.
DeviceProxy::read_attribute_reply
virtual DeviceAttribute * read_attribute_reply(long id)
Check if an asynchronous read_attribute (single attribute) call is arrived.
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::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
Connection::get_timeout_millis
virtual int get_timeout_millis()
Get device timeout.
Tango::DeviceImpl::push_pipe_event
void push_pipe_event(const string &pipe_name, Tango::DevicePipeBlob *p_data, struct timeval &t, bool reuse_it=false)
Push a pipe event with a specified timestamp.
Tango::TemplCommand::TemplCommand
TemplCommand(const char *cmd_name, void(DeviceImpl::*exe_method)(), bool(DeviceImpl::*state_method)(const CORBA::Any &), const char *in_desc, const char *out_desc)
Constructs a newly allocated TemplCommand object for a command with a name, an execution method,...
Tango::ALL_ASYNCH
@ 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
DataElement::value
T value
The data element value.
Definition: DevicePipe.h:76
Database::get_class_attribute_property
void get_class_attribute_property(string class_name, DbData &db)
Get class attribute property value.
Definition: Database.h:1062
Connection::get_idl_version
int get_idl_version()
Get device IDL version.
Definition: Connection.h:175
DeviceProxy::get_locker
virtual bool get_locker(LockerInfo &li)
Get device locking information.
Tango::DeviceImpl::push_change_event
void push_change_event(string attr_name, Tango::DevUChar *p_data, struct timeval &t, Tango::AttrQuality qual, long x=1, long y=0, bool release=false)
Push a change event for an attribute with Tango::DevUChar attribute data type.
AttributeProxy::put_property
virtual void put_property(DbData &db)
Put attribute property(ies)
Tango::DeviceImpl::push_event
void push_event(string attr_name, vector< string > &filt_names, vector< double > &filt_vals, Tango::DevShort *p_data, long x=1, long y=0, bool release=false)
Push a user event for an attribute with Tango::DevShort attribute data type.
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::DeviceImpl::push_change_event
void push_change_event(string attr_name, Tango::DevShort *p_data, struct timeval &t, Tango::AttrQuality qual, long x=1, long y=0, bool release=false)
Push a change event for an attribute with Tango::DevShort attribute data type.
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:197
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::ImageAttr::ImageAttr
ImageAttr(const char *name, long data_type, long max_x, long max_y, Tango::DispLevel level)
Constructs a newly allocated ImageAttr object.
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::DeviceImpl::push_event
void push_event(string attr_name, vector< string > &filt_names, vector< double > &filt_vals, Tango::DevFloat *p_data, long x=1, long y=0, bool release=false)
Push a user event for an attribute with Tango::DevFloat attribute data type.
DeviceProxy::attribute_list_query_ex
virtual AttributeInfoListEx * attribute_list_query_ex()
Query the device for information on all attributes.
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
Memorized attribute.
Definition: devapi.h:318
Tango::DeviceImpl::dev_state
virtual Tango::DevState dev_state()
Get device state.
Tango::Attribute::set_value_date_quality
void set_value_date_quality(Tango::DevULong *p_data, struct timeval &t, Tango::AttrQuality qual, long x=1, long y=0, bool release=false)
Set internal attribute value, date and quality factor (for Tango::DevULong attribute data type).
DeviceProxy::read_attribute_asynch
virtual long read_attribute_asynch(string &att_name)
Read a single attribute asynchronously.
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
Database::delete_device_property
void delete_device_property(string dev_name, DbData &db)
Delete device property from database.
Database::get_device_property
void get_device_property(string dev_name, DbData &db)
Get device property value.
Definition: Database.h:570
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
Database::put_device_alias
void put_device_alias(string &dev_name, string &dev_alias)
Define device alias.
Database::get_class_property
void get_class_property(string class_name, DbData &db)
Get class property value.
Definition: Database.h:948
Tango::CommandInfoList
vector< CommandInfo > CommandInfoList
A vector of CommandInfo structure.
Definition: devapi.h:146
Tango::DeviceImpl::push_event
void push_event(string attr_name, vector< string > &filt_names, vector< double > &filt_vals, Tango::DevLong64 *p_data, long x=1, long y=0, bool release=false)
Push a user event for an attribute with Tango::DevLong64 attribute data type.
Tango::NamedDevFailedList::get_faulty_attr_nb
size_t get_faulty_attr_nb()
Get faulty attribute number.
Definition: apiexcept.h:89
Tango::Command::insert
CORBA::Any * insert(Tango::DevVarULongArray *data)
Create a CORBA Any object and insert a Tango::DevVarULongArray data in it.
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
DeviceProxy::remove_logging_target
virtual void remove_logging_target(const string &target_type_name)
Remove a logging target from the device.
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::DeviceImpl::push_change_event
void push_change_event(string attr_name, Tango::DevLong64 *p_data, struct timeval &t, Tango::AttrQuality qual, long x=1, long y=0, bool release=false)
Push a change event for an attribute with Tango::DevLong64 attribute data type.
Database::register_service
void register_service(string &service_name, string &inst_name, string &dev_name)
Register a service in the database.
Tango::Util::get_ds_inst_name
string & get_ds_inst_name()
Get the device server instance name.
Definition: utils.h:291
Tango::EncodedAttribute::encode_jpeg_rgb24
void encode_jpeg_rgb24(unsigned char *rgb24, int width, int height, double quality)
Encode a 24 bit rgb color image as JPEG format.
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:1084
Database::delete_device
void delete_device(string dev_name)
Delete a device from the database.
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::DeviceImpl::push_event
void push_event(string attr_name, vector< string > &filt_names, vector< double > &filt_vals, Tango::DevULong *p_data, struct timeval &t, Tango::AttrQuality qual, long x=1, long y=0, bool release=false)
Push a user event for an attribute with Tango::DevULong attribute data type.
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::DeviceImpl::push_change_event
void push_change_event(string attr_name, Tango::DevLong64 *p_data, long x=1, long y=0, bool release=false)
Push a change event for an attribute with Tango::DevLong64 attribute data type.
Tango::DoubleAttrProp::is_val
bool is_val()
Check if the compound attribute property values have been assigned.
Definition: attrprop.h:495
ApiUtil::set_asynch_cb_sub_model
void set_asynch_cb_sub_model(cb_sub_model csm)
Set asynchronous callback sub-model.
DeviceProxy::read_attributes_reply
virtual vector< DeviceAttribute > * read_attributes_reply(long id)
Check if an asynchronous read_attributes call is arrived.
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.
Database::get_attribute_alias
void get_attribute_alias(string att_alias, string &att_name)
Get attribute name from its alias.
Tango::DeviceImpl::push_event
void push_event(string attr_name, vector< string > &filt_names, vector< double > &filt_vals, Tango::DevLong64 *p_data, struct timeval &t, Tango::AttrQuality qual, long x=1, long y=0, bool release=false)
Push a user event for an attribute with Tango::DevLong64 attribute data type.
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.
Database::export_server
void export_server(DbDevExportInfos &devs)
Delete a device server process from the database.
Tango::DeviceImpl::push_event
void push_event(string attr_name, vector< string > &filt_names, vector< double > &filt_vals, Tango::DevDouble *p_data, struct timeval &t, Tango::AttrQuality qual, long x=1, long y=0, bool release=false)
Push a user event for an attribute with Tango::DevDouble attribute data type.
Tango::DeviceImpl::push_event
void push_event(string attr_name, vector< string > &filt_names, vector< double > &filt_vals, Tango::DevDouble *p_data, long x=1, long y=0, bool release=false)
Push a user event for an attribute with Tango::DevDouble attribute data type.
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::DeviceImpl::push_event
void push_event(string attr_name, vector< string > &filt_names, vector< double > &filt_vals, Tango::DevLong *p_data, struct timeval &t, Tango::AttrQuality qual, long x=1, long y=0, bool release=false)
Push a user event for an attribute with Tango::DevLong attribute data type.
Tango::Attribute::set_min_warning
void set_min_warning(const char *new_min_warning)
Set attribute minimum warning.
Tango::Command::insert
CORBA::Any * insert(Tango::DevString data)
Create a CORBA Any object and insert a Tango::DevString data in it.
Tango::MultiAttrProp::display_unit
string display_unit
Attribute display_unit.
Definition: attrprop.h:583
Tango::Attribute::delta_val_str
string delta_val_str
The attribute delta value RDS alarm.
Definition: attribute.h:2068
Tango::Attribute::set_value
void set_value(Tango::DevLong *p_data, long x=1, long y=0, bool release=false)
Set internal attribute value (for Tango::DevLong attribute data type).
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::TimedAttrData::TimedAttrData
TimedAttrData(const T *p_data, long x, long y, Tango::AttrQuality qual, time_t when)
Create a new TimedAttrData object.
Database::delete_class_property
void delete_class_property(string class_name, DbData &db)
Delete class property from database.
Tango::Command::extract
void extract(const CORBA::Any &in, const Tango::DevVarULongArray *&data)
Extract a unsigned long array from a CORBA Any object.
Tango::TemplCommand::TemplCommand
TemplCommand(string &cmd_name, void(DeviceImpl::*exe_method)(), Tango::DispLevel level)
Constructs a newly allocated TemplCommand object for a command with a name and an execution method.
Database::get_instance_name_list
DbDatum get_instance_name_list(string &ds_name)
Get list of instances.
Tango::PERIODIC_EVENT
@ PERIODIC_EVENT
Periodic event.
Definition: tango_const.h:1087
Tango::DeviceImpl::poll_command
void poll_command(const string &cmd_name, int period)
Start polling a command.
Tango::DeviceImpl::push_change_event
void push_change_event(string attr_name, Tango::DevFloat *p_data, struct timeval &t, Tango::AttrQuality qual, long x=1, long y=0, bool release=false)
Push a change event for an attribute with Tango::DevFloat attribute data type.
Tango::ChangeEventInfo::abs_change
string abs_change
Absolute change threshold.
Definition: devapi.h:250
Tango::EncodedAttribute::decode_rgb32
void decode_rgb32(DeviceAttribute *attr, int *width, int *height, unsigned char **rgb32)
Decode a color image (JPEG_RGB or RGB24) and returns a 32 bits RGB image.
DevicePipeBlob::get_data_elt_nb
size_t get_data_elt_nb()
Get blob data element number.
DeviceProxy::write_attribute_asynch
virtual long write_attribute_asynch(DeviceAttribute &argin)
Write a single attribute asynchronously.
Tango::AttrProp
This class represents a Tango attribute property.
Definition: attrprop.h:66
Tango::DeviceImpl::push_change_event
void push_change_event(string attr_name, Tango::DevState *p_data, struct timeval &t, Tango::AttrQuality qual, long x=1, long y=0, bool release=false)
Push a change event for an attribute with Tango::DevState attribute data type.
Tango::Group::set_timeout_millis
virtual void set_timeout_millis(int tmo_ms)
Set client side timeout for all devices in the group.
DeviceProxy::name
virtual string name()
Return the device name (from the device itself)
Tango::DevIntrChangeEventData::cmd_list
CommandInfoList cmd_list
Device command list info.
Definition: event.h:377
Tango::Command::extract
void extract(const CORBA::Any &in, Tango::DevULong64 &data)
Extract an unsigned 64 bits long data from a CORBA Any object.
Tango::WPipe::get_data_elt_names
vector< string > get_data_elt_names()
Get root blob data elements name.
Definition: w_pipe.h:135
Database::get_class_pipe_list
DbDatum get_class_pipe_list(const string &class_name, const string &wildcard)
Get class pipe list.
Tango::DeviceImpl::push_event
void push_event(string attr_name, vector< string > &filt_names, vector< double > &filt_vals, Tango::DevString *p_str_data, Tango::DevUChar *p_data, long size, bool release=false)
Push a user event for an attribute with Tango::DevEncoded attribute data type when the attribute data...
DeviceAttribute::set_name
void set_name(string &na)
Set attribute name.
Definition: DeviceAttribute.h:1163
Tango::PipeEventData::err
bool err
A boolean flag set to true if the request failed. False otherwise.
Definition: event.h:464
Tango::WPipe::operator>>
WPipe & operator>>(short &datum)
Extract data from a device pipe.
Tango::TimedAttrData::TimedAttrData
TimedAttrData(const T *p_data, long x, long y, struct timeval when)
Create a new TimedAttrData object.
Tango::DeviceImpl::push_archive_event
void push_archive_event(string attr_name, Tango::DevULong64 *p_data, long x=1, long y=0, bool release=false)
Push an archive event for an attribute with Tango::DevLong64 attribute data type.
Tango::EncodedAttribute::decode_gray8
void decode_gray8(DeviceAttribute *attr, int *width, int *height, unsigned char **gray8)
Decode a 8 bits grayscale image (JPEG_GRAY8 or GRAY8) and returns a 8 bits gray scale image.
Tango::MultiAttribute::get_attr_nb
unsigned long get_attr_nb()
Get attribute number.
Definition: multiattribute.h:199
Tango::Device_2Impl::~Device_2Impl
virtual ~Device_2Impl()
The device desctructor.
Definition: device_2.h:159
Tango::DeviceImpl::push_archive_event
void push_archive_event(string attr_name, Tango::DevEncoded *p_data, struct timeval &t, Tango::AttrQuality qual, long x=1, long y=0, bool release=false)
Push an archive event for an attribute with Tango::DevEncoded attribute data type.
Tango::Command::insert
CORBA::Any * insert(Tango::DevEncoded *data)
Create a CORBA Any object and insert a Tango::DevEncoded data in it.
Tango::AttributeAlarmInfo
Attribute alarms configuration.
Definition: devapi.h:224
AttributeProxy::ping
virtual int ping()
Ping the device.
Tango::Except::print_exception
static void print_exception(const CORBA::Exception &ex)
Print a TANGO exception.
Tango::DeviceImpl::DeviceImpl
DeviceImpl(DeviceClass *device_class, const char *dev_name, const char *desc="A TANGO device", Tango::DevState dev_state=Tango::UNKNOWN, const char *dev_status=StatusNotSet)
Constructs a newly allocated DeviceImpl object from all its creation parameters with some default val...
Tango::UserDefaultAttrProp::set_standard_unit
void set_standard_unit(const char *def_std_unit)
Set default standard unit property.
Definition: attrdesc.h:114
Tango::WAttribute::set_write_value
void set_write_value(vector< Tango::DevState > &val, long x=1, long y=0)
Set the writable spectrum or image attribute value when the attribute data type is Tango::DevState.
Tango::DoubleAttrProp::DoubleAttrProp
DoubleAttrProp(const vector< T > &values)
Create a new DoubleAttrProp object.
Definition: attrprop.h:288
Tango::DeviceImpl::push_change_event
void push_change_event(string attr_name, Tango::DevBoolean *p_data, long x=1, long y=0, bool release=false)
Push a change event for an attribute with Tango::DevBoolean attribute data type.
DeviceProxy::polling_status
virtual vector< string > * polling_status()
Get polling status.
Database::get_property
void get_property(string obj_name, DbData &db)
Get object property value.
Definition: Database.h:460
Tango::TimedAttrData::TimedAttrData
TimedAttrData(const T *p_data, long x, long y, const T *p_wr_data, long x_wr, long y_wr, Tango::AttrQuality qual, bool rel, struct timeval when)
Create a new TimedAttrData object for a R/W attribute.
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
DeviceProxy::get_pipe_list
virtual vector< string > * get_pipe_list()
Query all pipes name.
Tango::DeviceImpl::push_archive_event
void push_archive_event(string attr_name, Tango::DevUShort *p_data, long x=1, long y=0, bool release=false)
Push an archive event for an attribute with Tango::DevUShort attribute data type.
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::DeviceImpl::push_event
void push_event(string attr_name, vector< string > &filt_names, vector< double > &filt_vals, Tango::DevEncoded *p_data, struct timeval &t, Tango::AttrQuality qual, long x=1, long y=0, bool release=false)
Push a user event for an attribute with Tango::DevEncoded attribute data type.
Tango::TemplCommand::TemplCommand
TemplCommand(string &cmd_name, void(DeviceImpl::*exe_method)(), bool(DeviceImpl::*state_method)(const CORBA::Any &), string &in_desc, string &out_desc, Tango::DispLevel level)
Constructs a newly allocated TemplCommand object for a command with a name, an execution method,...
Tango::DeviceImpl::push_change_event
void push_change_event(string attr_name, Tango::DevString *p_data, long x=1, long y=0, bool release=false)
Push a change event for an attribute with Tango::DevString attribute data type.
Tango::Device_4Impl::Device_4Impl
Device_4Impl(DeviceClass *device_class, string &dev_name, string &desc, Tango::DevState dev_state, string &dev_status)
Constructs a newly allocated Device_4Impl object from all its creation parameters.
Tango::AttrConfEventData::device
DeviceProxy * device
Definition: event.h:194
Tango::TemplCommand::TemplCommand
TemplCommand(const char *cmd_name, void(DeviceImpl::*exe_method)(), bool(DeviceImpl::*state_method)(const CORBA::Any &), Tango::DispLevel level)
Constructs a newly allocated TemplCommand object for a command with a name, an execution method and a...
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:354
Tango::Util::get_class_list
const vector< DeviceClass * > * get_class_list()
Get the DeviceClass list pointer.
Definition: utils.h:378
Tango::Command::extract
void extract(const CORBA::Any &in, Tango::DevDouble &data)
Extract a double data from a CORBA Any object.
Tango::Group::command_inout_asynch
long command_inout_asynch(const std::string &c, const std::vector< DeviceData > &d, bool fgt=false, bool fwd=true)
Executes a Tango command with different input data (using DeviceData object) on each device in the gr...
AttributeProxy::stop_poll
virtual void stop_poll()
Stop attribute polling.
Tango::CallBack
Event and asynchronous (callback model) calls base class.
Definition: devasyn.h:235
Tango::TemplCommandIn
This class is a class representing a command in the template command model with input parameter but w...
Definition: command.h:2246
AttributeProxy::status
virtual string status()
Get device status.
Tango::DeviceImpl::push_change_event
void push_change_event(string attr_name, Tango::DevULong64 *p_data, struct timeval &t, Tango::AttrQuality qual, long x=1, long y=0, bool release=false)
Push a change event for an attribute with Tango::DevULong64 attribute data type.
Tango::Group::Group
Group(const std::string &name)
Create a Group instance.
Tango::UserDefaultAttrProp::set_event_period
void set_event_period(const char *def_period)
Set default periodic event period property.
Definition: attrdesc.h:244
DeviceProxy::event_queue_size
virtual int event_queue_size(int event_id)
Get event number in event queue.
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
ApiUtil::get_asynch_cb_sub_model
cb_sub_model get_asynch_cb_sub_model()
Get asynchronous callback sub-model.
Definition: ApiUtil.h:140
Tango::MultiAttribute::get_alarm_list
vector< long > & get_alarm_list()
Get list of attribute with an alarm level defined.
Definition: multiattribute.h:193
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:252
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:382
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
ApiUtil::get_asynch_replies
void get_asynch_replies()
Fire callback methods for asynchronous request(s)
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::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:53
Tango::Util::instance
static TANGO_IMP_EXP Util * instance(bool exit=true)
Get the singleton object reference.
Tango::Attribute::set_value
void set_value(Tango::DevULong64 *p_data, long x=1, long y=0, bool release=false)
Set internal attribute value (for Tango::DevULong64 attribute data type).
DeviceProxy::write_pipe
virtual void write_pipe(DevicePipe &pipe_data)
Write a pipe.
Database::get_device_attribute_property
void get_device_attribute_property(string dev_name, DbData &db)
Get device attribute property value.
Definition: Database.h:684
DeviceProxy::get_attribute_config
virtual AttributeInfoList * get_attribute_config(vector< string > &att_names)
Get attribute configuration for a list of attributes.
Tango::TimedAttrData::TimedAttrData
TimedAttrData(const T *p_data, long x, const T *p_wr_data, long x_wr, time_t when)
Create a new TimedAttrData object for a R/W attribute.
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::DeviceImpl::push_archive_event
void push_archive_event(string attr_name, Tango::DevUChar *p_data, struct timeval &t, Tango::AttrQuality qual, long x=1, long y=0, bool release=false)
Push an archive event for an attribute with Tango::DevUChar attribute data type.
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::DeviceImpl::push_archive_event
void push_archive_event(string attr_name, Tango::DevDouble *p_data, long x=1, long y=0, bool release=false)
Push an archive event for an attribute with Tango::DevDouble attribute data type.
Tango::PipeEventData::device
DeviceProxy * device
Definition: event.h:460
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::DeviceImpl::push_change_event
void push_change_event(string attr_name, Tango::DevULong *p_data, long x=1, long y=0, bool release=false)
Push a change event for an attribute with Tango::DevULong attribute data type.
Database::get_device_property_history
vector< DbHistory > get_device_property_history(string &dev_name, string &prop_name)
Get device property history from database.
Tango::Command::insert
CORBA::Any * insert(Tango::DevBoolean data)
Create a CORBA Any object and insert a Tango::DevBoolean data in it.
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
DeviceAttribute::get_date
TimeVal & get_date()
Get attribute read date.
Definition: DeviceAttribute.h:1297
Tango::Util::get_zmq_event_supplier
ZmqEventSupplier * get_zmq_event_supplier()
Get a reference to the ZMQ TANGO EventSupplier object.
Definition: utils.h:408
DevicePipe::has_failed
bool has_failed()
Check insertion/extraction success.
Definition: DevicePipe.h:1044
Tango::Device_4Impl::Device_4Impl
Device_4Impl(DeviceClass *device_class, const char *dev_name, const char *desc="A TANGO device", Tango::DevState dev_state=Tango::UNKNOWN, const char *dev_status=StatusNotSet)
Constructs a newly allocated Device_4Impl object from all its creation parameters with some default v...
Tango::ImageAttr::ImageAttr
ImageAttr(const char *name, long data_type, Tango::AttrWriteType w_type, long max_x, long max_y, Tango::DispLevel level)
Constructs a newly allocated ImageAttr object.
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:383
Database::put_device_property
void put_device_property(string dev_name, DbData &db)
Put device property value in database.
Database::get_device_pipe_list
void get_device_pipe_list(const string &dev_name, vector< string > &pipe_list)
Get list of pipe with data in database for a specific device.
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::Attribute::set_value_date_quality
void set_value_date_quality(Tango::DevBoolean *p_data, struct timeval &t, Tango::AttrQuality qual, long x=1, long y=0, bool release=false)
Set internal attribute value, date and quality factor (for Tango::DevBoolean attribute data type).
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:170
Tango::Command::insert
CORBA::Any * insert(Tango::DevVarCharArray *data)
Create a CORBA Any object and insert a Tango::DevVarCharArray data in it.
Database::delete_property
void delete_property(string obj_name, DbData &db)
Delete object property from database.
DevicePipeBlob::get_data_elt_type
int get_data_elt_type(size_t ind)
Get blob data element value type.
Tango::TimedAttrData::TimedAttrData
TimedAttrData(const T *p_data, const T *p_wr_data, Tango::AttrQuality qual, bool rel, time_t when)
Create a new TimedAttrData object for a R/W attribute.
Tango::Attribute::max_value_str
string max_value_str
The attribute maximum value.
Definition: attribute.h:2056
Tango::WAttribute::set_write_value
void set_write_value(Tango::DevUShort *val, long x=1, long y=0)
Set the writable spectrum or image attribute value when the attribute data type is Tango::DevUShort.
Tango::GroupReply::dev_name
const std::string & dev_name() const
Get device name.
Definition: group.h:198
Database::get_class_for_device
string get_class_for_device(string &dev_name)
Get class name for a device.
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:228
DevicePipeBlob::has_failed
bool has_failed()
Check insertion/extraction success.
Tango::TimedAttrData::TimedAttrData
TimedAttrData(const T *p_data, const T *p_wr_data, Tango::AttrQuality qual, bool rel, struct timeval when)
Create a new TimedAttrData object for a R/W attribute.
Tango::Attribute::data_size
long data_size
The attribute data size.
Definition: attribute.h:2108
Tango::DeviceImpl::push_archive_event
void push_archive_event(string attr_name, Tango::DevShort *p_data, long x=1, long y=0, bool release=false)
Push an archive event for an attribute with Tango::DevShort attribute data type.
Tango::DATA_READY_EVENT
@ DATA_READY_EVENT
Data ready event.
Definition: tango_const.h:1091
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::Attribute::set_value_date_quality
void set_value_date_quality(Tango::DevDouble *p_data, struct timeval &t, Tango::AttrQuality qual, long x=1, long y=0, bool release=false)
Set internal attribute value, date and quality factor (for Tango::DevDouble attribute data type).
Tango::Except::throw_exception
static TANGO_NORETURN void throw_exception(const CORBA::SystemException &ex, const char *origin)
Generate and throw a TANGO DevFailed exception.
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::TemplCommand::TemplCommand
TemplCommand(string &cmd_name, void(DeviceImpl::*exe_method)(), bool(DeviceImpl::*state_method)(const CORBA::Any &), Tango::DispLevel level)
Constructs a newly allocated TemplCommand object for a command with a name, an execution method and a...
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::DataReadyEventData::attr_data_type
int attr_data_type
The attribute data type.
Definition: event.h:291
Tango::Attribute::set_max_alarm
void set_max_alarm(const T &new_max_alarm)
Set attribute maximum alarm.
Tango::DeviceImpl::push_archive_event
void push_archive_event(string attr_name, Tango::DevBoolean *p_data, long x=1, long y=0, bool release=false)
Push an archive event for an attribute with Tango::DevBoolean attribute data type.
Tango::DeviceClass::get_cmd_by_name
Command & get_cmd_by_name(const string &)
Get a reference to a command object.
Tango::AttrProp::AttrProp
AttrProp()
Default constructor.
Definition: attrprop.h:74
DeviceProxy::black_box
virtual vector< string > * black_box(int nb)
Get device black box content.
Tango::EventData::event
string event
The event name.
Definition: event.h:96
Tango::Device_3Impl
Base class for all TANGO device since version 3.
Definition: device_3.h:87
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::TimedAttrData::TimedAttrData
TimedAttrData(const T *p_data, Tango::AttrQuality qual, bool rel, struct timeval when)
Create a new TimedAttrData object.
DeviceAttribute::exceptions
bitset< numFlags > exceptions()
Get exception flag.
Definition: DeviceAttribute.h:975
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
Database::get_class_attribute_list
DbDatum get_class_attribute_list(string &class_name, string &wildcard)
Get class attribute list.
DevicePipeBlob::operator<<
DevicePipeBlob & operator<<(short &datum)
Insert data into a data blob.
DeviceProxy::write_read_pipe
virtual DevicePipe write_read_pipe(DevicePipe &pipe_data)
Write then read a pipe.
Tango::DeviceImpl::push_archive_event
void push_archive_event(string attr_name, Tango::DevFloat *p_data, long x=1, long y=0, bool release=false)
Push an archive event for an attribute with Tango::DevFloat attribute data type.
Tango::TimedAttrData::TimedAttrData
TimedAttrData(const T *p_data, long x, long y, const T *p_wr_data, long x_wr, long y_wr, Tango::AttrQuality qual, time_t when)
Create a new TimedAttrData object for a R/W attribute.
Tango::Command::Command
Command(const char *s, Tango::CmdArgType in, Tango::CmdArgType out, Tango::DispLevel level)
Constructs a newly allocated Command object for a command from its name and its input and output para...
Tango::WAttribute::set_write_value
void set_write_value(Tango::DevLong *val, long x=1, long y=0)
Set the writable spectrum or image attribute value when the attribute data type is Tango::DevLong.
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.
AttributeProxy::get_last_event_date
virtual TimeVal get_last_event_date(int event_id)
Get last event date.
Definition: AttributeProxy.h:590
DeviceProxy::write_attribute_reply
virtual void write_attribute_reply(long id)
Check if the answer of one asynchronous write_attribute (single attribute) call is arrived.
Definition: DeviceProxy.h:1056
DeviceAttribute::get_r_dimension
AttributeDimension get_r_dimension()
Get the attribute read dimensions.
Tango::DeviceImpl::init_device
virtual void init_device()=0
Intialise a device.
DeviceProxy::is_command_polled
virtual bool is_command_polled(string &cmd_name)
Check if a command is polled.
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::Attribute::set_value_date_quality
void set_value_date_quality(Tango::DevUChar *p_data, struct timeval &t, Tango::AttrQuality qual, long x=1, long y=0, bool release=false)
Set internal attribute value, date and quality factor (for Tango::DevUChar attribute data type).
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:294
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::Command::insert
CORBA::Any * insert(Tango::DevLong data)
Create a CORBA Any object and insert a Tango::DevLong data in it.
DeviceProxy::read_attributes_asynch
virtual long read_attributes_asynch(vector< string > &att_names)
Read asynchronously alist of attributes.
Tango::Command::insert
CORBA::Any * insert(Tango::DevVarLongStringArray &data)
Create a CORBA Any object and insert a Tango::DevVarLongStringArray data in it.
DeviceData::state
bitset< numFlags > state()
Get instance extraction state.
Definition: DeviceData.h:574
Connection::command_inout_asynch
virtual long command_inout_asynch(const char *cmd_name, DeviceData &argin, bool forget=false)
Execute a command asynchronously (with input argument)
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::TimedCmdData::TimedCmdData
TimedCmdData(T *p_data, bool rel, time_t when)
Create a new TimedCmdData object with memory management.
Tango::Pipe::set_default_properties
void set_default_properties(UserDefaultPipeProp &prop)
Set default attribute properties.
Connection::set_transparency_reconnection
virtual void set_transparency_reconnection(bool val)
Set device transparency (reconnection) mode.
Definition: Connection.h:206
Connection::get_asynch_replies
virtual void get_asynch_replies()
Fire callback methods.
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
DbDevice::get_property
void get_property(DbData &db)
Get device property from database.
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::WAttribute::set_write_value
void set_write_value(vector< Tango::DevDouble > &val, long x=1, long y=0)
Set the writable spectrum or image attribute value when the attribute data type is Tango::DevDouble.
Tango::Device_5Impl::Device_5Impl
Device_5Impl(DeviceClass *device_class, string &dev_name, string &desc)
Constructs a newly allocated Device_5Impl object from its name and its description.
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::Attribute::set_value_date_quality
void set_value_date_quality(Tango::DevString *p_data_str, Tango::DevUChar *p_data, long size, time_t t, Tango::AttrQuality qual, bool release=false)
Set internal attribute value, date and quality factor (for Tango::DevEncoded attribute data type when...
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::TimedAttrData::TimedAttrData
TimedAttrData(const T *p_data, long x, long y, const T *p_wr_data, long x_wr, long y_wr, struct timeval when)
Create a new TimedAttrData object for a R/W attribute.
Tango::Command::insert
CORBA::Any * insert(Tango::DevVarStringArray *data)
Create a CORBA Any object and insert a Tango::DevVarStringArray data in it.
Tango::CmdDoneEvent
Asynchronous command execution callback data.
Definition: devasyn.h:77
DeviceProxy::attribute_history
virtual vector< DeviceAttributeHistory > * attribute_history(string &att_name, int depth)
Retrieve attribute history from polling buffer.
Tango::EventData
Event callback execution data.
Definition: event.h:74
Tango::WAttribute::set_write_value
void set_write_value(Tango::DevUChar *val, long x=1, long y=0)
Set the writable spectrum or image attribute value when the attribute data type is Tango::DevUChar.
DbDevice::put_pipe_property
void put_pipe_property(DbData &db)
Update device pipe property in database.
Tango::DeviceImpl::add_command
void add_command(Command *new_cmd, bool device=false)
Add a new command to the device command list.
DeviceProxy::is_locked
virtual bool is_locked()
Check if the device is locked.
Tango::EncodedAttribute::EncodedAttribute
EncodedAttribute(int buf_pool_size, bool serialization=false)
Create a new EncodedAttribute object with a user defined buffer pool.
Tango::EncodedAttribute::encode_jpeg_rgb32
void encode_jpeg_rgb32(unsigned char *rgb32, int width, int height, double quality)
Encode a 32 bit rgb color image as JPEG format.
Tango::EventData::err
bool err
A boolean flag set to true if the request failed. False otherwise.
Definition: event.h:98
Tango::Command::extract
void extract(const CORBA::Any &in, const Tango::DevVarLong64Array *&data)
Extract a 64 bits long array from a CORBA Any object.
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 occurred.
Definition: group.h:426
DeviceProxy::poll_attribute
virtual void poll_attribute(string &att_name, int polling_period)
Poll an attribute.
Tango::Attribute::set_min_alarm
void set_min_alarm(const T &new_min_alarm)
Set attribute minimum alarm.
Tango::Command::extract
void extract(const CORBA::Any &in, Tango::DevLong &data)
Extract a long data from a CORBA Any object.
Tango::DoubleAttrProp::get_str
string & get_str()
Get string representation of the compound attribute property values.
Definition: attrprop.h:429
Tango::Command::insert
CORBA::Any * insert(Tango::DevVarLongStringArray *data)
Create a CORBA Any object and insert a Tango::DevVarLongStringArray data in it.
Tango::DeviceImpl::push_change_event
void push_change_event(string attr_name, Tango::DevDouble *p_data, long x=1, long y=0, bool release=false)
Push a change event for an attribute with Tango::DevDouble attribute data type.
Tango::MultiAttrProp
This class represents Tango modifiable attribute properties grouped in one object to facilitate setti...
Definition: attrprop.h:548
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:149
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::WPipe::WPipe
WPipe(const string &na, const Tango::DispLevel level)
Constructs a newly allocated WPipe object from its name, its description, its label and its display l...
DeviceProxy::unlock
virtual void unlock(bool force=false)
Unlock a device.
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::DoubleAttrProp::operator=
DoubleAttrProp & operator=(const T &value)
Assign the values of the compound attribute property.
Definition: attrprop.h:362
Tango::TimedAttrData::TimedAttrData
TimedAttrData(const T *p_data, long x, long y, const T *p_wr_data, long x_wr, long y_wr, time_t when)
Create a new TimedAttrData object for a R/W attribute.
Tango::TimedAttrData::TimedAttrData
TimedAttrData(const T *p_data, const T *p_wr_data, Tango::AttrQuality qual, time_t when)
Create a new TimedAttrData object for a R/W attribute.
Tango::Attribute::get_y
long get_y()
Get attribute data size in y dimension.
Definition: attribute.h:419
Database::delete_device_alias
void delete_device_alias(string &dev_alias)
Delete device alias.
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
Polling mode request.
Definition: devapi.h:401
Tango::INTERFACE_CHANGE_EVENT
@ INTERFACE_CHANGE_EVENT
Device interface change event.
Definition: tango_const.h:1092
Tango::AttrConfEventData::err
bool err
A boolean flag set to true if the request failed. False otherwise.
Definition: event.h:198
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.
DeviceProxy::delete_property
virtual void delete_property(string &prop_name)
Delete a single device property.
Tango::GroupReplyList::reset
void reset()
Reset the object.
Definition: group.h:435
Database::unexport_device
void unexport_device(string dev_name)
Unexport a device in the database.
Tango::WAttribute::set_write_value
void set_write_value(Tango::DevUShort val)
Set the writable scalar attribute value when the attribute data type is Tango::DevUShort.
DeviceAttribute::get_written_dim_y
int get_written_dim_y()
Get the attribute write Y dimension.
Definition: DeviceAttribute.h:1203
Tango::TemplCommandOut
This class is a class representing a command in the template command model with output parameter but ...
Definition: command.h:2797
Database::get_alias_from_device
void get_alias_from_device(string dev_name, string &alias)
Get device alias form its name.
Tango::Command::extract
void extract(const CORBA::Any &in, const char *&data)
Extract a const string from a CORBA Any object.
Tango::Util::_daemon
static TANGO_IMP bool _daemon
A daemon process flag.
Definition: utils.h:702
Database::delete_device_attribute_property
void delete_device_attribute_property(string dev_name, DbData &db)
Delete device attribute property from database.
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
Database::get_services
DbDatum get_services(string &service_name, string &inst_name)
Get services list from database.
Tango::DoubleAttrProp::set_val
void set_val(const vector< T > &values)
Set the compound attribute property values.
Definition: attrprop.h:437
DeviceProxy::write_attributes_reply
virtual void write_attributes_reply(long id)
Check if the answer of one asynchronous write_attributes call is arrived.
DbDevice::DbDevice
DbDevice(string &dev_name)
Create a DbDevice object.
Tango::Command::insert
CORBA::Any * insert(Tango::DevVarShortArray &data)
Create a CORBA Any object and insert a Tango::DevVarShortArray data in it.
Tango::Command::extract
void extract(const CORBA::Any &in, const Tango::DevVarUShortArray *&data)
Extract a unsigned short array from a CORBA Any object.
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:378
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::TemplCommand::TemplCommand
TemplCommand(const char *cmd_name, void(DeviceImpl::*exe_method)(), bool(DeviceImpl::*state_method)(const CORBA::Any &))
Constructs a newly allocated TemplCommand object for a command with a name, an execution method and a...
Tango::GroupAttrReplyList::has_failed
bool has_failed() const
Check if an error has occurred.
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::TimedAttrData::TimedAttrData
TimedAttrData(const T *p_data, long x, long y, const T *p_wr_data, long x_wr, long y_wr, Tango::AttrQuality qual, struct timeval when)
Create a new TimedAttrData object for a R/W attribute.
Tango::Command::extract
void extract(const CORBA::Any &in, Tango::DevState &data)
Extract a Tango device state data from a CORBA Any object.
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::DeviceImpl::push_archive_event
void push_archive_event(string attr_name, Tango::DevLong *p_data, long x=1, long y=0, bool release=false)
Push an archive event for an attribute with Tango::DevLong attribute data type.
Tango::ARCHIVE_EVENT
@ ARCHIVE_EVENT
Archive event.
Definition: tango_const.h:1088
Tango::DeviceClass::get_type
string & get_type()
Get the TANGO device type name.
Definition: deviceclass.h:222
Tango::DeviceImpl::push_archive_event
void push_archive_event(string attr_name, Tango::DevString *p_data, struct timeval &t, Tango::AttrQuality qual, long x=1, long y=0, bool release=false)
Push an archive event for an attribute with Tango::DevString attribute data type.
Tango::PipeInfo
Base structure for pipe information.
Definition: devapi.h:371
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::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::throw_exception
static TANGO_NORETURN void throw_exception(const CORBA::SystemException &ex, char *origin)
Generate and throw a TANGO DevFailed exception.
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::DeviceImpl::push_archive_event
void push_archive_event(string attr_name, Tango::DevDouble *p_data, struct timeval &t, Tango::AttrQuality qual, long x=1, long y=0, bool release=false)
Push an archive event for an attribute with Tango::DevDouble attribute data type.
Tango::DeviceImpl::push_event
void push_event(string attr_name, vector< string > &filt_names, vector< double > &filt_vals, Tango::DevFloat *p_data, struct timeval &t, Tango::AttrQuality qual, long x=1, long y=0, bool release=false)
Push a user event for an attribute with Tango::DevFloat attribute data type.
DeviceProxy::get_last_event_date
virtual TimeVal get_last_event_date(int event_id)
Get date of the last event in queue.
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::DeviceImpl::push_archive_event
void push_archive_event(string attr_name, Tango::DevUShort *p_data, struct timeval &t, Tango::AttrQuality qual, long x=1, long y=0, bool release=false)
Push an archive event for an attribute with Tango::DevUShort attribute data type.
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:172
Tango::Command::insert
CORBA::Any * insert(Tango::DevVarLongArray *data)
Create a CORBA Any object and insert a Tango::DevVarLongArray data in it.
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::DeviceImpl::push_event
void push_event(string attr_name, vector< string > &filt_names, vector< double > &filt_vals, Tango::DevBoolean *p_data, struct timeval &t, Tango::AttrQuality qual, long x=1, long y=0, bool release=false)
Push a user event for an attribute with Tango::DevBoolean attribute data type.
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
DeviceProxy::write_attributes_asynch
virtual long write_attributes_asynch(vector< DeviceAttribute > &argin)
Write asynchronously alist of attributes.
Tango::TimedCmdData::TimedCmdData
TimedCmdData(T *p_data, bool rel, struct timeval when)
Create a new TimedCmdData object with memory management.
Tango::Group::command_inout
GroupCmdReplyList command_inout(const std::string &c, const std::vector< DeviceData > &d, bool fwd=true)
Executes a Tango command with the different input data on a group (Using DeviceData class instances)
Tango::Attribute::set_value
void set_value(Tango::DevUShort *p_data, long x=1, long y=0, bool release=false)
Set internal attribute value (for Tango::DevUShort attribute data type).
ApiUtil::get_env_var
static TANGO_IMP_EXP int get_env_var(const char *name, string &value)
Get environment variable.
Tango::WAttribute::set_max_value
void set_max_value(char *max_value)
Set attribute maximum value.
Tango::WAttribute::get_write_value_length
long get_write_value_length()
Retrieve the new value length (data number) for writable attribute.
Tango::DeviceImpl::push_archive_event
void push_archive_event(string attr_name, Tango::DevString *p_str_data, Tango::DevUChar *p_data, long size, bool release=false)
Push an archive event for an attribute with Tango::DevEncoded attribute data type when the data are s...
AttributeProxy::get_events
virtual void get_events(int event_id, CallBack *cb)
Get events from event queue (pull model)
Definition: AttributeProxy.h:533
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::Command::insert
CORBA::Any * insert(Tango::DevULong data)
Create a CORBA Any object and insert a Tango::DevULong data in it.
Tango::SpectrumAttr::SpectrumAttr
SpectrumAttr(const char *name, long data_type, Tango::AttrWriteType w_type, long max_x, DispLevel level)
Constructs a newly allocated SpectrumAttr object.
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
Database::get_device_exported
DbDatum get_device_exported(string &filter)
Get list of exported devices.
Tango::Command::insert
CORBA::Any * insert(Tango::DevVarULong64Array *data)
Create a CORBA Any object and insert a Tango::DevVarULong64Array data in it.
Tango::Attribute::set_value_date_quality
void set_value_date_quality(Tango::DevULong64 *p_data, struct timeval &t, Tango::AttrQuality qual, long x=1, long y=0, bool release=false)
Set internal attribute value, date and quality factor (for Tango::DevULong64 attribute data type).
Tango::Group::remove
virtual void remove(const std::vector< std::string > &patterns, bool fwd=true)
Removes any group or device which name matches any of the specified patterns.
DataElement
Fundamental type for extracting data from a device pipe blob.
Definition: DevicePipe.h:45
Tango::Attribute::set_value_date_quality
void set_value_date_quality(Tango::DevShort *p_data, struct timeval &t, Tango::AttrQuality qual, long x=1, long y=0, bool release=false)
Set internal attribute value, date and quality factor (for Tango::DevShort attribute data type).
Tango::AttrProp::get_str
string & get_str()
Get string representation of the attribute property value.
Definition: attrprop.h:175
DeviceProxy::stop_poll_attribute
virtual void stop_poll_attribute(string &att_name)
Stop polling an attribute.
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::WAttribute::set_write_value
void set_write_value(Tango::DevULong val)
Set the writable scalar attribute value when the attribute data type is Tango::DevULong.
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
DevicePipe::set_data_elt_names
void set_data_elt_names(vector< string > &names)
Set blob data element number and names.
Definition: DevicePipe.h:918
Tango::Util::_tracelevel
static int _tracelevel
The process trace level.
Definition: utils.h:690
DevicePipeBlob::set_data_elt_names
void set_data_elt_names(vector< string > &names)
Set blob data element number and names.
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
@ ABORT_ON_ERROR
Do not read attribute(s) if one of the written attribute(s) failed.
Definition: tango_const.h:1134
Tango::DeviceClass::unregister_signal
void unregister_signal(long signo)
Unregister a signal.
Tango::QUALITY_EVENT
@ QUALITY_EVENT
Quality change event (deprecated - do not use)
Definition: tango_const.h:1086
Tango::DeviceAttributeConfig::data_format
AttrDataFormat data_format
Data format (Scalar, Spectrum,...)
Definition: devapi.h:173
Tango::Command::extract
void extract(const CORBA::Any &in, Tango::DevLong64 &data)
Extract a 64 bits long data from a CORBA Any object.
Tango::Command::extract
void extract(const CORBA::Any &in, const Tango::DevEncoded *&data)
Extract a Tango DevEncoded data from a CORBA Any object.
Tango::MultiAttribute::alarm_attr_list
vector< long > alarm_attr_list
The list of attribute with an alarm level defined.
Definition: multiattribute.h:281
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::TemplCommand::TemplCommand
TemplCommand(const char *cmd_name, void(DeviceImpl::*exe_method)(), Tango::DispLevel level)
Constructs a newly allocated TemplCommand object for a command with a name and an execution method.
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:199
Tango::WAttribute::set_write_value
void set_write_value(vector< Tango::DevULong > &val, long x=1, long y=0)
Set the writable spectrum or image attribute value when the attribute data type is Tango::DevULong.
Tango::DeviceImpl::push_archive_event
void push_archive_event(string attr_name, Tango::DevULong64 *p_data, struct timeval &t, Tango::AttrQuality qual, long x=1, long y=0, bool release=false)
Push an archive event for an attribute with Tango::DevULong64 attribute data type.
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:315
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::Attribute::set_value
void set_value(Tango::DevBoolean *p_data, long x=1, long y=0, bool release=false)
Set internal attribute value (for Tango::DevBoolean attribute data type).
Tango::Command::set_polling_period
void set_polling_period(long per)
Set the command polling period.
Definition: command.h:377
Database::get_attribute_alias_list
DbDatum get_attribute_alias_list(string &filter)
Get attribute alias list.
DbDevice::import_device
DbDevImportInfo import_device()
Import the device from database.
Database::get_attribute_from_alias
void get_attribute_from_alias(string alias, string &att_name)
Get attribute name from its alias.
Tango::Util::connect_db
void connect_db()
Connect the process to the TANGO database.
DevicePipeBlob::get_data_elt_names
vector< string > get_data_elt_names()
Get blob data elements name.
Database::put_property
void put_property(string obj_name, DbData &db)
Put object property value in 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:440
Tango::Device_5Impl::Device_5Impl
Device_5Impl(DeviceClass *device_class, const char *dev_name, const char *desc="A TANGO device", Tango::DevState dev_state=Tango::UNKNOWN, const char *dev_status=StatusNotSet)
Constructs a newly allocated Device_5Impl object from all its creation parameters with some default v...
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:1689
AttributeProxy::write_reply
virtual void write_reply(long id)
Get asynchronous write attribute call reply.
Definition: AttributeProxy.h:374