NAME

ACE_Timer_Node - Maintains the state associated with a Timer entry.

SYNOPSIS

#include <ace/Timer_Queue.h>

class ACE_Timer_Node { public: friend class ACE_Timer_Queue; friend class ACE_Timer_List; friend class ACE_Timer_List_Iterator; friend class ACE_Timer_Heap; friend class ACE_Timer_Heap_Iterator; private: ACE_Timer_Node ( ACE_Event_Handler *h, const void *a, const ACE_Time_Value &t, const ACE_Time_Value &i, ACE_Timer_Node *n, int timer_id ); ACE_Timer_Node (void); ACE_Event_Handler *handler_; const void *arg_; ACE_Time_Value timer_value_; ACE_Time_Value interval_; ACE_Timer_Node *next_; int timer_id_; ACE_ALLOC_HOOK_DECLARE; void dump (void) const; };

PUBLIC MEMBERS

friend class ACE_Timer_Queue;

friend class ACE_Timer_List;

friend class ACE_Timer_List_Iterator;

friend class ACE_Timer_Heap;

friend class ACE_Timer_Heap_Iterator;

PRIVATE MEMBERS

ACE_Timer_Node (
    ACE_Event_Handler *h,
    const void *a,
    const ACE_Time_Value &t,
    const ACE_Time_Value &i,
    ACE_Timer_Node *n,
    int timer_id
    );

ACE_Timer_Node (void);

ACE_Event_Handler *handler_;

const void *arg_;

ACE_Time_Value timer_value_;

ACE_Time_Value interval_;

ACE_Timer_Node *next_;

int timer_id_;

ACE_ALLOC_HOOK_DECLARE;

void dump (void) const;

AUTHOR

Doug Schmidt

The use of friends should be replaced with accessors...

Initialization methods.

LIBRARY

ace