ACE 8.0.1
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Public Attributes | Private Attributes | List of all members
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
[legend]

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 () const
 Returns true when all items have been seen, else false.
 
bool advance ()
 
void dump () 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.
 

Detailed Description

Iterate through the ACE_Select_Reactor_Handler_Repository.

Member Typedef Documentation

◆ const_base_iterator

Constructor & Destructor Documentation

◆ ACE_Select_Reactor_Handler_Repository_Iterator()

ACE_Select_Reactor_Handler_Repository_Iterator::ACE_Select_Reactor_Handler_Repository_Iterator ( ACE_Select_Reactor_Handler_Repository const * s)
explicit

Member Function Documentation

◆ advance()

bool ACE_Select_Reactor_Handler_Repository_Iterator::advance ( )

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

◆ done()

bool ACE_Select_Reactor_Handler_Repository_Iterator::done ( ) const
inline

Returns true when all items have been seen, else false.

◆ dump()

void ACE_Select_Reactor_Handler_Repository_Iterator::dump ( ) const

Dump the state of an object.

◆ next()

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.

Member Data Documentation

◆ ACE_ALLOC_HOOK_DECLARE

ACE_Select_Reactor_Handler_Repository_Iterator::ACE_ALLOC_HOOK_DECLARE

Declare the dynamic allocation hooks.

◆ current_

const_base_iterator ACE_Select_Reactor_Handler_Repository_Iterator::current_
private

Pointer to the current iteration level.

◆ rep_

ACE_Select_Reactor_Handler_Repository const* const 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: