| 
    Intel(R) Threading Building Blocks Doxygen Documentation
    version 4.2.3
    
   | 
 
Public Member Functions | |
| stage_task (pipeline &pipeline) | |
| Construct stage_task for first stage in a pipeline.  More... | |
| stage_task (pipeline &pipeline, filter *filter_, const task_info &info) | |
| Construct stage_task for a subsequent stage in a pipeline.  More... | |
| void | reset () | 
| Roughly equivalent to the constructor of input stage task.  More... | |
| task * | execute () __TBB_override | 
| The virtual task execution method.  More... | |
| void | spawn_stage_task (const task_info &info) | 
| Creates and spawns stage_task from task_info.  More... | |
  Public Member Functions inherited from tbb::task | |
| virtual | ~task () | 
| Destructor.  More... | |
| internal::allocate_continuation_proxy & | allocate_continuation () | 
| Returns proxy for overloaded new that allocates a continuation task of *this.  More... | |
| internal::allocate_child_proxy & | allocate_child () | 
| Returns proxy for overloaded new that allocates a child task of *this.  More... | |
| void | recycle_as_continuation () | 
| Change this to be a continuation of its former self.  More... | |
| void | recycle_as_safe_continuation () | 
| Recommended to use, safe variant of recycle_as_continuation.  More... | |
| void | recycle_as_child_of (task &new_parent) | 
| Change this to be a child of new_parent.  More... | |
| void | recycle_to_reexecute () | 
| Schedule this for reexecution after current execute() returns.  More... | |
| void | set_ref_count (int count) | 
| Set reference count.  More... | |
| void | increment_ref_count () | 
| Atomically increment reference count.  More... | |
| int | add_ref_count (int count) | 
| Atomically adds to reference count and returns its new value.  More... | |
| int | decrement_ref_count () | 
| Atomically decrement reference count and returns its new value.  More... | |
| void | spawn_and_wait_for_all (task &child) | 
| Similar to spawn followed by wait_for_all, but more efficient.  More... | |
| void __TBB_EXPORTED_METHOD | spawn_and_wait_for_all (task_list &list) | 
| Similar to spawn followed by wait_for_all, but more efficient.  More... | |
| void | wait_for_all () | 
| Wait for reference count to become one, and set reference count to zero.  More... | |
| task * | parent () const | 
| task on whose behalf this task is working, or NULL if this is a root.  More... | |
| void | set_parent (task *p) | 
| sets parent task pointer to specified value  More... | |
| task_group_context * | context () | 
| This method is deprecated and will be removed in the future.  More... | |
| task_group_context * | group () | 
| Pointer to the task group descriptor.  More... | |
| bool | is_stolen_task () const | 
| True if task was stolen from the task pool of another thread.  More... | |
| bool | is_enqueued_task () const | 
| True if the task was enqueued.  More... | |
| state_type | state () const | 
| Current execution state.  More... | |
| int | ref_count () const | 
| The internal reference count.  More... | |
| bool __TBB_EXPORTED_METHOD | is_owned_by_current_thread () const | 
| Obsolete, and only retained for the sake of backward compatibility. Always returns true.  More... | |
| void | set_affinity (affinity_id id) | 
| Set affinity for this task.  More... | |
| affinity_id | affinity () const | 
| Current affinity of this task.  More... | |
| virtual void __TBB_EXPORTED_METHOD | note_affinity (affinity_id id) | 
| Invoked by scheduler to notify task that it ran on unexpected thread.  More... | |
| void __TBB_EXPORTED_METHOD | change_group (task_group_context &ctx) | 
| Moves this task from its current group into another one.  More... | |
| bool | cancel_group_execution () | 
| Initiates cancellation of all tasks in this cancellation group and its subordinate groups.  More... | |
| bool | is_cancelled () const | 
| Returns true if the context has received cancellation request.  More... | |
| __TBB_DEPRECATED void | set_group_priority (priority_t p) | 
| Changes priority of the task group this task belongs to.  More... | |
| __TBB_DEPRECATED priority_t | group_priority () const | 
| Retrieves current priority of the task group this task belongs to.  More... | |
  Public Member Functions inherited from tbb::internal::task_info | |
| void | reset () | 
| Set to initial state (no object, no token)  More... | |
Private Attributes | |
| pipeline & | my_pipeline | 
| filter * | my_filter | 
| bool | my_at_start | 
| True if this task has not yet read the input.  More... | |
Friends | |
| class | tbb::pipeline | 
Additional Inherited Members | |
  Public Types inherited from tbb::task | |
| enum | state_type {  executing, reexecute, ready, allocated, freed, recycle }  | 
| Enumeration of task states that the scheduler considers.  More... | |
| typedef internal::affinity_id | affinity_id | 
| An id as used for specifying affinity.  More... | |
  Static Public Member Functions inherited from tbb::task | |
| static internal::allocate_root_proxy | allocate_root () | 
| Returns proxy for overloaded new that allocates a root task.  More... | |
| static internal::allocate_root_with_context_proxy | allocate_root (task_group_context &ctx) | 
| Returns proxy for overloaded new that allocates a root task associated with user supplied context.  More... | |
| static void | spawn_root_and_wait (task &root) | 
| Spawn task allocated by allocate_root, wait for it to complete, and deallocate it.  More... | |
| static void | spawn_root_and_wait (task_list &root_list) | 
| Spawn root tasks on list and wait for all of them to finish.  More... | |
| static void | enqueue (task &t) | 
| Enqueue task for starvation-resistant execution.  More... | |
| static void | enqueue (task &t, priority_t p) | 
| Enqueue task for starvation-resistant execution on the specified priority level.  More... | |
| static void | enqueue (task &t, task_arena &arena, priority_t p=priority_t(0)) | 
| Enqueue task in task_arena.  More... | |
| static task &__TBB_EXPORTED_FUNC | self () | 
| The innermost task being executed or destroyed by the current thread at the moment.  More... | |
  Public Attributes inherited from tbb::internal::task_info | |
| void * | my_object | 
| Token | my_token | 
| Invalid unless a task went through an ordered stage.  More... | |
| bool | my_token_ready | 
| False until my_token is set.  More... | |
| bool | is_valid | 
| True if my_object is valid.  More... | |
  Protected Member Functions inherited from tbb::task | |
| task () | |
| Default constructor.  More... | |
Definition at line 249 of file pipeline.cpp.
      
  | 
  inline | 
Construct stage_task for first stage in a pipeline.
Such a stage has not read any input yet.
Definition at line 260 of file pipeline.cpp.
References tbb::internal::task_info::reset().
Referenced by execute().
      
  | 
  inline | 
Construct stage_task for a subsequent stage in a pipeline.
Definition at line 268 of file pipeline.cpp.
      
  | 
  virtual | 
The virtual task execution method.
Implements tbb::task.
Definition at line 301 of file pipeline.cpp.
References __TBB_ASSERT, __TBB_PIPELINE_VERSION, tbb::filter::is_bound(), tbb::filter::is_ordered(), tbb::filter::is_serial(), ITT_NOTIFY, my_at_start, my_filter, tbb::filter::my_filter_mode, tbb::filter::my_input_buffer, tbb::internal::task_info::my_object, my_pipeline, tbb::internal::input_buffer::my_tls_end_of_input(), tbb::internal::task_info::my_token, tbb::internal::task_info::my_token_ready, tbb::filter::next_filter_in_pipeline, tbb::internal::input_buffer::note_done(), tbb::filter::object_may_be_null(), tbb::task::parent(), tbb::internal::input_buffer::put_token(), tbb::task::recycle_as_continuation(), reset(), tbb::internal::input_buffer::return_item(), stage_task(), sync_releasing, and tbb::filter::version_mask.
      
  | 
  inline | 
Roughly equivalent to the constructor of input stage task.
Definition at line 275 of file pipeline.cpp.
References my_at_start, my_filter, my_pipeline, and tbb::internal::task_info::reset().
Referenced by execute().
Creates and spawns stage_task from task_info.
Definition at line 293 of file pipeline.cpp.
      
  | 
  friend | 
Definition at line 251 of file pipeline.cpp.
      
  | 
  private | 
True if this task has not yet read the input.
Definition at line 255 of file pipeline.cpp.
      
  | 
  private | 
Definition at line 253 of file pipeline.cpp.
      
  | 
  private | 
Definition at line 252 of file pipeline.cpp.