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

Detailed Description

DRAMA 2 include file - Code common to DRAMA 2 features supporting threading.

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

Go to the source code of this file.

Classes

class  drama::thread::AccessDrama
 A class used by threads to access and enable the DRAMA context of an action or of a particular UFACE context. More...
 
class  drama::thread::ProcessInfo
 A class with information used by the TransEvtProcessor methods. More...
 
class  drama::thread::SignalBlocker
 Constructing an object of this type will block all blockable UNIX signals in the current thread. More...
 
class  drama::thread::TMessHandler
 This interface class must be implemented by classes which have threads waiting for messages. More...
 
class  drama::thread::TSdsListToUserObj
 Object used to print SDS objects using MessageUser from TMessHandler objects. 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::RunProgram (TMessHandler *messHandler, const std::string &fileName, const std::string &arguments="", const std::string &node="", int priority=0, bool absPriority=false, bool setNames=true, unsigned stackBytes=0)
 Load and run a program using the DRAMA loading mechanisms.
 
bool drama::thread::RunProgramWaitUntil (std::chrono::steady_clock::time_point until, TMessHandler *messHandler, const std::string &fileName, const std::string &arguments="", const std::string &node="", int priority=0, bool absPriority=false, bool setNames=true, unsigned stackBytes=0)
 Load and run a program using the DRAMA loading mechanisms.