rpa::thread_tree< void, ThrMain > Class Template Reference

Executes the functor in a single sub-thread. More...

#include <synchro.h>

List of all members.

Public Types

typedef thread_copy< ThrMain > head_thread_type
typedef void iterator
typedef void iter_thread_type

Public Member Functions

 thread_tree (const ThrMain &thrMain)
 The head thread is copied.
thread_tree< void, void > sub_tree (void) const
 This returns the same tree without the top-level thread.
head_thread_typehead (void) const
 Same interface whether the head-thread is a pointer or a copy.

Private Attributes

head_thread_type_ptrThr
 This object will destroy itself after a join, in future::sync_end.


Detailed Description

template<class ThrMain>
class rpa::thread_tree< void, ThrMain >

Executes the functor in a single sub-thread.


Member Typedef Documentation

template<class ThrMain>
typedef thread_copy<ThrMain> rpa::thread_tree< void, ThrMain >::head_thread_type

template<class ThrMain>
typedef void rpa::thread_tree< void, ThrMain >::iter_thread_type

template<class ThrMain>
typedef void rpa::thread_tree< void, ThrMain >::iterator


Constructor & Destructor Documentation

template<class ThrMain>
rpa::thread_tree< void, ThrMain >::thread_tree ( const ThrMain &  thrMain  )  [inline]

The head thread is copied.


Member Function Documentation

template<class ThrMain>
head_thread_type* rpa::thread_tree< void, ThrMain >::head ( void   )  const [inline]

Same interface whether the head-thread is a pointer or a copy.

template<class ThrMain>
thread_tree<void,void> rpa::thread_tree< void, ThrMain >::sub_tree ( void   )  const [inline]

This returns the same tree without the top-level thread.


Member Data Documentation

template<class ThrMain>
head_thread_type* rpa::thread_tree< void, ThrMain >::_ptrThr [private]

This object will destroy itself after a join, in future::sync_end.


The documentation for this class was generated from the following file:
Generated on Tue Sep 25 10:20:38 2007 for rpa by  doxygen 1.4.7