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

◆ GetTask()

virtual std::shared_ptr< Task > drama::thread::Monitor::GetTask ( ) const
inlineprotectedvirtualinherited

Get a reference to the task we are part of.

User implementations of Monitor may need this in ParameterChanged, in particular, to grab the DRAMA Lock.

Returns
A shared pointer referring to the DRAMA task.