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

◆ MonitorForward() [3/3]

void drama::Path::MonitorForward ( thread::TMessHandler taction,
const std::string &  task,
const std::string  action,
std::initializer_list< std::string >  pars,
MessageEventHandler *const  eventProcessor = &_simpleMonEventProcessor 
)
inlineinherited

Send a Monitor Forward message to a task and block until it is complete.

This version allows the target task and action, and the list of parameters to be specified as strings.

Parameters
tactionA pointer to the threaded action or threaded uface handler which is executing this operation.
taskThe name of the task we will forward too.
actionThe action to invoke in task.
parsThe parameters we will monitor, a list of strings.
eventProcessorAn object to use to process events. Defaults to a simple event processor that causes the method to return when the monitor completes.

References drama::sds::Id::CreateArgStruct(), drama::CreateRunDramaTask(), and drama::Path::MonitorForward().