Logo Search packages:      
Sourcecode: tango version File versions  Download package

Public Member Functions | Protected Member Functions | Protected Attributes | Friends

TangoTest_ns::TangoTest Class Reference

#include <TangoTest.h>

Inheritance diagram for TangoTest_ns::TangoTest:
Inheritance graph
[legend]
Collaboration diagram for TangoTest_ns::TangoTest:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void add_state_status_attrs ()
void basic_unlock (bool forced=false)
void check_command_exists (const string &)
void clean_locker_ptrs ()
void data_into_net_object (Attribute &, AttributeValueList_3 *, AttributeValueList_4 *, long, AttrWriteType, bool)
void delete_dev ()
void gen_data (void)
vector< long > & get_alarmed_not_read ()
string & get_alias_name_lower ()
TangoMonitor & get_att_conf_monitor ()
vector< string > & get_attr_min_poll_period ()
long get_attr_poll_ring_depth (string &)
Tango::client_addrget_client_ident ()
vector< string > & get_cmd_min_poll_period ()
long get_cmd_poll_ring_depth (string &)
Command * get_command (const string &)
long get_dev_idl_version ()
TangoMonitor & get_dev_monitor ()
bool get_exported_flag ()
Tango::DevLong get_lock_validity ()
client_addr * get_locker ()
Tango::DevLong get_locking_ctr ()
time_t get_locking_date ()
int get_min_poll_period ()
string & get_name_lower ()
vector< string > & get_non_auto_polled_attr ()
vector< string > & get_non_auto_polled_cmd ()
client_addr * get_old_locker ()
TangoMonitor & get_poll_monitor ()
vector< PollObj * > & get_poll_obj_list ()
long get_poll_old_factor ()
long get_poll_ring_depth ()
vector< string > & get_polled_attr ()
vector< string > & get_polled_cmd ()
bool is_device_locked ()
void is_polled (bool poll)
bool is_polled ()
bool is_py_device ()
void lock (client_addr *, int)
Tango::DevVarLongStringArraylock_status ()
void poll_lists_2_v5 ()
void polled_data_into_net_object (AttributeValueList_3 *, AttributeValueList_4 *, long, long, long, PollObj *, const DevVarStringArray &)
void push_att_conf_event (Attribute *)
void relock (client_addr *)
void set_alias_name_lower (string &al)
void set_exported_flag (bool exp)
void set_locking_param (client_addr *, client_addr *, time_t, DevLong, DevLong)
void set_poll_old_factor (long fact)
void set_poll_ring_depth (long depth)
void set_py_device (bool py)
void stop_polling (bool)
void stop_polling ()
Tango::DevLong unlock (bool)
bool valid_lock ()
void write_attributes_in_db (vector< long > &, vector< long > &)
Constructors

Miscellaneous constructors

 TangoTest (Tango::DeviceClass *cl, string &s)
 TangoTest (Tango::DeviceClass *cl, const char *s)
 TangoTest (Tango::DeviceClass *cl, const char *s, const char *d)
Destructor

Only one desctructor is defined for this class

 ~TangoTest ()
Miscellaneous methods
virtual void init_device ()
virtual void delete_device ()
virtual void always_executed_hook ()
TangoTest methods prototypes
virtual void read_attr_hardware (vector< long > &attr_list)
virtual void read_ampli (Tango::Attribute &attr)
virtual void write_ampli (Tango::WAttribute &attr)
virtual void read_boolean_scalar (Tango::Attribute &attr)
virtual void write_boolean_scalar (Tango::WAttribute &attr)
virtual void read_double_scalar (Tango::Attribute &attr)
virtual void write_double_scalar (Tango::WAttribute &attr)
virtual void read_double_scalar_rww (Tango::Attribute &attr)
virtual void read_double_scalar_w (Tango::Attribute &attr)
virtual void write_double_scalar_w (Tango::WAttribute &attr)
virtual void read_float_scalar (Tango::Attribute &attr)
virtual void write_float_scalar (Tango::WAttribute &attr)
virtual void read_long64_scalar (Tango::Attribute &attr)
virtual void write_long64_scalar (Tango::WAttribute &attr)
virtual void read_long_scalar (Tango::Attribute &attr)
virtual void write_long_scalar (Tango::WAttribute &attr)
virtual void read_long_scalar_rww (Tango::Attribute &attr)
virtual void read_long_scalar_w (Tango::Attribute &attr)
virtual void write_long_scalar_w (Tango::WAttribute &attr)
virtual void read_no_value (Tango::Attribute &attr)
virtual void read_short_scalar (Tango::Attribute &attr)
virtual void write_short_scalar (Tango::WAttribute &attr)
virtual void read_short_scalar_ro (Tango::Attribute &attr)
virtual void read_short_scalar_rww (Tango::Attribute &attr)
virtual void read_short_scalar_w (Tango::Attribute &attr)
virtual void write_short_scalar_w (Tango::WAttribute &attr)
virtual void read_string_scalar (Tango::Attribute &attr)
virtual void write_string_scalar (Tango::WAttribute &attr)
virtual void read_throw_exception (Tango::Attribute &attr)
virtual void read_uchar_scalar (Tango::Attribute &attr)
virtual void write_uchar_scalar (Tango::WAttribute &attr)
virtual void read_ulong64_scalar (Tango::Attribute &attr)
virtual void write_ulong64_scalar (Tango::WAttribute &attr)
virtual void read_ushort_scalar (Tango::Attribute &attr)
virtual void write_ushort_scalar (Tango::WAttribute &attr)
virtual void read_ulong_scalar (Tango::Attribute &attr)
virtual void write_ulong_scalar (Tango::WAttribute &attr)
virtual void read_boolean_spectrum (Tango::Attribute &attr)
virtual void write_boolean_spectrum (Tango::WAttribute &attr)
virtual void read_boolean_spectrum_ro (Tango::Attribute &attr)
virtual void read_double_spectrum (Tango::Attribute &attr)
virtual void write_double_spectrum (Tango::WAttribute &attr)
virtual void read_double_spectrum_ro (Tango::Attribute &attr)
virtual void read_float_spectrum (Tango::Attribute &attr)
virtual void write_float_spectrum (Tango::WAttribute &attr)
virtual void read_float_spectrum_ro (Tango::Attribute &attr)
virtual void read_long64_spectrum_ro (Tango::Attribute &attr)
virtual void read_long_spectrum (Tango::Attribute &attr)
virtual void write_long_spectrum (Tango::WAttribute &attr)
virtual void read_long_spectrum_ro (Tango::Attribute &attr)
virtual void read_short_spectrum (Tango::Attribute &attr)
virtual void write_short_spectrum (Tango::WAttribute &attr)
virtual void read_short_spectrum_ro (Tango::Attribute &attr)
virtual void read_string_spectrum (Tango::Attribute &attr)
virtual void write_string_spectrum (Tango::WAttribute &attr)
virtual void read_string_spectrum_ro (Tango::Attribute &attr)
virtual void read_uchar_spectrum (Tango::Attribute &attr)
virtual void write_uchar_spectrum (Tango::WAttribute &attr)
virtual void read_uchar_spectrum_ro (Tango::Attribute &attr)
virtual void read_ulong64_spectrum_ro (Tango::Attribute &attr)
virtual void read_ulong_spectrum_ro (Tango::Attribute &attr)
virtual void read_ushort_spectrum (Tango::Attribute &attr)
virtual void write_ushort_spectrum (Tango::WAttribute &attr)
virtual void read_ushort_spectrum_ro (Tango::Attribute &attr)
virtual void read_wave (Tango::Attribute &attr)
virtual void read_boolean_image (Tango::Attribute &attr)
virtual void write_boolean_image (Tango::WAttribute &attr)
virtual void read_boolean_image_ro (Tango::Attribute &attr)
virtual void read_double_image (Tango::Attribute &attr)
virtual void write_double_image (Tango::WAttribute &attr)
virtual void read_double_image_ro (Tango::Attribute &attr)
virtual void read_float_image (Tango::Attribute &attr)
virtual void write_float_image (Tango::WAttribute &attr)
virtual void read_float_image_ro (Tango::Attribute &attr)
virtual void read_long64_image_ro (Tango::Attribute &attr)
virtual void read_long_image (Tango::Attribute &attr)
virtual void write_long_image (Tango::WAttribute &attr)
virtual void read_long_image_ro (Tango::Attribute &attr)
virtual void read_short_image (Tango::Attribute &attr)
virtual void write_short_image (Tango::WAttribute &attr)
virtual void read_short_image_ro (Tango::Attribute &attr)
virtual void read_string_image (Tango::Attribute &attr)
virtual void write_string_image (Tango::WAttribute &attr)
virtual void read_string_image_ro (Tango::Attribute &attr)
virtual void read_uchar_image (Tango::Attribute &attr)
virtual void write_uchar_image (Tango::WAttribute &attr)
virtual void read_uchar_image_ro (Tango::Attribute &attr)
virtual void read_ulong64_image_ro (Tango::Attribute &attr)
virtual void read_ulong_image_ro (Tango::Attribute &attr)
virtual void read_ushort_image (Tango::Attribute &attr)
virtual void write_ushort_image (Tango::WAttribute &attr)
virtual void read_ushort_image_ro (Tango::Attribute &attr)
virtual bool is_ampli_allowed (Tango::AttReqType type)
virtual bool is_boolean_scalar_allowed (Tango::AttReqType type)
virtual bool is_double_scalar_allowed (Tango::AttReqType type)
virtual bool is_double_scalar_rww_allowed (Tango::AttReqType type)
virtual bool is_double_scalar_w_allowed (Tango::AttReqType type)
virtual bool is_float_scalar_allowed (Tango::AttReqType type)
virtual bool is_long64_scalar_allowed (Tango::AttReqType type)
virtual bool is_long_scalar_allowed (Tango::AttReqType type)
virtual bool is_long_scalar_rww_allowed (Tango::AttReqType type)
virtual bool is_long_scalar_w_allowed (Tango::AttReqType type)
virtual bool is_no_value_allowed (Tango::AttReqType type)
virtual bool is_short_scalar_allowed (Tango::AttReqType type)
virtual bool is_short_scalar_ro_allowed (Tango::AttReqType type)
virtual bool is_short_scalar_rww_allowed (Tango::AttReqType type)
virtual bool is_short_scalar_w_allowed (Tango::AttReqType type)
virtual bool is_string_scalar_allowed (Tango::AttReqType type)
virtual bool is_throw_exception_allowed (Tango::AttReqType type)
virtual bool is_uchar_scalar_allowed (Tango::AttReqType type)
virtual bool is_ulong64_scalar_allowed (Tango::AttReqType type)
virtual bool is_ushort_scalar_allowed (Tango::AttReqType type)
virtual bool is_ulong_scalar_allowed (Tango::AttReqType type)
virtual bool is_boolean_spectrum_allowed (Tango::AttReqType type)
virtual bool is_boolean_spectrum_ro_allowed (Tango::AttReqType type)
virtual bool is_double_spectrum_allowed (Tango::AttReqType type)
virtual bool is_double_spectrum_ro_allowed (Tango::AttReqType type)
virtual bool is_float_spectrum_allowed (Tango::AttReqType type)
virtual bool is_float_spectrum_ro_allowed (Tango::AttReqType type)
virtual bool is_long64_spectrum_ro_allowed (Tango::AttReqType type)
virtual bool is_long_spectrum_allowed (Tango::AttReqType type)
virtual bool is_long_spectrum_ro_allowed (Tango::AttReqType type)
virtual bool is_short_spectrum_allowed (Tango::AttReqType type)
virtual bool is_short_spectrum_ro_allowed (Tango::AttReqType type)
virtual bool is_string_spectrum_allowed (Tango::AttReqType type)
virtual bool is_string_spectrum_ro_allowed (Tango::AttReqType type)
virtual bool is_uchar_spectrum_allowed (Tango::AttReqType type)
virtual bool is_uchar_spectrum_ro_allowed (Tango::AttReqType type)
virtual bool is_ulong64_spectrum_ro_allowed (Tango::AttReqType type)
virtual bool is_ulong_spectrum_ro_allowed (Tango::AttReqType type)
virtual bool is_ushort_spectrum_allowed (Tango::AttReqType type)
virtual bool is_ushort_spectrum_ro_allowed (Tango::AttReqType type)
virtual bool is_wave_allowed (Tango::AttReqType type)
virtual bool is_boolean_image_allowed (Tango::AttReqType type)
virtual bool is_boolean_image_ro_allowed (Tango::AttReqType type)
virtual bool is_double_image_allowed (Tango::AttReqType type)
virtual bool is_double_image_ro_allowed (Tango::AttReqType type)
virtual bool is_float_image_allowed (Tango::AttReqType type)
virtual bool is_float_image_ro_allowed (Tango::AttReqType type)
virtual bool is_long64_image_ro_allowed (Tango::AttReqType type)
virtual bool is_long_image_allowed (Tango::AttReqType type)
virtual bool is_long_image_ro_allowed (Tango::AttReqType type)
virtual bool is_short_image_allowed (Tango::AttReqType type)
virtual bool is_short_image_ro_allowed (Tango::AttReqType type)
virtual bool is_string_image_allowed (Tango::AttReqType type)
virtual bool is_string_image_ro_allowed (Tango::AttReqType type)
virtual bool is_uchar_image_allowed (Tango::AttReqType type)
virtual bool is_uchar_image_ro_allowed (Tango::AttReqType type)
virtual bool is_ulong64_image_ro_allowed (Tango::AttReqType type)
virtual bool is_ulong_image_ro_allowed (Tango::AttReqType type)
virtual bool is_ushort_image_allowed (Tango::AttReqType type)
virtual bool is_ushort_image_ro_allowed (Tango::AttReqType type)
virtual bool is_CrashFromDevelopperThread_allowed (const CORBA::Any &any)
virtual bool is_CrashFromOmniThread_allowed (const CORBA::Any &any)
virtual bool is_DevBoolean_allowed (const CORBA::Any &any)
virtual bool is_DevDouble_allowed (const CORBA::Any &any)
virtual bool is_DevFloat_allowed (const CORBA::Any &any)
virtual bool is_DevLong_allowed (const CORBA::Any &any)
virtual bool is_DevLong64_allowed (const CORBA::Any &any)
virtual bool is_DevShort_allowed (const CORBA::Any &any)
virtual bool is_DevString_allowed (const CORBA::Any &any)
virtual bool is_DevULong_allowed (const CORBA::Any &any)
virtual bool is_DevULong64_allowed (const CORBA::Any &any)
virtual bool is_DevUShort_allowed (const CORBA::Any &any)
virtual bool is_DevVarCharArray_allowed (const CORBA::Any &any)
virtual bool is_DevVarDoubleArray_allowed (const CORBA::Any &any)
virtual bool is_DevVarDoubleStringArray_allowed (const CORBA::Any &any)
virtual bool is_DevVarFloatArray_allowed (const CORBA::Any &any)
virtual bool is_DevVarLong64Array_allowed (const CORBA::Any &any)
virtual bool is_DevVarLongArray_allowed (const CORBA::Any &any)
virtual bool is_DevVarLongStringArray_allowed (const CORBA::Any &any)
virtual bool is_DevVarShortArray_allowed (const CORBA::Any &any)
virtual bool is_DevVarStringArray_allowed (const CORBA::Any &any)
virtual bool is_DevVarULong64Array_allowed (const CORBA::Any &any)
virtual bool is_DevVarULongArray_allowed (const CORBA::Any &any)
virtual bool is_DevVarUShortArray_allowed (const CORBA::Any &any)
virtual bool is_DevVoid_allowed (const CORBA::Any &any)
virtual bool is_DumpExecutionState_allowed (const CORBA::Any &any)
virtual bool is_SwitchStates_allowed (const CORBA::Any &any)
void crash_from_developper_thread ()
void crash_from_omni_thread ()
Tango::DevBoolean dev_boolean (Tango::DevBoolean)
Tango::DevDouble dev_double (Tango::DevDouble)
Tango::DevFloat dev_float (Tango::DevFloat)
Tango::DevLong dev_long (Tango::DevLong)
Tango::DevLong64 dev_long64 (Tango::DevLong64)
Tango::DevShort dev_short (Tango::DevShort)
Tango::DevString dev_string (Tango::DevString)
Tango::DevULong dev_ulong (Tango::DevULong)
Tango::DevULong64 dev_ulong64 (Tango::DevULong64)
Tango::DevUShort dev_ushort (Tango::DevUShort)
Tango::DevVarCharArray * dev_var_char_array (const Tango::DevVarCharArray *)
Tango::DevVarDoubleArray * dev_var_double_array (const Tango::DevVarDoubleArray *)
Tango::DevVarDoubleStringArraydev_var_double_string_array (const Tango::DevVarDoubleStringArray *)
Tango::DevVarFloatArray * dev_var_float_array (const Tango::DevVarFloatArray *)
Tango::DevVarLong64Array * dev_var_long64_array (const Tango::DevVarLong64Array *)
Tango::DevVarLongArray * dev_var_long_array (const Tango::DevVarLongArray *)
Tango::DevVarLongStringArraydev_var_long_string_array (const Tango::DevVarLongStringArray *)
Tango::DevVarShortArray * dev_var_short_array (const Tango::DevVarShortArray *)
Tango::DevVarStringArray * dev_var_string_array (const Tango::DevVarStringArray *)
Tango::DevVarULong64Array * dev_var_ulong64_array (const Tango::DevVarULong64Array *)
Tango::DevVarULongArray * dev_var_ulong_array (const Tango::DevVarULongArray *)
Tango::DevVarUShortArray * dev_var_ushort_array (const Tango::DevVarUShortArray *)
void dev_void ()
void dump_execution_state ()
void switch_states ()
void get_device_property ()
CORBA operation methods

Method defined to implement TANGO device CORBA operation

virtual Tango::DevAttrHistory_4read_attribute_history_4 (const char *name, CORBA::Long n) throw (Tango::DevFailed, CORBA::SystemException)
virtual Tango::DevCmdHistory_4command_inout_history_4 (const char *command, CORBA::Long n) throw (Tango::DevFailed, CORBA::SystemException)
virtual CORBA::Any * command_inout_4 (const char *in_cmd, const CORBA::Any &in_data, Tango::DevSource source, const Tango::ClntIdent &cl_ident) throw (Tango::DevFailed, CORBA::SystemException)
virtual
Tango::AttributeValueList_4 * 
read_attributes_4 (const Tango::DevVarStringArray &names, Tango::DevSource source, const Tango::ClntIdent &cl_ident) throw (Tango::DevFailed, CORBA::SystemException)
virtual void write_attributes_4 (const Tango::AttributeValueList_4 &values, const Tango::ClntIdent &cl_ident) throw (Tango::MultiDevFailed, Tango::DevFailed,CORBA::SystemException)
virtual void set_attribute_config_4 (const Tango::AttributeConfigList_3 &new_conf, const Tango::ClntIdent &cl_ident) throw (Tango::DevFailed, CORBA::SystemException)
virtual
Tango::AttributeValueList_4 * 
write_read_attributes_4 (const Tango::AttributeValueList_4 &values, const Tango::ClntIdent &cl_ident) throw (Tango::MultiDevFailed,Tango::DevFailed, CORBA::SystemException)
CORBA operation methods

Method defined to implement TANGO device CORBA operation

virtual
Tango::AttributeValueList_3 * 
read_attributes_3 (const Tango::DevVarStringArray &names, Tango::DevSource source) throw (Tango::DevFailed, CORBA::SystemException)
virtual void write_attributes_3 (const Tango::AttributeValueList &values) throw (Tango::MultiDevFailed, Tango::DevFailed,CORBA::SystemException)
virtual
Tango::DevAttrHistoryList_3 * 
read_attribute_history_3 (const char *name, CORBA::Long n) throw (Tango::DevFailed, CORBA::SystemException)
virtual Tango::DevInfo_3info_3 () throw (Tango::DevFailed, CORBA::SystemException)
virtual
Tango::AttributeConfigList_3 * 
get_attribute_config_3 (const Tango::DevVarStringArray &names) throw (Tango::DevFailed, CORBA::SystemException)
virtual void set_attribute_config_3 (const Tango::AttributeConfigList_3 &new_conf) throw (Tango::DevFailed, CORBA::SystemException)
CORBA operation methods

Method defined to implement TANGO device CORBA operation

virtual CORBA::Any * command_inout_2 (const char *in_cmd, const CORBA::Any &in_data, Tango::DevSource source) throw (Tango::DevFailed, CORBA::SystemException)
virtual Tango::DevCmdInfoList_2 * command_list_query_2 () throw (Tango::DevFailed, CORBA::SystemException)
virtual Tango::DevCmdInfo_2command_query_2 (const char *command) throw (Tango::DevFailed, CORBA::SystemException)
virtual Tango::AttributeValueList * read_attributes_2 (const Tango::DevVarStringArray &names, Tango::DevSource source) throw (Tango::DevFailed, CORBA::SystemException)
virtual
Tango::AttributeConfigList_2 * 
get_attribute_config_2 (const Tango::DevVarStringArray &names) throw (Tango::DevFailed, CORBA::SystemException)
virtual Tango::DevAttrHistoryList * read_attribute_history_2 (const char *name, CORBA::Long n) throw (Tango::DevFailed, CORBA::SystemException)
virtual Tango::DevCmdHistoryList * command_inout_history_2 (const char *command, CORBA::Long n) throw (Tango::DevFailed, CORBA::SystemException)
Get/Set object members.

These methods allows the external world to get/set DeviceImpl instance data members

string & get_status ()
void set_status (const string &new_status)
void append_status (const string &stat, bool new_line=false)
Tango::DevState & get_state ()
Tango::DevState & get_prev_state ()
void set_state (const Tango::DevState &new_state)
string & get_name ()
DeviceClass * get_device_class ()
MultiAttribute * get_device_attr ()
void set_device_attr (MultiAttribute *ptr)
DbDevice * get_db_device ()
void set_d_var (Tango::Device_ptr d)
Tango::Device_var get_d_var ()
void set_obj_id (PortableServer::ObjectId_var o)
PortableServer::ObjectId_var & get_obj_id ()
virtual PortableServer::POA_ptr _default_POA ()
CORBA attribute methods

Method defined to implement TANGO device CORBA attribute

virtual char * name () throw (CORBA::SystemException)
virtual char * adm_name () throw (CORBA::SystemException)
virtual char * description () throw (CORBA::SystemException)
virtual char * status () throw (CORBA::SystemException)
virtual Tango::DevState state () throw (CORBA::SystemException)
CORBA operation methods

Method defined to implement TANGO device CORBA operation

virtual CORBA::Any * command_inout (const char *in_cmd, const CORBA::Any &in_data) throw (Tango::DevFailed, CORBA::SystemException)
virtual Tango::DevVarStringArray * black_box (CORBA::Long n) throw (Tango::DevFailed, CORBA::SystemException)
virtual Tango::DevCmdInfoList * command_list_query () throw (Tango::DevFailed, CORBA::SystemException)
virtual Tango::DevCmdInfocommand_query (const char *command) throw (Tango::DevFailed, CORBA::SystemException)
virtual Tango::DevInfoinfo () throw (Tango::DevFailed, CORBA::SystemException)
virtual void ping () throw (Tango::DevFailed, CORBA::SystemException)
virtual
Tango::AttributeConfigList * 
get_attribute_config (const Tango::DevVarStringArray &names) throw (Tango::DevFailed, CORBA::SystemException)
virtual void set_attribute_config (const Tango::AttributeConfigList &new_conf) throw (Tango::DevFailed, CORBA::SystemException)
virtual Tango::AttributeValueList * read_attributes (const Tango::DevVarStringArray &names) throw (Tango::DevFailed, CORBA::SystemException)
virtual void write_attributes (const Tango::AttributeValueList &values) throw (Tango::DevFailed, CORBA::SystemException)
Methods to build Tango array types.

These methods are helper methods to build Tango array types from an already existing buffer (Tango array types are CORBA sequences)

Tango::DevVarCharArray * create_DevVarCharArray (unsigned char *ptr, long length)
Tango::DevVarShortArray * create_DevVarShortArray (short *ptr, long length)
Tango::DevVarLongArray * create_DevVarLongArray (DevLong *ptr, long length)
Tango::DevVarLong64Array * create_DevVarLong64Array (DevLong64 *ptr, long length)
Tango::DevVarFloatArray * create_DevVarFloatArray (float *ptr, long length)
Tango::DevVarDoubleArray * create_DevVarDoubleArray (double *ptr, long length)
Tango::DevVarUShortArray * create_DevVarUShortArray (unsigned short *ptr, long length)
Tango::DevVarULongArray * create_DevVarULongArray (DevULong *ptr, long length)
Tango::DevVarULong64Array * create_DevVarULong64Array (DevULong64 *ptr, long length)
Tango::DevVarStringArray * create_DevVarStringArray (char **ptr, long length)
Miscellaneous methods
virtual void read_attr (Attribute &)
virtual void write_attr_hardware (vector< long > &)
virtual Tango::DevState dev_state ()
virtual Tango::ConstDevString dev_status ()
void add_attribute (Attr *new_attr)
void remove_attribute (Attr *rem_attr, bool free_it=false)
void remove_attribute (string &rem_attr_name, bool free_it=false)
vector< PollObj * >::iterator get_polled_obj_by_type_name (Tango::PollObjType obj_type, const string &obj_name)
void init_cmd_poll_ext_trig (string cmd_name)
void init_cmd_poll_period ()
void init_attr_poll_ext_trig (string cmd_name)
void init_attr_poll_period ()
Push change event methods.

These methods allow to fire change events for attributes manually, without the polling to be started.

void set_change_event (string attr_name, bool implemented, bool detect=true)
void push_change_event (string attr_name, DevFailed *except=NULL)
void push_change_event (string attr_name, Tango::DevShort *p_data, long x=1, long y=0, bool release=false)
void push_change_event (string attr_name, Tango::DevLong *p_data, long x=1, long y=0, bool release=false)
void push_change_event (string attr_name, Tango::DevLong64 *p_data, long x=1, long y=0, bool release=false)
void push_change_event (string attr_name, Tango::DevFloat *p_data, long x=1, long y=0, bool release=false)
void push_change_event (string attr_name, Tango::DevDouble *p_data, long x=1, long y=0, bool release=false)
void push_change_event (string attr_name, Tango::DevString *p_data, long x=1, long y=0, bool release=false)
void push_change_event (string attr_name, Tango::DevBoolean *p_data, long x=1, long y=0, bool release=false)
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::DevUChar *p_data, long x=1, long y=0, bool release=false)
void push_change_event (string attr_name, Tango::DevULong *p_data, long x=1, long y=0, bool release=false)
void push_change_event (string attr_name, Tango::DevULong64 *p_data, long x=1, long y=0, bool release=false)
void push_change_event (string attr_name, Tango::DevState *p_data, long x=1, long y=0, bool release=false)
void push_change_event (string attr_name, Tango::DevEncoded *p_data, long x=1, long y=0, bool release=false)
void push_change_event (string attr_name, Tango::DevString *p_str_data, Tango::DevUChar *p_data, long size, bool release=false)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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 archive event methods.

These methods allow to fire archive events for attributes manually, without the polling to be started.

void set_archive_event (string attr_name, bool implemented, bool detect=true)
void push_archive_event (string attr_name, DevFailed *except=NULL)
void push_archive_event (string attr_name, Tango::DevShort *p_data, long x=1, long y=0, bool release=false)
void push_archive_event (string attr_name, Tango::DevLong *p_data, long x=1, long y=0, bool release=false)
void push_archive_event (string attr_name, Tango::DevLong64 *p_data, long x=1, long y=0, bool release=false)
void push_archive_event (string attr_name, Tango::DevFloat *p_data, long x=1, long y=0, bool release=false)
void push_archive_event (string attr_name, Tango::DevDouble *p_data, long x=1, long y=0, bool release=false)
void push_archive_event (string attr_name, Tango::DevString *p_data, long x=1, long y=0, bool release=false)
void push_archive_event (string attr_name, Tango::DevBoolean *p_data, long x=1, long y=0, bool release=false)
void push_archive_event (string attr_name, Tango::DevUShort *p_data, long x=1, long y=0, bool release=false)
void push_archive_event (string attr_name, Tango::DevUChar *p_data, long x=1, long y=0, bool release=false)
void push_archive_event (string attr_name, Tango::DevULong *p_data, long x=1, long y=0, bool release=false)
void push_archive_event (string attr_name, Tango::DevULong64 *p_data, long x=1, long y=0, bool release=false)
void push_archive_event (string attr_name, Tango::DevState *p_data, long x=1, long y=0, bool release=false)
void push_archive_event (string attr_name, Tango::DevEncoded *p_data, long x=1, long y=0, bool release=false)
void push_archive_event (string attr_name, Tango::DevString *p_str_data, Tango::DevUChar *p_data, long size, bool release=false)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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 user event methods.

These methods allow to fire user events for attributes manually, without the polling to be started.

void push_event (string attr_name, vector< string > &filt_names, vector< double > &filt_vals, DevFailed *except=NULL)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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 data ready event methods

This method allows the user to push a data ready event

void push_data_ready_event (const string &attr_name, Tango::DevLong ctr=0)
Signal related methods

These methods allow a signal management at device level

void register_signal (long signo)
void unregister_signal (long signo)
virtual void signal_handler (long signo)

Public Attributes

attributes

Attributs member data.

Tango::DevDouble attr_ampli_write
Tango::DevBoolean * attr_boolean_scalar_read
Tango::DevBoolean attr_boolean_scalar_write
Tango::DevDouble * attr_double_scalar_read
Tango::DevDouble attr_double_scalar_write
Tango::DevDouble * attr_double_scalar_rww_read
Tango::DevDouble attr_double_scalar_w_write
Tango::DevFloat * attr_float_scalar_read
Tango::DevFloat attr_float_scalar_write
Tango::DevLong64 * attr_long64_scalar_read
Tango::DevLong64 attr_long64_scalar_write
Tango::DevLong * attr_long_scalar_read
Tango::DevLong attr_long_scalar_write
Tango::DevLong * attr_long_scalar_rww_read
Tango::DevLong attr_long_scalar_w_write
Tango::DevLong * attr_no_value_read
Tango::DevShort * attr_short_scalar_read
Tango::DevShort attr_short_scalar_write
Tango::DevShort * attr_short_scalar_ro_read
Tango::DevShort * attr_short_scalar_rww_read
Tango::DevShort attr_short_scalar_w_write
Tango::DevString * attr_string_scalar_read
Tango::DevString attr_string_scalar_write
Tango::DevLong * attr_throw_exception_read
Tango::DevUChar * attr_uchar_scalar_read
Tango::DevUChar attr_uchar_scalar_write
Tango::DevULong64 * attr_ulong64_scalar_read
Tango::DevULong64 attr_ulong64_scalar_write
Tango::DevUShort * attr_ushort_scalar_read
Tango::DevUShort attr_ushort_scalar_write
Tango::DevULong * attr_ulong_scalar_read
Tango::DevULong attr_ulong_scalar_write
Tango::DevBoolean * attr_boolean_spectrum_read
Tango::DevBoolean attr_boolean_spectrum_write
Tango::DevBoolean * attr_boolean_spectrum_ro_read
Tango::DevDouble * attr_double_spectrum_read
Tango::DevDouble attr_double_spectrum_write
Tango::DevDouble * attr_double_spectrum_ro_read
Tango::DevFloat * attr_float_spectrum_read
Tango::DevFloat attr_float_spectrum_write
Tango::DevFloat * attr_float_spectrum_ro_read
Tango::DevLong64 * attr_long64_spectrum_ro_read
Tango::DevLong * attr_long_spectrum_read
Tango::DevLong attr_long_spectrum_write
Tango::DevLong * attr_long_spectrum_ro_read
Tango::DevShort * attr_short_spectrum_read
Tango::DevShort attr_short_spectrum_write
Tango::DevShort * attr_short_spectrum_ro_read
Tango::DevString * attr_string_spectrum_read
Tango::DevString attr_string_spectrum_write
Tango::DevString * attr_string_spectrum_ro_read
Tango::DevUChar * attr_uchar_spectrum_read
Tango::DevUChar attr_uchar_spectrum_write
Tango::DevUChar * attr_uchar_spectrum_ro_read
Tango::DevULong64 * attr_ulong64_spectrum_ro_read
Tango::DevULong * attr_ulong_spectrum_ro_read
Tango::DevUShort * attr_ushort_spectrum_read
Tango::DevUShort attr_ushort_spectrum_write
Tango::DevUShort * attr_ushort_spectrum_ro_read
Tango::DevDouble * attr_wave_read
Tango::DevBoolean * attr_boolean_image_read
Tango::DevBoolean attr_boolean_image_write
Tango::DevBoolean * attr_boolean_image_ro_read
Tango::DevDouble * attr_double_image_read
Tango::DevDouble attr_double_image_write
Tango::DevDouble * attr_double_image_ro_read
Tango::DevFloat * attr_float_image_read
Tango::DevFloat attr_float_image_write
Tango::DevFloat * attr_float_image_ro_read
Tango::DevLong64 * attr_long64_image_ro_read
Tango::DevLong * attr_long_image_read
Tango::DevLong attr_long_image_write
Tango::DevLong * attr_long_image_ro_read
Tango::DevShort * attr_short_image_read
Tango::DevShort attr_short_image_write
Tango::DevShort * attr_short_image_ro_read
Tango::DevString * attr_string_image_read
Tango::DevString attr_string_image_write
Tango::DevString * attr_string_image_ro_read
Tango::DevUChar * attr_uchar_image_read
Tango::DevUChar attr_uchar_image_write
Tango::DevUChar * attr_uchar_image_ro_read
Tango::DevULong64 * attr_ulong64_image_ro_read
Tango::DevULong * attr_ulong_image_ro_read
Tango::DevUShort * attr_ushort_image_read
Tango::DevUShort attr_ushort_image_write
Tango::DevUShort * attr_ushort_image_ro_read
Device properties

Device properties member data.

Tango::DevShort mthreaded_impl
Tango::DevLong sleep_period
Tango::DevLong uShort_image_ro_size

Protected Member Functions

void add_alarmed (vector< long > &)
void alarmed_not_read (vector< AttIdx > &)
void check_lock (const char *, const char *cmd=NULL)
void read_attributes_from_cache (const Tango::DevVarStringArray &, Tango::AttributeValueList_3 *&, Tango::AttributeValueList_4 *&)
void read_attributes_no_except (const Tango::DevVarStringArray &, Tango::AttributeValueList_3 *&, Tango::AttributeValueList_4 *&, bool, vector< long > &)
long reading_state_necessary (vector< AttIdx > &)
void state2attr (Tango::DevState, Tango::AttributeValue_3 &)
void state2attr (Tango::DevState, Tango::AttributeValue_4 &)
void status2attr (Tango::ConstDevString, Tango::AttributeValue_4 &)
void status2attr (Tango::ConstDevString, Tango::AttributeValue_3 &)
void throw_locked_exception (const char *meth)
void write_attributes_34 (const Tango::AttributeValueList *, const Tango::AttributeValueList_4 *)
void write_attributes_in_db (vector< long > &, vector< AttIdx > &)

Protected Attributes

DataGeneratordata_gen
long dimBooleanSpectrum
long dimDoubleSpectrum
long dimFloatSpectrum
long dimLongSpectrum
long dimShortSpectrum
long dimStringSpectrum
long dimUcharSpectrum
long dimUshortSpectrum
long dimXBooleanImage
long dimXDoubleImage
long dimXFloatImage
long dimXLongImage
long dimXShortImage
long dimXStringImage
long dimXUcharImage
long dimXUshortImage
long dimYBooleanImage
long dimYDoubleImage
long dimYFloatImage
long dimYLongImage
long dimYShortImage
long dimYStringImage
long dimYUcharImage
long dimYUshortImage
DevVarBooleanArray dummy_boolean_att_value
DevVarDoubleArray dummy_double_att_value
DevVarEncodedArray dummy_encoded_att_value
DevVarFloatArray dummy_float_att_value
DevVarLong64Array dummy_long64_att_value
DevVarLongArray dummy_long_att_value
DevVarShortArray dummy_short_att_value
DevVarStateArray dummy_state_att_value
DevVarStringArray dummy_string_att_value
DevVarCharArray dummy_uchar_att_value
DevVarULong64Array dummy_ulong64_att_value
DevVarULongArray dummy_ulong_att_value
DevVarUShortArray dummy_ushort_att_value
DeviceImplExt * ext
Device_3ImplExt * ext_3
Device_4ImplExt * ext_4
omni_mutex lock
Class data members
BlackBox * blackbox_ptr
long blackbox_depth
string device_name
string desc
string device_status
Tango::DevState device_state
long version
DeviceClass * device_class
MultiAttribute * dev_attr
DbDevice * db_dev
string adm_device_name

Friends

class DataGenerator
class Tango::AutoTangoMonitor
class Tango::EventSubscriptionChangeCmd
class Tango::EventSupplier
class Tango::NoSyncModelTangoMonitor

Detailed Description

Class Description: A device to test generic clients. It offers a "echo" like command for each TANGO data type (i.e. each command returns an exact copy of <argin>).

Definition at line 115 of file TangoTest.h.


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

Generated by  Doxygen 1.6.0   Back to index