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

◆ Monitor() [1/3]

drama::thread::Monitor::Monitor ( std::weak_ptr< Task theTask,
std::initializer_list< std::string >  pars 
)
inline

Create a Monitor object.

To actually execute the monitor, use the Run() method.

Parameters
theTaskThe DRAMA Task we are part of. This is passed by pointer, but Monitor is not taking ownership of the subject object, which must continue to exist until the Monitor object is destroyed.
parsAn initialiser list of names of parameters to monitor.