Tango Core Classes Reference  9.3.3
Tango::CallBack Class Reference

Event and asynchronous (callback model) calls base class. More...

#include "tango.h"

Public Member Functions

virtual void attr_read (AttrReadEvent *are)
 Asynchronous read attribute execution callback method. More...
 
virtual void attr_written (AttrWrittenEvent *awe)
 Asynchronous write attribute execution callback method. More...
 
virtual void cmd_ended (CmdDoneEvent *cde)
 Asynchronous command execution callback method. More...
 
virtual void push_event (AttrConfEventData *ace)
 attribute configuration change event callback method More...
 
virtual void push_event (DataReadyEventData *dre)
 Data ready event callback method. More...
 
virtual void push_event (DevIntrChangeEventData *dic)
 Device interface change event callback method. More...
 
virtual void push_event (EventData *ed)
 Event callback method. More...
 
virtual void push_event (PipeEventData *ped)
 Pipe event callback method. More...
 

Detailed Description

Event and asynchronous (callback model) calls base class.

When using the event push model (callback automatically executed), there are some cases (same callback used for events coming from different devices hosted in device server process running on different hosts) where the callback method could be executed concurently by different threads started by the ORB. The user has to code his callback method in a thread safe manner.

$Author$ $Revision$

Member Function Documentation

◆ attr_read()

virtual void Tango::CallBack::attr_read ( AttrReadEvent are)
inlinevirtual

Asynchronous read attribute execution callback method.

This method is defined as being empty and must be overloaded by the user when the asynchronous callback model is used. This is the method which will be executed when the server reply from a read_attribute(s) is received in both push and pull sub-mode.

Parameters
areThe read attribute data

◆ attr_written()

virtual void Tango::CallBack::attr_written ( AttrWrittenEvent awe)
inlinevirtual

Asynchronous write attribute execution callback method.

This method is defined as being empty and must be overloaded by the user when the asynchronous callback model is used. This is the method which will be executed when the server reply from a write_attribute(s) is received in both push and pull sub-mode.

Parameters
aweThe write attribute data

◆ cmd_ended()

virtual void Tango::CallBack::cmd_ended ( CmdDoneEvent cde)
inlinevirtual

Asynchronous command execution callback method.

This method is defined as being empty and must be overloaded by the user when the asynchronous callback model is used. This is the method which will be executed when the server reply from a command_inout is received in both push and pull sub-mode.

Parameters
cdeThe command data

◆ push_event() [1/5]

virtual void Tango::CallBack::push_event ( AttrConfEventData ace)
inlinevirtual

attribute configuration change event callback method

This method is defined as being empty and must be overloaded by the user when events are used. This is the method which will be executed when the server send attribute configuration change event(s) to the client.

Parameters
aceThe attribute configuration change event data

◆ push_event() [2/5]

virtual void Tango::CallBack::push_event ( DataReadyEventData dre)
inlinevirtual

Data ready event callback method.

This method is defined as being empty and must be overloaded by the user when events are used. This is the method which will be executed when the server send attribute data ready event(s) to the client.

Parameters
dreThe data ready event data

◆ push_event() [3/5]

virtual void Tango::CallBack::push_event ( DevIntrChangeEventData dic)
inlinevirtual

Device interface change event callback method.

This method is defined as being empty and must be overloaded by the user when events are used. This is the method which will be executed when the server send device interface change event(s) to the client.

Parameters
dicThe device interface change event data

◆ push_event() [4/5]

virtual void Tango::CallBack::push_event ( EventData ed)
inlinevirtual

Event callback method.

This method is defined as being empty and must be overloaded by the user when events are used. This is the method which will be executed when the server send event(s) to the client.

Parameters
edThe event data

◆ push_event() [5/5]

virtual void Tango::CallBack::push_event ( PipeEventData ped)
inlinevirtual

Pipe event callback method.

This method is defined as being empty and must be overloaded by the user when events are used. This is the method which will be executed when the server send pipe event(s) to the client.

Parameters
pedThe pipe event data

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