Intel(R) Threading Building Blocks Doxygen Documentation  version 4.2.3
tbb::interface6::concurrent_lru_cache< key_type, value_type, value_functor_type >::aggregator_operation Struct Reference
Inheritance diagram for tbb::interface6::concurrent_lru_cache< key_type, value_type, value_functor_type >::aggregator_operation:
Collaboration diagram for tbb::interface6::concurrent_lru_cache< key_type, value_type, value_functor_type >::aggregator_operation:

Public Types

enum  e_op_type { op_retive, op_signal_end_of_usage }
 

Public Member Functions

 aggregator_operation (e_op_type operation_type)
 
void cast_and_handle (self_type &container)
 

Public Attributes

e_op_type my_operation_type
 

Detailed Description

template<typename key_type, typename value_type, typename value_functor_type = value_type (*)(key_type)>
struct tbb::interface6::concurrent_lru_cache< key_type, value_type, value_functor_type >::aggregator_operation

Definition at line 195 of file concurrent_lru_cache.h.

Member Enumeration Documentation

template<typename key_type , typename value_type , typename value_functor_type = value_type (*)(key_type)>
enum tbb::interface6::concurrent_lru_cache::aggregator_operation::e_op_type

Constructor & Destructor Documentation

template<typename key_type , typename value_type , typename value_functor_type = value_type (*)(key_type)>
tbb::interface6::concurrent_lru_cache< key_type, value_type, value_functor_type >::aggregator_operation::aggregator_operation ( e_op_type  operation_type)
inline

Member Function Documentation

template<typename key_type , typename value_type , typename value_functor_type = value_type (*)(key_type)>
void tbb::interface6::concurrent_lru_cache< key_type, value_type, value_functor_type >::aggregator_operation::cast_and_handle ( self_type container)
inline

Definition at line 201 of file concurrent_lru_cache.h.

Referenced by tbb::interface6::concurrent_lru_cache< key_type, value_type, value_functor_type >::handle_operations().

201  {
203  static_cast<retrieve_aggregator_operation*>(this)->handle(container);
204  }else{
205  static_cast<signal_end_of_usage_aggregator_operation*>(this)->handle(container);
206  }
207  }

Here is the caller graph for this function:

Member Data Documentation

template<typename key_type , typename value_type , typename value_functor_type = value_type (*)(key_type)>
e_op_type tbb::interface6::concurrent_lru_cache< key_type, value_type, value_functor_type >::aggregator_operation::my_operation_type

Definition at line 199 of file concurrent_lru_cache.h.


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

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.