ACE_Select_Reactor_Handler_Repository_Iterator Class Reference

Iterate through the ACE_Select_Reactor_Handler_Repository. More...

#include <Select_Reactor_Base.h>

Collaboration diagram for ACE_Select_Reactor_Handler_Repository_Iterator:

Collaboration graph
List of all members.

Public Member Functions

 ACE_Select_Reactor_Handler_Repository_Iterator (const ACE_Select_Reactor_Handler_Repository *s)
 ~ACE_Select_Reactor_Handler_Repository_Iterator (void)
int next (ACE_Event_Handler *&next_item)
int done (void) const
 Returns 1 when all items have been seen, else 0.
int advance (void)
void dump (void) const
 Dump the state of an object.

Public Attributes

 Declare the dynamic allocation hooks.

Private Attributes

const ACE_Select_Reactor_Handler_Repositoryrep_
 Reference to the Handler_Repository we are iterating over.
ssize_t current_
 Pointer to the current iteration level.

Detailed Description

Iterate through the ACE_Select_Reactor_Handler_Repository.

Constructor & Destructor Documentation

ACE_Select_Reactor_Handler_Repository_Iterator::ACE_Select_Reactor_Handler_Repository_Iterator ( const ACE_Select_Reactor_Handler_Repository s  ) 

ACE_INLINE ACE_Select_Reactor_Handler_Repository_Iterator::~ACE_Select_Reactor_Handler_Repository_Iterator ( void   ) 


Member Function Documentation

int ACE_Select_Reactor_Handler_Repository_Iterator::advance ( void   ) 

Move forward by one element in the set. Returns 0 when all the items in the set have been seen, else 1.

int ACE_Select_Reactor_Handler_Repository_Iterator::done ( void   )  const

Returns 1 when all items have been seen, else 0.

void ACE_Select_Reactor_Handler_Repository_Iterator::dump ( void   )  const

Dump the state of an object.

int ACE_Select_Reactor_Handler_Repository_Iterator::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.

Member Data Documentation


Declare the dynamic allocation hooks.

ssize_t ACE_Select_Reactor_Handler_Repository_Iterator::current_ [private]

Pointer to the current iteration level.

const ACE_Select_Reactor_Handler_Repository* ACE_Select_Reactor_Handler_Repository_Iterator::rep_ [private]

Reference to the Handler_Repository we are iterating over.

The documentation for this class was generated from the following files:
Generated on Fri Oct 6 15:23:41 2006 for ACE by  doxygen 1.4.7-1