NAME
ACE_Handler_Repository_Iterator
SYNOPSIS
#include <ace/Reactor.h>
class ACE_Handler_Repository_Iterator
{
public:
ACE_Handler_Repository_Iterator (const ACE_Handler_Repository &s);
int next (ACE_Event_Handler *&next_item);
int advance (void);
void dump (void) const;
ACE_ALLOC_HOOK_DECLARE;
private:
const ACE_Handler_Repository &rep_;
ssize_t current_;
};
Initialization method.
ACE_Handler_Repository_Iterator (const ACE_Handler_Repository &s);
Iteration methods.
int next (ACE_Event_Handler *&next_item);
Pass back the next_item that hasn't been seen in the Set.
Returns 0 when all items have been seen, else 1.
int advance (void);
Move forward by one element in the set.
void dump (void) const;
Dump the state of an object.
ACE_ALLOC_HOOK_DECLARE;
Declare the dynamic allocation hooks.
AUTHOR
Doug Schmidt
LIBRARY
ace