GitHub Actions: Try MSVC builds with /std:c++17 and 20
[ACE_TAO.git] / ACE / ace / Timer_Hash.h
blob500bb28bd80481ea5f49bf0efebb32d5b927a256
1 /* -*- C++ -*- */
3 //=============================================================================
4 /**
5 * @file Timer_Hash.h
7 * @author Darrell Brunsch <brunsch@cs.wustl.edu>
8 */
9 //=============================================================================
12 #ifndef ACE_TIMER_HASH_H
13 #define ACE_TIMER_HASH_H
14 #include /**/ "ace/pre.h"
16 #include "ace/Timer_Hash_T.h"
17 #include "ace/Event_Handler_Handle_Timeout_Upcall.h"
19 #if !defined (ACE_LACKS_PRAGMA_ONCE)
20 # pragma once
21 #endif /* ACE_LACKS_PRAGMA_ONCE */
23 #include "ace/Timer_Heap_T.h"
24 #include "ace/Timer_List_T.h"
26 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
28 // The following typedef are here for ease of use
30 typedef ACE_Timer_Hash_Upcall <ACE_Event_Handler *,
31 ACE_Event_Handler_Handle_Timeout_Upcall,
32 ACE_SYNCH_RECURSIVE_MUTEX>
33 ACE_Hash_Upcall;
35 typedef ACE_Timer_List_T <ACE_Event_Handler *,
36 ACE_Hash_Upcall,
37 ACE_Null_Mutex>
38 ACE_Hash_Timer_List;
40 typedef ACE_Timer_Heap_T <ACE_Event_Handler *,
41 ACE_Hash_Upcall,
42 ACE_Null_Mutex>
43 ACE_Hash_Timer_Heap;
46 typedef ACE_Timer_Hash_T<ACE_Event_Handler *,
47 ACE_Event_Handler_Handle_Timeout_Upcall,
48 ACE_SYNCH_RECURSIVE_MUTEX,
49 ACE_Hash_Timer_List>
51 ACE_Timer_Hash;
53 typedef ACE_Timer_Hash_Iterator_T<ACE_Event_Handler *,
54 ACE_Event_Handler_Handle_Timeout_Upcall,
55 ACE_SYNCH_RECURSIVE_MUTEX,
56 ACE_Hash_Timer_List,
57 ACE_Default_Time_Policy>
58 ACE_Timer_Hash_Iterator;
60 typedef ACE_Timer_Hash_T<ACE_Event_Handler *,
61 ACE_Event_Handler_Handle_Timeout_Upcall,
62 ACE_SYNCH_RECURSIVE_MUTEX,
63 ACE_Hash_Timer_Heap>
64 ACE_Timer_Hash_Heap;
66 typedef ACE_Timer_Hash_Iterator_T<ACE_Event_Handler *,
67 ACE_Event_Handler_Handle_Timeout_Upcall,
68 ACE_SYNCH_RECURSIVE_MUTEX,
69 ACE_Hash_Timer_Heap>
70 ACE_Timer_Hash_Heap_Iterator;
72 ACE_END_VERSIONED_NAMESPACE_DECL
74 #include /**/ "ace/post.h"
75 #endif /* ACE_TIMER_HASH_H */