Changes to attempt to silence bcc64x
[ACE_TAO.git] / ACE / ace / Auto_Event.cpp
blob721df5c2f9581abb9b6b8a2ca4f0c3cb9e842a54
1 #include "ace/Auto_Event.h"
3 #if defined (ACE_HAS_ALLOC_HOOKS)
4 # include "ace/Malloc_Base.h"
5 #endif /* ACE_HAS_ALLOC_HOOKS */
7 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
9 ACE_ALLOC_HOOK_DEFINE_Tc(ACE_Auto_Event_T)
11 template <class TIME_POLICY>
12 ACE_Auto_Event_T<TIME_POLICY>::ACE_Auto_Event_T (
13 int initial_state,
14 int type,
15 const char *name,
16 void *arg)
17 : ACE_Event_T<TIME_POLICY> (0,
18 initial_state,
19 type,
20 ACE_TEXT_CHAR_TO_TCHAR (name),
21 arg)
25 #if defined (ACE_HAS_WCHAR)
26 template <class TIME_POLICY>
27 ACE_Auto_Event_T<TIME_POLICY>::ACE_Auto_Event_T (
28 int initial_state,
29 int type,
30 const wchar_t *name,
31 void *arg)
32 : ACE_Event_T<TIME_POLICY> (0,
33 initial_state,
34 type,
35 ACE_TEXT_WCHAR_TO_TCHAR (name),
36 arg)
39 #endif /* ACE_HAS_WCHAR */
41 template <class TIME_POLICY>
42 void
43 ACE_Auto_Event_T<TIME_POLICY>::dump () const
45 #if defined (ACE_HAS_DUMP)
46 ACE_Event_T<TIME_POLICY>::dump ();
47 #endif /* ACE_HAS_DUMP */
50 ACE_END_VERSIONED_NAMESPACE_DECL