|
AAO DRAMA/DRAMA2 C++ Interface
DRAMA C++11 and later interface
|
| drama::Task::Task | ( | const std::string & | name, |
| int | buffer = DefBufSize, |
||
| int | flags = 0, |
||
| int | selfBytes = DefSelfBufSize |
||
| ) |
Create a new DRAMA task of the specified name.
| name | The name for the task. |
| buffer | The DRAMA Task global message buffer size (bytes). Defaults to DefBufSize (20000) which should be enough for small tasks (and is the minimum value allowed. See DitsAppInit(). |
| flags | DRAMA Initialization flags. See DitsAppInit() for possible values. |
| selfBytes | Size for the message buffer used to send messages to self. Only used if the DITS_M_SELF_BYTES flag is set. Default is DefSelBufSize (2000) bytes and this is also the minimum value allowed, which enough for normal uses of DitsSignal() and related functions. Specifying as zero will get the DRAMA internal default, which is also 2000 bytes (at the moment). Can't be more then buffer/2. |