AAO DRAMA/DRAMA2 C++ Interface
DRAMA C++11 and later interface
Public Member Functions | List of all members
drama::RunDramaExitNotifier Class Referenceabstract

Detailed Description

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 one of these and supply it to the drama::Task::NotifyOnloopExit() method. When notification is no longer required, the user must invoke drama::Task::CancelNotifyOnLoopExit()

#include "task.hh"

Inheritance diagram for drama::RunDramaExitNotifier:
drama::thread::TAction drama::thread::TUface drama::thread::TActionViaFunctor

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.
 

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