Public Member Functions | Private Types | Private Attributes | List of all members
boost::threadpool::resize_controller< Pool > Class Template Reference

SizePolicyController which allows resizing. More...

#include <size_policies.hpp>

Public Member Functions

bool resize (size_t worker_count)
 
 resize_controller (size_policy_type &policy, shared_ptr< Pool > pool)
 

Private Types

typedef Pool::size_policy_type size_policy_type
 

Private Attributes

reference_wrapper< size_policy_typem_policy
 
shared_ptr< Pool > m_pool
 to make sure that the pool is alive (the policy pointer is valid) as long as the controller exists More...
 

Detailed Description

template<typename Pool>
class boost::threadpool::resize_controller< Pool >

SizePolicyController which allows resizing.

Parameters
PoolThe pool's core type.

Definition at line 43 of file size_policies.hpp.

Member Typedef Documentation

template<typename Pool >
typedef Pool::size_policy_type boost::threadpool::resize_controller< Pool >::size_policy_type
private

Definition at line 45 of file size_policies.hpp.

Constructor & Destructor Documentation

template<typename Pool >
boost::threadpool::resize_controller< Pool >::resize_controller ( size_policy_type policy,
shared_ptr< Pool >  pool 
)
inline

Definition at line 50 of file size_policies.hpp.

Member Function Documentation

template<typename Pool >
bool boost::threadpool::resize_controller< Pool >::resize ( size_t  worker_count)
inline

Definition at line 56 of file size_policies.hpp.

Member Data Documentation

template<typename Pool >
reference_wrapper<size_policy_type> boost::threadpool::resize_controller< Pool >::m_policy
private

Definition at line 46 of file size_policies.hpp.

template<typename Pool >
shared_ptr<Pool> boost::threadpool::resize_controller< Pool >::m_pool
private

to make sure that the pool is alive (the policy pointer is valid) as long as the controller exists

Definition at line 47 of file size_policies.hpp.


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


asr_descriptor_surface_based_recognition
Author(s): Allgeyer Tobias, Hutmacher Robin, Mei├čner Pascal
autogenerated on Mon Dec 16 2019 03:31:16