Intel(R) Threading Building Blocks Doxygen Documentation  version 4.2.3
tbb::interface6::internal::concrete_filter< T, U, Body > Class Template Reference

#include <pipeline.h>

Collaboration diagram for tbb::interface6::internal::concrete_filter< T, U, Body >:

Public Member Functions

 concrete_filter (tbb::filter::mode filter_mode, const Body &body)
 

Private Types

typedef token_helper< T, use_allocator< T >::valuet_helper
 
typedef t_helper::pointer t_pointer
 
typedef token_helper< U, use_allocator< U >::valueu_helper
 
typedef u_helper::pointer u_pointer
 

Private Member Functions

voidoperator() (void *input) __TBB_override
 
void finalize (void *input) __TBB_override
 

Private Attributes

const Body & my_body
 

Detailed Description

template<typename T, typename U, typename Body>
class tbb::interface6::internal::concrete_filter< T, U, Body >

Definition at line 306 of file pipeline.h.

Member Typedef Documentation

◆ t_helper

template<typename T , typename U , typename Body >
typedef token_helper<T,use_allocator<T>::value> tbb::interface6::internal::concrete_filter< T, U, Body >::t_helper
private

Definition at line 424 of file pipeline.h.

◆ t_pointer

template<typename T , typename U , typename Body >
typedef t_helper::pointer tbb::interface6::internal::concrete_filter< T, U, Body >::t_pointer
private

Definition at line 425 of file pipeline.h.

◆ u_helper

template<typename T , typename U , typename Body >
typedef token_helper<U,use_allocator<U>::value> tbb::interface6::internal::concrete_filter< T, U, Body >::u_helper
private

Definition at line 426 of file pipeline.h.

◆ u_pointer

template<typename T , typename U , typename Body >
typedef u_helper::pointer tbb::interface6::internal::concrete_filter< T, U, Body >::u_pointer
private

Definition at line 427 of file pipeline.h.

Constructor & Destructor Documentation

◆ concrete_filter()

template<typename T , typename U , typename Body >
tbb::interface6::internal::concrete_filter< T, U, Body >::concrete_filter ( tbb::filter::mode  filter_mode,
const Body &  body 
)
inline

Definition at line 442 of file pipeline.h.

442 : filter(filter_mode), my_body(body) {}

Member Function Documentation

◆ finalize()

template<typename T , typename U , typename Body >
void tbb::interface6::internal::concrete_filter< T, U, Body >::finalize ( void input)
inlineprivate

Definition at line 436 of file pipeline.h.

436  {
437  t_pointer temp_input = t_helper::cast_from_void_ptr(input);
438  t_helper::destroy_token(temp_input);
439  }

◆ operator()()

template<typename T , typename U , typename Body >
void* tbb::interface6::internal::concrete_filter< T, U, Body >::operator() ( void input)
inlineprivate

Definition at line 429 of file pipeline.h.

429  {
430  t_pointer temp_input = t_helper::cast_from_void_ptr(input);
431  u_pointer output_u = u_helper::create_token(my_body(tbb::internal::move(t_helper::token(temp_input))));
432  t_helper::destroy_token(temp_input);
433  return u_helper::cast_to_void_ptr(output_u);
434  }

References tbb::move(), and tbb::interface6::internal::concrete_filter< T, U, Body >::my_body.

Here is the call graph for this function:

Member Data Documentation

◆ my_body


The documentation for this class was generated from the following file:
tbb::interface6::internal::concrete_filter::t_pointer
t_helper::pointer t_pointer
Definition: pipeline.h:425
tbb::interface6::internal::concrete_filter::my_body
const Body & my_body
Definition: pipeline.h:423
tbb::move
void move(tbb_thread &t1, tbb_thread &t2)
Definition: tbb_thread.h:319
tbb::interface6::internal::concrete_filter::u_pointer
u_helper::pointer u_pointer
Definition: pipeline.h:427

Copyright © 2005-2020 Intel Corporation. All Rights Reserved.

Intel, Pentium, Intel Xeon, Itanium, Intel XScale and VTune are registered trademarks or trademarks of Intel Corporation or its subsidiaries in the United States and other countries.

* Other names and brands may be claimed as the property of others.