|
BitMagic-C++
|
Basic implementation for collection of tasks for parallel execution. More...
#include <bmtask.h>


Public Types | |
| typedef BVAlloc | bv_allocator_type |
| typedef task_batch_base::size_type | size_type |
| typedef std::vector< bm::task_descr > | task_vector_type |
| Public Types inherited from bm::task_batch_base | |
| typedef unsigned | size_type |
Public Member Functions | |
| virtual size_type | size () const BMNOEXCEPT |
| task_batch_base intreface implementation | |
| virtual bm::task_descr * | get_task (size_type task_idx) |
| Get task by index in the batch. | |
| task_vector_type & | get_task_vector () BMNOEXCEPT |
| Get access to internal task vector. | |
| const task_vector_type & | get_task_vector () const BMNOEXCEPT |
| void | add (task_function_t f, void *argptr) |
| Public Member Functions inherited from bm::task_batch_base | |
| virtual | ~task_batch_base () |
Protected Attributes | |
| task_vector_type | task_vect_ |
| list of tasks | |
Basic implementation for collection of tasks for parallel execution.
| typedef BVAlloc bm::task_batch< BVAlloc >::bv_allocator_type |
| typedef task_batch_base::size_type bm::task_batch< BVAlloc >::size_type |
| typedef std::vector<bm::task_descr> bm::task_batch< BVAlloc >::task_vector_type |
|
inline |
Definition at line 172 of file bmtask.h.
Referenced by bm::compute_sim_matrix_plan_builder< BV >::build_plan(), and bm::optimize_plan_builder< SVect, Lock >::build_plan().
|
inlinevirtual |
Get task by index in the batch.
| task_idx | - task index in the batch |
Implements bm::task_batch_base.
Definition at line 160 of file bmtask.h.
Referenced by bm::thread_pool_executor< TPool >::run().
|
inline |
Get access to internal task vector.
Definition at line 168 of file bmtask.h.
Referenced by bm::compute_sim_matrix_plan_builder< BV >::build_plan(), bm::optimize_plan_builder< SVect, Lock >::build_plan(), and bm::sv_serialization_plan_builder< SV >::build_plan().
|
inline |
|
inlinevirtual |
task_batch_base intreface implementation
Implements bm::task_batch_base.
Definition at line 158 of file bmtask.h.
Referenced by bm::thread_pool_executor< TPool >::run().
|
protected |