Index   Main   Namespaces   Classes   Hierarchy   Annotated   Files   Compound   Global   Pages  
Public Member Functions | Private Attributes

SgThreadedWorker< I, O, W >::Thread Class Reference

Copyable object run in a boost::thread. More...

List of all members.

Public Member Functions

 Thread (std::size_t threadId, W &worker, SgThreadedWorker< I, O, W > &threadedWork)
void operator() ()

Private Attributes

std::size_t m_id
W & m_worker
SgThreadedWorker< I, O, W > & m_boss

Detailed Description

template<typename I, typename O, typename W>
class SgThreadedWorker< I, O, W >::Thread

Copyable object run in a boost::thread.

Definition at line 39 of file SgThreadedWorker.h.


Constructor & Destructor Documentation

template<typename I , typename O , typename W >
SgThreadedWorker< I, O, W >::Thread::Thread ( std::size_t  threadId,
W &  worker,
SgThreadedWorker< I, O, W > &  threadedWork 
)

Definition at line 125 of file SgThreadedWorker.h.


Member Function Documentation

template<typename I , typename O , typename W >
void SgThreadedWorker< I, O, W >::Thread::operator() (  ) 

Member Data Documentation

template<typename I, typename O, typename W>
SgThreadedWorker<I,O,W>& SgThreadedWorker< I, O, W >::Thread::m_boss [private]

Definition at line 53 of file SgThreadedWorker.h.

Referenced by SgThreadedWorker< I, O, W >::Thread::operator()().

template<typename I, typename O, typename W>
std::size_t SgThreadedWorker< I, O, W >::Thread::m_id [private]

Definition at line 49 of file SgThreadedWorker.h.

template<typename I, typename O, typename W>
W& SgThreadedWorker< I, O, W >::Thread::m_worker [private]

Definition at line 51 of file SgThreadedWorker.h.

Referenced by SgThreadedWorker< I, O, W >::Thread::operator()().


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


Sun Mar 13 2011 Doxygen 1.7.1