00001 // -*- C++ -*- 00002 00003 //============================================================================= 00004 /** 00005 * @file Timer_Queue.h 00006 * 00007 * $Id: Timer_Queue.h 69062 2005-10-28 23:55:10Z ossama $ 00008 * 00009 * @author Douglas C. Schmidt <schmidt@cs.wustl.edu> 00010 * @author Irfan Pyarali <irfan@cs.wustl.edu> 00011 */ 00012 //============================================================================= 00013 00014 #ifndef ACE_TIMER_QUEUE_H 00015 #define ACE_TIMER_QUEUE_H 00016 00017 #include /**/ "ace/pre.h" 00018 00019 #include "ace/Synch_Traits.h" 00020 00021 #if !defined (ACE_LACKS_PRAGMA_ONCE) 00022 # pragma once 00023 #endif /* ACE_LACKS_PRAGMA_ONCE */ 00024 00025 #include "ace/Timer_Queuefwd.h" 00026 #include "ace/Timer_Queue_T.h" 00027 #if defined (ACE_HAS_THREADS) 00028 # include "ace/Recursive_Thread_Mutex.h" 00029 #else 00030 # include "ace/Null_Mutex.h" 00031 #endif /* ACE_HAS_THREADS */ 00032 00033 ACE_BEGIN_VERSIONED_NAMESPACE_DECL 00034 00035 // The following typedef are here for ease of use and backward 00036 // compatibility. 00037 typedef ACE_Timer_Node_Dispatch_Info_T<ACE_Event_Handler *> 00038 ACE_Timer_Node_Dispatch_Info; 00039 00040 typedef ACE_Timer_Node_T<ACE_Event_Handler *> 00041 ACE_Timer_Node; 00042 00043 typedef ACE_Timer_Queue_Iterator_T<ACE_Event_Handler *, 00044 ACE_Event_Handler_Handle_Timeout_Upcall<ACE_SYNCH_RECURSIVE_MUTEX>, 00045 ACE_SYNCH_RECURSIVE_MUTEX> 00046 ACE_Timer_Queue_Iterator; 00047 00048 ACE_END_VERSIONED_NAMESPACE_DECL 00049 00050 #include /**/ "ace/post.h" 00051 00052 #endif /* ACE_TIMER_QUEUE_H */