|
◆ Task()
drama::git::Task::Task |
( |
const std::string & |
taskName, |
|
|
const std::string & |
logSysName, |
|
|
const std::string & |
verNum, |
|
|
const std::string & |
verDate, |
|
|
const std::string & |
description, |
|
|
const std::string & |
taskType = "IDT" , |
|
|
const std::string & |
simVarName = "" , |
|
|
int |
simLevels = GIT_M_SIM_ALLLEVELS , |
|
|
int |
buffer = drama::Task::DefBufSize , |
|
|
int |
flags = 0 , |
|
|
int |
selfBytes = drama::Task::DefSelfBufSize |
|
) |
| |
Create a DRAMA task which implements the AAO GIT Specification.
- Parameters
-
taskName | The name for the task. |
logSysName | Logging system name - used to access environment variables used in setting up logging. See drama::logging::Logger. |
verNum | The task version number as a string. For AAO tasks, this is normally derived from the ACMM Version number, e.g r1_4 for ACMM Version 1.4. AAO dmakefile's can use standard code to generate this. This value is placed in the ENQ_VER_NUM parameter. |
verDate | The task build date. The AAO normally used the command "date +%d-%b-%Y" to generate this string and AAO dmakefile's can use standard code to generate this. This value value is placed in the ENQ_VER_DATE parameter. |
description | A string to be placed in the GIT ENQ_DEV_DESCR parameter. |
taskType | A string to be placed in the GIT ENQ_DEV_TYPE parameter. See the GIT documentation for defined types. |
simVarName | IF not empty, then this is the name of a environment variable which is used to determine the simulation level when the simulation not been set by the SIMULATE_LEVEL command or by setting the SIMULATE_LEVEL parameter |
simLevels | A bit mask indicate the acceptable simulation levels. The possible values are GIT_M_SIM_BASIC, GIT_M_SIM_COMMANDS, GIT_M_SIM_STATUS. FULL simulation and NONE are always allowed. Set to GIT_M_SIM_ALLLEVELS to accept all values. |
buffer | The DRAMA Task global message buffer size (bytes). Defaults to DefBufSize (20000) which should be enough for small tasks. 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 which enough for normal uses of DitsSignal() and related functions. |
|