DRAMA C++ Intro   Class Hierarchy   Alphabetical List of types   List of Classes   File List   Class Member Index   File Members Index   Related Pages  

Public Member Functions | List of all members
DcppTask::DisconHandler Class Referenceabstract

Disconnect handler abstract type. More...

#include <dcpptask.h>

Public Member Functions

 DisconHandler ()
 Constructor. More...
 
virtual void Disconnected (DcppTask *)=0
 Disconnect notification routine. More...
 
virtual ~DisconHandler ()
 Destructor. More...
 

Detailed Description

Disconnect handler abstract type.

This class used for disconnect handlers and and object of this type must be specified to DcppTask::PutDisconnectHandler . Inheritors must implement "void Disconnect(DcppTask *)", which will be invoked when the task disconnects.

Constructor & Destructor Documentation

DcppTask::DisconHandler::DisconHandler ( )
inline

Constructor.

virtual DcppTask::DisconHandler::~DisconHandler ( )
inlinevirtual

Destructor.

Member Function Documentation

virtual void DcppTask::DisconHandler::Disconnected ( DcppTask )
pure virtual

Disconnect notification routine.

This abstract method must be implemented by inheritors. It will be invoked when the task disconnects (presuming the object has been specified to DcppTask::PutDisconnectHandler .

Note that the method will be invoked at UFACE context and you should NOT try to get the path again immediately. If you wish to do that, you should use DitsUfaceTimer() to set up a timed event or DitsSignal() or sending a message along the self path to the task itself and have the receiving function/action get the path again about 1 second later.


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

Click here for the DRAMA home page and here for the AAO home page.

For more information, contact tjf@aao.gov.au 

Generated on Mon Feb 22 2016 13:58:31 for AAO DRAMA C++ Interfaces by doxygen 1.8.10