AAO DRAMA/DRAMA2 C++ Interface
DRAMA C++11 and later interface

◆ Add() [1/3]

virtual void drama::Task::Add ( const std::string &  name,
MessageHandler obj,
const std::string &  descr = "" 
)
inlinevirtualinherited

Add an action to the task.

An action of the specified name is added to the task. The MessageHandler pointed to by obj is used to handle the messages.

Parameters
nameAction name.
objMessageHandler object.
descrAction description string. Optional, if not specified an empty string is supplied. This string is output by control messages giving a list of actions of the task and can be accessed by various DRAMA interfaces.