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 |
rpa::pipe_circular< Container, CondVar >::reader::reader | ( | pipe_circular * | pipPtr = NULL |
) | [inline] |
bool rpa::pipe_circular< Container, CondVar >::reader::operator== | ( | const reader & | rdRef | ) | const [inline] |
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.
pipe_circular* rpa::pipe_circular< Container, CondVar >::reader::_pipe [private] |