|
AAO DRAMA/DRAMA2 C++ Interface
DRAMA C++11 and later interface
|
|
inlinevirtualinherited |
Add an action to the task.
An action of the specified name is added to the task. The function specified is invoked to handle messages.
| name | Action name. |
| func | A function to be invoked to handle messages. The only argument to the specified function is a drama::MessageHandler object which can be used communicate with DRAMA. The function must return a reschedule request. |
| 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. |