ACE_Handle_Set
abstraction.
#include <ace/Handle_Set.h>
class ACE_Handle_Set_Iterator {
public:
ACE_Handle_Set_Iterator (const ACE_Handle_Set &hs);
ACE_HANDLE operator () (void);
void operator++ (void);
void dump (void) const;
ACE_ALLOC_HOOK_DECLARE;
private:
const ACE_Handle_Set &handles_;
u_int handle_index_;
int handle_index_;
int handle_index_;
u_long oldlsb_;
int word_num_;
int word_max_;
fd_mask word_val_;
u_long word_val_;
};
ACE_Handle_Set_Iterator (const ACE_Handle_Set &hs);
ACE_HANDLE operator () (void);
ACE_HANDLE
in the
Handle_Set
up to handle_set_.max_handle_
). When all the
handles have been seen returns ACE_INVALID_HANDLE
. Advances
the iterator automatically, so you need not call operator++
(which is now obsolete).
void operator++ (void);
void dump (void) const;
ACE_ALLOC_HOOK_DECLARE;
const ACE_Handle_Set &handles_;
Handle_Set
we are iterating through.
u_int handle_index_;
int handle_index_;
int handle_index_;
u_long oldlsb_;
int word_num_;
int word_max_;
fd_mask word_val_;
u_long word_val_;