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

◆ TActionViaFunctor()

drama::thread::TActionViaFunctor::TActionViaFunctor ( std::weak_ptr< Task dramaTask,
const ThreadActionFunction  func 
)
inline

Initialize object with the specified function, which meets the ThreadActionFunction prototype.

Parameters
dramaTaskThe drama task we are associated with.
funcThe function to invoke to implement this action.