|
|
◆ 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
-
| theTask | The 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.
|
| pars | An initialiser list of names of parameters to monitor. |
|