|
AAO DRAMA/DRAMA2 C++ Interface
DRAMA C++11 and later interface
|
|
inlinevirtualinherited |
Add an threaded action to the task.
An action of the specified name is added to the task. The function specified is invoked in a thread to handle messages.
| name | Action name. |
| func | A function to be invoked to handle messages. The function takes (as arguments) a drama::thread::TAction object, referring to the object which invokes it and an SDS Id reference. Must return void. |
| descr | Action description string. This string is output by control messages giving a list of actions of the task and can be accessed by various DRAMA interfaces. |