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

◆ Monitor() [2/3]

drama::thread::Monitor::Monitor ( std::weak_ptr< Task theTask,
std::vector< 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.
parsA vector of names of parameters to monitor.