nn::boss::Task Classclass Task
Class for representing tasks. Use this to do such things as register or unregister a task, or for task operations.
Task
|
Constructor. | |
|---|---|---|
| V |
~Task
|
Destructor. |
Initialize
|
Registers a task ID. | |
UpdateInterval
|
Updates the execution interval for a task after registration. | |
UpdateIntervalWithSec
|
Updates the execution interval for a task after registration. The units are seconds. | |
UpdateCount
|
Updates the execution count for a task after registration. | |
GetInterval
|
Gets the execution interval. The units are hours. | |
GetIntervalSec
|
Gets the execution interval. The units are seconds. | |
GetCount
|
Gets the execution count. | |
GetServiceStatus
|
Gets the service status of a task. | |
Start
|
Starts a task. | |
StartImmediate
|
Starts a task immediately. | |
Cancel
|
Cancels a running task. | |
WaitFinish
|
Waits for a task to finish within the specified time. | |
GetState
|
Gets the task state. | |
GetCommErrorCode
|
Gets the communication error code. | |
GetResult
|
Gets the task result code. | |
GetStatus
|
Gets the task status. | |
GetError
|
Gets the task error state. | |
GetInfo
|
Gets task information. | |
GetTaskId
|
Gets the task ID. |
CONFIDENTIAL