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

◆ Run() [2/2]

void drama::thread::Monitor::Run ( Path thePath,
thread::TMessHandler action,
MonitorMessageHandler evtProcessor 
)
inherited

Run a monitor operation - handler by address.

This method will send a DRAMA "MONITOR START" message to the task, the path to which is supplied. The parameters being monitored would have been specified in constructor.

The thread will block until the monitor completes.

Parameters
thePathThe path to the task we wish to monitor.
actionA pointer to the threaded action (or uface handler) which is executing this operation.
evtProcessorAn object to use to process events.