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

Public Member Functions | Static Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | Private Member Functions

Tango::AccessProxy Class Reference

Inheritance diagram for Tango::AccessProxy:
Inheritance graph
Collaboration diagram for Tango::AccessProxy:
Collaboration graph

List of all members.

Public Member Functions

 AccessProxy (string &)
 AccessProxy (const char *)
virtual string adm_name ()
virtual string alias ()
virtual vector
< DeviceAttributeHistory > * 
attribute_history (string &, int)
virtual vector
< DeviceAttributeHistory > * 
attribute_history (const char *na, int n)
virtual AttributeInfoList * attribute_list_query ()
virtual AttributeInfoListEx * attribute_list_query_ex ()
virtual AttributeInfoEx attribute_query (string name)
virtual vector< string > * black_box (int)
virtual void cancel_all_polling_asynch_request ()
virtual void cancel_asynch_request (long)
void Cb_Cmd_Request (CORBA::Request_ptr, Tango::CallBack *)
void Cb_ReadAttr_Request (CORBA::Request_ptr, Tango::CallBack *)
void Cb_WriteAttr_Request (CORBA::Request_ptr req, Tango::CallBack *cb_ptr)
AccessControlType check_access_control (string &)
virtual vector
< DeviceDataHistory > * 
command_history (string &, int)
virtual vector
< DeviceDataHistory > * 
command_history (const char *na, int n)
virtual DeviceData command_inout (string &, DeviceData &)
virtual DeviceData command_inout (const char *co, DeviceData &d)
virtual CORBA::Any_var command_inout (string &, CORBA::Any &)
virtual CORBA::Any_var command_inout (const char *co, CORBA::Any &d)
virtual DeviceData command_inout (string &)
virtual DeviceData command_inout (const char *co)
virtual void command_inout_asynch (const char *, CallBack &cb)
virtual long command_inout_asynch (const char *, DeviceData &argin, bool forget=false)
virtual long command_inout_asynch (string &, DeviceData &argin, bool forget=false)
virtual long command_inout_asynch (const char *, bool forget=false)
virtual long command_inout_asynch (string &, bool forget=false)
virtual void command_inout_asynch (const char *, DeviceData &argin, CallBack &cb)
virtual void command_inout_asynch (string &, DeviceData &argin, CallBack &cb)
virtual void command_inout_asynch (string &, CallBack &cb)
virtual DeviceData command_inout_reply (long)
virtual DeviceData command_inout_reply (long, long)
virtual CommandInfoList * command_list_query ()
virtual CommandInfo command_query (string)
void connect (string &name)
void dec_asynch_counter (asyn_req_type ty)
virtual void delete_property (string &)
virtual void delete_property (vector< string > &)
virtual void delete_property (DbData &)
virtual string description ()
virtual string dev_name ()
virtual int event_queue_size (int event_id)
AccessControlType get_access_control ()
AccessControlType get_access_right ()
virtual void get_asynch_replies ()
virtual void get_asynch_replies (long)
virtual AttributeInfoEx get_attribute_config (const string &)
virtual AttributeInfoList * get_attribute_config (vector< string > &)
virtual AttributeInfoListEx * get_attribute_config_ex (vector< string > &)
virtual vector< string > * get_attribute_list ()
virtual int get_attribute_poll_period (string &)
virtual int get_attribute_poll_period (const char *na)
virtual int get_command_poll_period (string &)
virtual int get_command_poll_period (const char *na)
string & get_db_host ()
string & get_db_port ()
int get_db_port_num ()
string & get_dev_host ()
string & get_dev_port ()
Tango::Device_var & get_device ()
virtual Databaseget_device_db ()
virtual void get_events (int event_id, EventDataList &event_list)
virtual void get_events (int event_id, AttrConfEventDataList &event_list)
virtual void get_events (int event_id, DataReadyEventDataList &event_list)
virtual void get_events (int event_id, CallBack *cb)
bool get_from_env_var ()
int get_idl_version ()
virtual TimeVal get_last_event_date (int event_id)
virtual bool get_locker (LockerInfo &)
virtual void get_property (DbData &)
virtual void get_property (vector< string > &, DbData &)
virtual void get_property (string &, DbData &)
virtual void get_property_list (const string &, vector< string > &)
virtual Tango::DevSource get_source ()
virtual int get_timeout_millis ()
virtual bool get_transparency_reconnection ()
virtual DbDevImportInfo import_info ()
virtual DeviceInfo const & info ()
virtual bool is_attribute_polled (string &)
virtual bool is_attribute_polled (const char *na)
bool is_command_allowed (string &, string &)
virtual bool is_command_polled (const char *na)
virtual bool is_command_polled (string &)
bool is_dbase_used ()
virtual bool is_event_queue_empty (int event_id)
virtual bool is_locked ()
virtual bool is_locked_by_me ()
virtual void lock (int lock_validity=DEFAULT_LOCK_VALIDITY)
virtual string locking_status ()
virtual string name ()
virtual void parse_name (string &)
virtual long pending_asynch_call (asyn_req_type req)
virtual int ping ()
virtual void poll_attribute (const char *na, int per)
virtual void poll_attribute (string &, int)
virtual void poll_command (string &, int)
virtual void poll_command (const char *na, int per)
virtual vector< string > * polling_status ()
virtual void put_property (DbData &)
virtual DeviceAttribute read_attribute (string &)
virtual DeviceAttribute read_attribute (const char *at)
void read_attribute (const char *, DeviceAttribute &)
void read_attribute (string &at, DeviceAttribute &da)
virtual void read_attribute_asynch (const char *na, CallBack &cb)
virtual void read_attribute_asynch (string &, CallBack &)
virtual long read_attribute_asynch (const char *na)
virtual long read_attribute_asynch (string &att_name)
virtual DeviceAttributeread_attribute_reply (long)
virtual DeviceAttributeread_attribute_reply (long, long)
virtual vector< DeviceAttribute > * read_attributes (vector< string > &)
virtual void read_attributes_asynch (vector< string > &, CallBack &)
virtual long read_attributes_asynch (vector< string > &)
virtual vector< DeviceAttribute > * read_attributes_reply (long)
virtual vector< DeviceAttribute > * read_attributes_reply (long, long)
void set_access_control (AccessControlType acc)
virtual void set_attribute_config (AttributeInfoListEx &)
virtual void set_attribute_config (AttributeInfoList &)
virtual void set_source (Tango::DevSource sou)
virtual void set_timeout_millis (int timeout)
virtual void set_transparency_reconnection (bool val)
virtual DevState state ()
virtual string status ()
virtual void stop_poll_attribute (string &)
virtual void stop_poll_attribute (const char *na)
virtual void stop_poll_command (string &)
virtual void stop_poll_command (const char *na)
virtual int subscribe_event (const string &attr_name, EventType event, int event_queue_size, const vector< string > &filters, bool stateless=false)
virtual int subscribe_event (const string &attr_name, EventType event, CallBack *, const vector< string > &filters, bool stateless)
virtual int subscribe_event (const string &attr_name, EventType event, CallBack *, const vector< string > &filters)
virtual void unlock (bool force=false)
virtual void unsubscribe_event (int event_id)
virtual void write_attribute (DeviceAttribute &)
virtual void write_attribute_asynch (DeviceAttribute &, CallBack &)
virtual long write_attribute_asynch (DeviceAttribute &)
virtual void write_attribute_reply (long id)
virtual void write_attribute_reply (long to, long id)
virtual void write_attributes (vector< DeviceAttribute > &)
virtual long write_attributes_asynch (vector< DeviceAttribute > &)
virtual void write_attributes_asynch (vector< DeviceAttribute > &, CallBack &)
virtual void write_attributes_reply (long, long)
virtual void write_attributes_reply (long)
virtual DeviceAttribute write_read_attribute (DeviceAttribute &)

Static Public Member Functions

static void get_fqdn (string &)

Protected Types

enum  polled_object { Cmd, Attr }

Protected Member Functions

void add_asyn_cb_request (CORBA::Request_ptr, CallBack *, Connection *, TgRequest::ReqType)
long add_asyn_request (CORBA::Request_ptr, TgRequest::ReqType)
void ask_locking_status (vector< string > &, vector< DevLong > &)
virtual string build_corba_name ()
void check_and_reconnect ()
void check_and_reconnect (Tango::DevSource &)
void check_and_reconnect (Tango::DevSource &, Tango::AccessControlType &)
void check_and_reconnect (Tango::AccessControlType &)
void from_hist4_2_AttHistory (DevAttrHistory_4_var &, vector< DeviceAttributeHistory > *)
void from_hist4_2_DataHistory (DevCmdHistory_4_var &, vector< DeviceDataHistory > *)
void get_allowed_commands (string &, vector< string > &)
virtual string get_corba_name (bool)
int get_env_var (const char *, string &)
int get_env_var_from_file (string &, const char *, string &)
virtual int get_lock_ctr ()
void get_locker_host (string &, string &)
long get_pasyn_cb_ctr ()
void get_remaining_param (AttributeInfoListEx *)
bool is_polled (polled_object, string &, string &)
virtual void reconnect (bool)
DeviceData redo_synch_cmd (TgRequest &)
void remove_asyn_cb_request (Connection *, CORBA::Request_ptr)
void remove_asyn_request (long)
void same_att_name (vector< string > &, const char *)
void set_connection_state (int)
virtual void set_lock_ctr (int lo)

Protected Attributes

AccessControlType access
map< string, vector< string > > allowed_cmd_table
bool check_acc
int connection_state
string db_host
string db_port
int db_port_num
bool dbase_used
Tango::Device_var device
Tango::Device_2_var device_2
bool forced
bool from_env_var
string host
vector< string > host_ips
string ior
long pasyn_cb_ctr
long pasyn_ctr
string port
int port_num
Tango::DevSource source
int timeout
string user
int version

Private Member Functions

void real_ctor ()

Detailed Description

Definition at line 36 of file accessproxy.h.

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

Generated by  Doxygen 1.6.0   Back to index