|
| ACE_Timer_Wheel_Iterator_T (Wheel &) |
| Constructor.
|
|
virtual | ~ACE_Timer_Wheel_Iterator_T () |
| Destructor.
|
|
virtual void | first () |
| Positions the iterator at the earliest node in the Timer Queue.
|
|
virtual void | next () |
| Positions the iterator at the next node in the Timer Queue.
|
|
virtual bool | isdone () const |
| Returns true when there are no more nodes in the sequence.
|
|
virtual ACE_Timer_Node_T< TYPE > * | item () |
| Returns the node at the current position in the sequence.
|
|
| ACE_Timer_Queue_Iterator_T ()=default |
| Constructor.
|
|
virtual | ~ACE_Timer_Queue_Iterator_T () |
| Destructor.
|
|
virtual void | first ()=0 |
| Positions the iterator at the earliest node in the Timer Queue.
|
|
virtual void | next ()=0 |
| Positions the iterator at the next node in the Timer Queue.
|
|
virtual bool | isdone () const =0 |
| Returns true when there are no more nodes in the sequence.
|
|
virtual ACE_Timer_Node_T< TYPE > * | item ()=0 |
| Returns the node at the current position in the sequence.
|
|
template<class TYPE, class FUNCTOR, class ACE_LOCK, typename TIME_POLICY = ACE_Default_Time_Policy>
class ACE_Timer_Wheel_Iterator_T< TYPE, FUNCTOR, ACE_LOCK, TIME_POLICY >
Iterates over an ACE_Timer_Wheel.
This is a generic iterator that can be used to visit every node of a timer queue. Be aware that it doesn't traverse in the order of timeout values.
template<class TYPE , class FUNCTOR , class ACE_LOCK , typename TIME_POLICY >
Positions the iterator at the earliest node in the Timer Queue.
Positions the iterator at the first position in the timing wheel that contains something. spoke_ will be set to the spoke position of this entry and current_node_ will point to the first entry in that spoke.
If the wheel is empty, spoke_ will be equal timer_wheel_.spoke_count_ and current_node_ would be 0.
Implements ACE_Timer_Queue_Iterator_T< TYPE >.