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

Detailed Description

DRAMA 2 include file - Message Handler class definition.

Implements a class is used to handle DRAMA Action messages.

Author
Tony Farrell, AAO $Revision$ $Date$ $Id$
#include "drama/task.hh"
#include "drama/entryinfo.hh"
#include "drama/request.hh"
#include "drama/action.hh"
#include "drama/bulkdata.hh"
#include "status.h"
#include "DitsFix.h"
#include "DitsMsgOut.h"
#include <functional>

Go to the source code of this file.

Classes

class  drama::MessageHandler
 A class which implements a DRAMA Message Handler. More...
 
class  drama::MessageHandlerViaFunctor
 This class is used to creating MessageHandler objects referring to functions. More...
 
class  drama::MessageUserStreamBuf< T >
 Implement a streambuf sub-class that can write messages via the DRAMA MessageUser interface. More...
 
class  drama::SdsListToUserObj
 Object used to print SDS objects using MessageUser from MessageHandler objects. More...
 

Namespaces

namespace  drama
 The drama namespace contains all the classes, types etc of the DRAMA 2 implementation.
 

Typedefs

using drama::MessageHandlerPtr = std::shared_ptr< MessageHandler >
 This type is used for passing MessageHandler object addresses around.
 
using drama::MessageReceiveFunction = std::function< Request(MessageHandler *)>
 Type used for functions specified to drama::MessageHandler::PutObeyHandler(), drama::MessageHandler::PutKickHandler() and drama::Task::Add().
 

Functions

Request drama::SimpleExitAction (drama::MessageHandler *messageHandler)
 A function which implements a simple exit action.