Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members

QueueGuard Class Reference

#include <GenericQueue.hpp>

Inheritance diagram for QueueGuard:

epi::node::MailBoxGuard epi::node::ComposedGuard epi::node::MatchingCommandGuard epi::node::PatternMatchingGuard List of all members.

Public Member Functions

virtual bool check (void *elem)

Detailed Description

Predicate to explore the queue. Implement the method check that analizes the elements of the queue.


Member Function Documentation

virtual bool QueueGuard::check void *  elem  )  [inline, virtual]
 

callback with the predicate of the guard. FIXME: I use void* because I don't known how do this with templates :(

Parameters:
elem one element of the queue.
Returns:
true if the element complaints the predicate and must be poped from the queue and returned from the queue. False to test next element in queue

Reimplemented in epi::node::MailBoxGuard.


The documentation for this class was generated from the following file:
Generated on Wed Mar 30 22:04:43 2005 for EPI by doxygen 1.3.4