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

◆ TUface()

drama::thread::TUface::TUface ( std::weak_ptr< Task dramaTask,
const std::string &  logThreadName = "TUface::TUface" 
)

Create a DRAMA action/message handler object which runs a thread when the Obey message is received.

Parameters
dramaTaskThe DRAMA Task we are part of. This is passed by pointer, but TUFace is not taking ownership of the subject object, which must continue to exist until the TUFace object is destroyed.
logThreadNameA name used in a log message to indicate the function doing running the thread. Only 16 chars avail. The default of "TUface::TUface" is the original behaviour where a caller would have then overriden the value with their own call to RegisterThread.