Cogs.Core
Public Member Functions | Private Attributes | List of all members
Cogs::Core::Parallel::TaskScope Struct Reference

Public Member Functions

 TaskScope (TaskManager *taskManager, TaskId group)
 
 TaskScope (TaskScope &&other)=default
 
void Wait ()
 

Private Attributes

TaskManagertaskManager = nullptr
 
TaskId group = NoTask
 

Detailed Description

Definition at line 29 of file Parallel.h.

Constructor & Destructor Documentation

◆ TaskScope()

Cogs::Core::Parallel::TaskScope::TaskScope ( TaskManager taskManager,
TaskId  group 
)
inline

Definition at line 31 of file Parallel.h.

◆ ~TaskScope()

Cogs::Core::Parallel::TaskScope::~TaskScope ( )
inline

Definition at line 33 of file Parallel.h.

Member Function Documentation

◆ Wait()

void Cogs::Core::Parallel::TaskScope::Wait ( )
inline

Definition at line 34 of file Parallel.h.

Member Data Documentation

◆ group

TaskId Cogs::Core::Parallel::TaskScope::group = NoTask
private

Definition at line 37 of file Parallel.h.

◆ taskManager

TaskManager* Cogs::Core::Parallel::TaskScope::taskManager = nullptr
private

Definition at line 36 of file Parallel.h.


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