TwiceAsNice  2019-02-18
Public Member Functions | Private Attributes | List of all members
Nice::DispatcherThreadPool< Task, SchedulingPolicy >::Worker Class Reference

#include <DispatcherThreadPool.hh>

Inheritance diagram for Nice::DispatcherThreadPool< Task, SchedulingPolicy >::Worker:
Inheritance graph
Collaboration diagram for Nice::DispatcherThreadPool< Task, SchedulingPolicy >::Worker:
Collaboration graph

Public Member Functions

 Worker (PoolType *_pool)
 
 ~Worker ()
 
virtual void run ()
 
 Worker (PoolType *_pool)
 
 ~Worker ()
 
virtual void run ()
 
- Public Member Functions inherited from Nice::Thread
 Thread ()
 
virtual ~Thread ()
 
IceUtil::ThreadControl start (size_t _stackSize=0, int prio=-1, int schedpolicy=-1, cpu_set_t *mask=0)
 
virtual void terminate ()
 
virtual bool terminated ()
 
virtual void cancel ()
 cancels a thread - this will throw an unknown exception More...
 
virtual void wait ()
 
virtual void sleep (const Nice::Time &_t)
 
virtual void yield ()
 
virtual void wakeupAt (const Nice::Time &_t)
 
 Thread ()
 
virtual ~Thread ()
 
IceUtil::ThreadControl start (size_t _stackSize=0, int prio=-1, int schedpolicy=-1, cpu_set_t *mask=0)
 
virtual void terminate ()
 
virtual bool terminated ()
 
virtual void cancel ()
 cancels a thread - this will throw an unknown exception More...
 
virtual void wait ()
 
virtual void sleep (const Nice::Time &_t)
 
virtual void yield ()
 
virtual void wakeupAt (const Nice::Time &_t)
 

Private Attributes

PoolTypem_pool
 

Additional Inherited Members

- Protected Types inherited from Nice::Thread
enum  STATE {
  VALID, TERMINATED, CANCELED, VALID,
  TERMINATED, CANCELED
}
 
enum  STATE {
  VALID, TERMINATED, CANCELED, VALID,
  TERMINATED, CANCELED
}
 
- Protected Attributes inherited from Nice::Thread
Nice::Atomic< boolm_terminated
 

Constructor & Destructor Documentation

◆ Worker() [1/2]

template<typename Task , template< typename > class SchedulingPolicy>
Nice::DispatcherThreadPool< Task, SchedulingPolicy >::Worker::Worker ( PoolType _pool)
inline

◆ ~Worker() [1/2]

template<typename Task , template< typename > class SchedulingPolicy>
Nice::DispatcherThreadPool< Task, SchedulingPolicy >::Worker::~Worker ( )
inline

◆ Worker() [2/2]

template<typename Task , template< typename > class SchedulingPolicy>
Nice::DispatcherThreadPool< Task, SchedulingPolicy >::Worker::Worker ( PoolType _pool)
inline

◆ ~Worker() [2/2]

template<typename Task , template< typename > class SchedulingPolicy>
Nice::DispatcherThreadPool< Task, SchedulingPolicy >::Worker::~Worker ( )
inline

Member Function Documentation

◆ run() [1/2]

template<typename Task , template< typename > class SchedulingPolicy>
virtual void Nice::DispatcherThreadPool< Task, SchedulingPolicy >::Worker::run ( )
inlinevirtual

◆ run() [2/2]

template<typename Task , template< typename > class SchedulingPolicy>
virtual void Nice::DispatcherThreadPool< Task, SchedulingPolicy >::Worker::run ( )
inlinevirtual

Member Data Documentation

◆ m_pool

template<typename Task , template< typename > class SchedulingPolicy>
PoolType * Nice::DispatcherThreadPool< Task, SchedulingPolicy >::Worker::m_pool
private

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