inline TaskType GetTaskType() const;
GetTaskType obtains the type of the task that is to be executed.
Type of the task.