AAO DRAMA/DRAMA2 C++ Interface
DRAMA C++11 and later interface
|
Class used to arrange for notifications when the RunDrama exits.
When RunDrama() exits, no more messages are expected. Hence software may want to be notified when this happens.
Abstract. User must create a subclass of this which implements the RunDramaHasExited and JoinThreads methods. They must supply an object of the subclass to the drama::Task::NotifyOnRunDramaExit() method.
When notification is no longer required, the subclass must invoke drama::Task::CancelNotifyOnRunDramaExit() to remove it.
It must be noted that RunDramaHasExited() is invoked when the the DRAMA message loop has exited. The implementation cannot rely on DRAMA messages being processed.
#include "task.hh"
Public Member Functions | |
virtual bool | JoinThreads (std::chrono::steady_clock::time_point until)=0 |
Invoked by DRAMA when the run loop exists. | |
virtual int | RunDramaHasExited ()=0 |
Invoked by DRAMA when the run loop exits. | |
Click here for the DRAMA home page and here for the AAO home page.
For more information, contact tony.farrell@mq.edu.au
Generated by