ACE
6.1.0
|
Iterate through the ACE_Select_Reactor_Handler_Repository. More...
#include <Select_Reactor_Base.h>
Public Types | |
typedef ACE_Select_Reactor_Handler_Repository::map_type::const_iterator | const_base_iterator |
Public Member Functions | |
ACE_Select_Reactor_Handler_Repository_Iterator (ACE_Select_Reactor_Handler_Repository const *s) | |
bool | next (ACE_Event_Handler *&next_item) |
bool | done (void) const |
Returns true when all items have been seen, else false . | |
bool | advance (void) |
void | dump (void) const |
Dump the state of an object. | |
Public Attributes | |
ACE_ALLOC_HOOK_DECLARE | |
Declare the dynamic allocation hooks. | |
Private Attributes | |
ACE_Select_Reactor_Handler_Repository const *const | rep_ |
Reference to the Handler_Repository we are iterating over. | |
const_base_iterator | current_ |
Pointer to the current iteration level. |
Iterate through the ACE_Select_Reactor_Handler_Repository.
typedef ACE_Select_Reactor_Handler_Repository::map_type::const_iterator ACE_Select_Reactor_Handler_Repository_Iterator::const_base_iterator |
ACE_Select_Reactor_Handler_Repository_Iterator::ACE_Select_Reactor_Handler_Repository_Iterator | ( | ACE_Select_Reactor_Handler_Repository const * | s | ) | [explicit] |
bool ACE_Select_Reactor_Handler_Repository_Iterator::advance | ( | void | ) |
Move forward by one element in the set. Returns false
when all the items in the set have been seen, else true
.
bool ACE_Select_Reactor_Handler_Repository_Iterator::done | ( | void | ) | const [inline] |
Returns true
when all items have been seen, else false
.
void ACE_Select_Reactor_Handler_Repository_Iterator::dump | ( | void | ) | const |
Dump the state of an object.
bool 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 false
when all items have been seen, else true
.
Declare the dynamic allocation hooks.
Pointer to the current iteration level.
ACE_Select_Reactor_Handler_Repository const* const ACE_Select_Reactor_Handler_Repository_Iterator::rep_ [private] |
Reference to the Handler_Repository we are iterating over.