AAO DRAMA/DRAMA2 C++ Interface
DRAMA C++11 and later interface
Classes | Namespaces | Functions
threaduface.hh File Reference

Detailed Description

DRAMA 2 include file - Threaded UFACE class definition.

Implement the TUface class, used to provide an appropriate context for the sending of DRAMA messages from outside a DRAMA action. Traditionally, this is for sending messages from a user interface, so is known as DRAMA's UFACE context, as this is used to implement user interfaces in DRAMA

Author
Tony Farrell, AAO $Revision$ $Date$ $Id$
#include "drama/messagehandler.hh"
#include "drama/thread.hh"
#include <thread>
#include <queue>
#include <deque>
#include <map>
#include <chrono>
#include <future>
#include <condition_variable>

Go to the source code of this file.

Classes

class  drama::thread::TUface
 A class which allows threads running in a User Interface or similar environments to send DRAMA messages. More...
 

Namespaces

namespace  drama
 The drama namespace contains all the classes, types etc of the DRAMA 2 implementation.
 
namespace  drama::thread
 This namespace is used for features which are particular to supporting C++11 thread based operations within DRAMA 2.
 

Functions

void drama::thread::SignalDramaToExit (std::weak_ptr< Task > dramaTask, StatusType exitStatus=STATUS__OK)
 Signal to DRAMA that this task should exit.