Public Types | Public Member Functions | List of all members
ThreadPool< Worker > Class Template Reference
Inheritance diagram for ThreadPool< Worker >:
Inheritance graph
[legend]

Public Types

typedef Threads::const_iterator const_iterator
 
typedef Threads::iterator iterator
 
typedef std::vector< std::pair< boost::shared_ptr< Worker >, boost::shared_ptr< ThreadInterface > > > Threads
 
typedef Threads::value_type value_type
 

Public Member Functions

bool start ()
 
bool stop ()
 
template<typename Arg1 >
 ThreadPool (int threads, int scheduler, int priority, Seconds period, const std::string &name, const Arg1 &arg1)
 
 ~ThreadPool ()
 

Detailed Description

template<class Worker>
class ThreadPool< Worker >

Definition at line 119 of file buffers_test.cpp.

Member Typedef Documentation

template<class Worker>
typedef Threads::const_iterator ThreadPool< Worker >::const_iterator

Definition at line 125 of file buffers_test.cpp.

template<class Worker>
typedef Threads::iterator ThreadPool< Worker >::iterator

Definition at line 124 of file buffers_test.cpp.

template<class Worker>
typedef std::vector< std::pair< boost::shared_ptr<Worker>, boost::shared_ptr<ThreadInterface> > > ThreadPool< Worker >::Threads

Definition at line 122 of file buffers_test.cpp.

template<class Worker>
typedef Threads::value_type ThreadPool< Worker >::value_type

Definition at line 123 of file buffers_test.cpp.

Constructor & Destructor Documentation

template<class Worker>
template<typename Arg1 >
ThreadPool< Worker >::ThreadPool ( int  threads,
int  scheduler,
int  priority,
Seconds  period,
const std::string &  name,
const Arg1 &  arg1 
)
inline

Definition at line 128 of file buffers_test.cpp.

template<class Worker>
ThreadPool< Worker >::~ThreadPool ( )
inline

Definition at line 138 of file buffers_test.cpp.

Member Function Documentation

template<class Worker>
bool ThreadPool< Worker >::start ( void  )
inline

Definition at line 147 of file buffers_test.cpp.

template<class Worker>
bool ThreadPool< Worker >::stop ( void  )
inline

Definition at line 156 of file buffers_test.cpp.


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


rtt
Author(s): RTT Developers
autogenerated on Fri Oct 25 2019 03:59:46