OpenSDN source code
TaskExclusion Struct Reference

The class is used to specify a Task label for formulating a task exclusion list (an execution policy). More...

#include <task.h>

Public Member Functions

 TaskExclusion (int task_code_id)
 Creates a new task exclusion from the given task code ID value and wildcard for task data ID. More...
 
 TaskExclusion (int task_code_id, int task_data_id)
 Creates a new task exclusion from the given task code ID and task data ID values. More...
 

Public Attributes

int match_code_id
 Specifies task code ID (must be a valid id >= 0) for a task execution policy. More...
 
int match_data_id
 Specifies task data ID for a task execution policy. The value of -1 corresponds to wildcard (any). More...
 

Detailed Description

The class is used to specify a Task label for formulating a task exclusion list (an execution policy).

Definition at line 246 of file task.h.

Constructor & Destructor Documentation

◆ TaskExclusion() [1/2]

TaskExclusion::TaskExclusion ( int  task_code_id)
inline

Creates a new task exclusion from the given task code ID value and wildcard for task data ID.

Definition at line 250 of file task.h.

◆ TaskExclusion() [2/2]

TaskExclusion::TaskExclusion ( int  task_code_id,
int  task_data_id 
)
inline

Creates a new task exclusion from the given task code ID and task data ID values.

Definition at line 255 of file task.h.

Member Data Documentation

◆ match_code_id

int TaskExclusion::match_code_id

Specifies task code ID (must be a valid id >= 0) for a task execution policy.

Definition at line 261 of file task.h.

◆ match_data_id

int TaskExclusion::match_data_id

Specifies task data ID for a task execution policy. The value of -1 corresponds to wildcard (any).

Definition at line 265 of file task.h.


The documentation for this struct was generated from the following file: