|
◆ 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
-
dramaTask | The 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.
|
logThreadName | A 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. |
|