Lockless Task Scheduler  v1.0a
A lockless task scheduler
Public Types | Public Member Functions | Public Attributes | List of all members
task_scheduler::base_task_graph_helper< TMemInterface > Class Template Reference
Inheritance diagram for task_scheduler::base_task_graph_helper< TMemInterface >:
Inheritance graph
[legend]
Collaboration diagram for task_scheduler::base_task_graph_helper< TMemInterface >:
Collaboration graph
[legend]

Public Types

typedef base_task< TMemInterface >::task_type task_type
 
typedef base_worker_task< TMemInterface >::worker_task_type worker_task_type
 
typedef std::basic_string< tchar_t, std::char_traits< tchar_t >, stl_allocator< tchar_t, TMemInterface > > string_type
 
typedef std::vector< task_type *, stl_allocator< task_type *, TMemInterface > > task_vector
 
typedef base_thread_pool< TMemInterface > thread_pool
 
typedef task_typetask_list
 
typedef std::function< void(task_type *, void *&) > traversal_function_type
 
typedef base_task_graph< TMemInterface > task_graph_type
 

Public Member Functions

 base_task_graph_helper (task_graph_type &_task_graph)
 Initializes a new instance of the base_task_graph_helper class. More...
 
void load (string_type _file_name)
 Loads the specified file name. More...
 
void setup_task (task_type *_task, uint32_t _task_file_field, string_type str)
 Setups the task. More...
 

Public Attributes

task_graph_typetask_graph
 The task graph More...
 

Constructor & Destructor Documentation

◆ base_task_graph_helper()

template<class TMemInterface >
task_scheduler::base_task_graph_helper< TMemInterface >::base_task_graph_helper ( task_graph_type _task_graph)

Initializes a new instance of the base_task_graph_helper class.

Parameters
_task_graphThe task graph.

Member Function Documentation

◆ load()

template<class TMemInterface >
void task_scheduler::base_task_graph_helper< TMemInterface >::load ( string_type  _file_name)

Loads the specified file name.

Parameters
_file_nameName of the file.

◆ setup_task()

template<class TMemInterface >
void task_scheduler::base_task_graph_helper< TMemInterface >::setup_task ( task_type _task,
uint32_t  _task_file_field,
string_type  str 
)

Setups the task.

Parameters
_taskThe task.
_task_file_fieldThe task file field.
strThe string.

Member Data Documentation

◆ task_graph

template<class TMemInterface >
task_graph_type& task_scheduler::base_task_graph_helper< TMemInterface >::task_graph

The task graph


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