rpa::pipe_circular< Container, CondVar >::reader Class Reference

Template param for pipe_itr, an iterator in pipelines'underlying container. More...

List of all members.

Public Member Functions

bool pop_if_present (value_type &valRef)
 If the pipe_circular is 'done', the remaining elements are processed first.
 reader (pipe_circular *pipPtr=NULL)
bool operator== (const reader &rdRef) const

Private Attributes

pipe_circular_pipe


Detailed Description

template<class Container, class CondVar>
class rpa::pipe_circular< Container, CondVar >::reader

Template param for pipe_itr, an iterator in pipelines'underlying container.


Constructor & Destructor Documentation

template<class Container, class CondVar>
rpa::pipe_circular< Container, CondVar >::reader::reader ( pipe_circular pipPtr = NULL  )  [inline]


Member Function Documentation

template<class Container, class CondVar>
bool rpa::pipe_circular< Container, CondVar >::reader::operator== ( const reader rdRef  )  const [inline]

template<class Container, class CondVar>
bool rpa::pipe_circular< Container, CondVar >::reader::pop_if_present ( value_type valRef  )  [inline]

If the pipe_circular is 'done', the remaining elements are processed first.

This wraps the read iterator to the beginning if the end is reached.

If there are elements, they must be processed anyway.

This notifies only one thread because only one element is removed, and can be filled with a new element.


Member Data Documentation

template<class Container, class CondVar>
pipe_circular* rpa::pipe_circular< Container, CondVar >::reader::_pipe [private]


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