nn::boss::TaskPolicy Classclass TaskPolicy
Class for representing task policies. Use this to do such things as set the policy information used when registering a task.
TaskPolicy
|
Constructor. | |
|---|---|---|
| V |
~TaskPolicy
|
Destructor. |
Initialize
|
Configures the policy settings. | |
InitializeWithSecInterval
|
Configures the policy settings. Specify the execution interval in seconds. | |
SetDuration
|
Sets the duration for a single execution. (To be supported in future) | |
SetPriority
|
Sets a task's execution priority. A task's execution priority is adjusted by the scheduler according to circumstances and settings sent from the server. | |
SetProperty
|
Sets a property value in the class. Can be used for the following properties. Identifier type TASK_PRIORITY TaskPriority TASK_SCHEDULING_POLICY SchedulingPolicy TASK_TARGET_DURATION u32 (sec.) TASK_EXEC_INTERVAL u32 (min.) TASK_EXEC_COUNT u32 TASK_PERMISSION TaskPermission |
|
GetProperty
|
Gets a property value from the class. Can be used for the following properties. Identifier type TASK_PRIORITY TaskPriority TASK_SCHEDULING_POLICY SchedulingPolicy TASK_TARGET_DURATION u32 (sec.) TASK_EXEC_INTERVAL u32 (min.) TASK_EXEC_COUNT u32 TASK_PERMISSION TaskPermission |
CONFIDENTIAL