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

SizePolicyController which allows resizing. More...

#include <size_policies.hpp>

List of all members.

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_type
m_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

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 Thu Jun 6 2019 17:57:30