diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1997-01-15 04:46:16 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1997-01-15 04:46:16 +0000 |
commit | e6e635b3036e35b855464e194dff5853ef242cf4 (patch) | |
tree | 6f398d0692217483af838fc730be6ef1675bcc44 /ace/Timer_Queue.h | |
parent | 9f89bf91b69b0558082e0a3c56638b746088bd10 (diff) | |
download | ATCD-e6e635b3036e35b855464e194dff5853ef242cf4.tar.gz |
foo
Diffstat (limited to 'ace/Timer_Queue.h')
-rw-r--r-- | ace/Timer_Queue.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/ace/Timer_Queue.h b/ace/Timer_Queue.h index f44abd3edaf..295adb1282e 100644 --- a/ace/Timer_Queue.h +++ b/ace/Timer_Queue.h @@ -38,7 +38,7 @@ class ACE_Export ACE_Timer_Node friend class ACE_Timer_Heap; friend class ACE_Timer_Heap_Iterator; - // = Initialization method. + // = Initialization methods. ACE_Timer_Node (ACE_Event_Handler *h, const void *a, const ACE_Time_Value &t, @@ -47,6 +47,9 @@ class ACE_Export ACE_Timer_Node int timer_id); // Constructor. + ACE_Timer_Node (void); + // Default constructor. + ACE_Event_Handler *handler_; // Handler to invoke <handle_timeout> on when a timeout occurs. @@ -183,6 +186,12 @@ protected: virtual ACE_Timer_Queue_Iterator &iterator (void) = 0; // Returns a pointer to this <ACE_Timer_Queue>'s iterator. + virtual ACE_Timer_Node *alloc_node (void) = 0; + // Factory method that allocates a new node. + + virtual void free_node (ACE_Timer_Node *) = 0; + // Factory method that frees a previously allocated node. + #if defined (ACE_MT_SAFE) ACE_Recursive_Thread_Mutex lock_; // Synchronization variable for the MT_SAFE ACE_Reactor |