tst_unbounded_alloc< ThrTree, IterBuf > Class Template Reference

Test with an unbounded output buffer. More...

List of all members.

Public Member Functions

 tst_unbounded_alloc (const ThrTree &aThrTree, IterBuf aIterBuf)
const char * what (void) const
template<class RangeT>
void operator() (const RangeT &aRng, ObjT::CounterT expectedCount, ListObjT &aLstOfObjs)
rpa::thr_nb_t thrs (void) const
 Number of threads.

Private Attributes

ThrTree _ThrTree
IterBuf _IterBuf


Detailed Description

template<class ThrTree, class IterBuf>
class tst_unbounded_alloc< ThrTree, IterBuf >

Test with an unbounded output buffer.


Constructor & Destructor Documentation

template<class ThrTree, class IterBuf>
tst_unbounded_alloc< ThrTree, IterBuf >::tst_unbounded_alloc ( const ThrTree &  aThrTree,
IterBuf  aIterBuf 
) [inline]


Member Function Documentation

template<class ThrTree, class IterBuf>
template<class RangeT>
void tst_unbounded_alloc< ThrTree, IterBuf >::operator() ( const RangeT &  aRng,
ObjT::CounterT  expectedCount,
ListObjT aLstOfObjs 
) [inline]

* 'obuf_iterator' does the same as 'back_inserter', but allows more parallelization. 'make_thread_tree' creates, out of any threads iterator, a 'thread_tree' object which is necessary for parallel execution. No mutex is necessary because the buffers have an unlimited size and will be flushed at the end of the execution.

template<class ThrTree, class IterBuf>
rpa::thr_nb_t tst_unbounded_alloc< ThrTree, IterBuf >::thrs ( void   )  const [inline]

Number of threads.

template<class ThrTree, class IterBuf>
const char* tst_unbounded_alloc< ThrTree, IterBuf >::what ( void   )  const [inline]


Member Data Documentation

template<class ThrTree, class IterBuf>
IterBuf tst_unbounded_alloc< ThrTree, IterBuf >::_IterBuf [private]

template<class ThrTree, class IterBuf>
ThrTree tst_unbounded_alloc< ThrTree, IterBuf >::_ThrTree [private]


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