Removed ACE_HAS_BSTRING, not used
[ACE_TAO.git] / ACE / ace / Auto_Event.cpp
blobc95c0e855c35abed2dbe9ab9e83307f86d19c844
1 #include "ace/Auto_Event.h"
3 #if !defined (__ACE_INLINE__)
4 #include "ace/Auto_Event.inl"
5 #endif /* __ACE_INLINE__ */
7 #if defined (ACE_HAS_ALLOC_HOOKS)
8 # include "ace/Malloc_Base.h"
9 #endif /* ACE_HAS_ALLOC_HOOKS */
11 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
13 ACE_ALLOC_HOOK_DEFINE_Tc(ACE_Auto_Event_T)
15 template <class TIME_POLICY>
16 ACE_Auto_Event_T<TIME_POLICY>::ACE_Auto_Event_T (
17 int initial_state,
18 int type,
19 const char *name,
20 void *arg)
21 : ACE_Event_T<TIME_POLICY> (0,
22 initial_state,
23 type,
24 ACE_TEXT_CHAR_TO_TCHAR (name),
25 arg)
29 #if defined (ACE_HAS_WCHAR)
30 template <class TIME_POLICY>
31 ACE_Auto_Event_T<TIME_POLICY>::ACE_Auto_Event_T (
32 int initial_state,
33 int type,
34 const wchar_t *name,
35 void *arg)
36 : ACE_Event_T<TIME_POLICY> (0,
37 initial_state,
38 type,
39 ACE_TEXT_WCHAR_TO_TCHAR (name),
40 arg)
43 #endif /* ACE_HAS_WCHAR */
45 template <class TIME_POLICY>
46 void
47 ACE_Auto_Event_T<TIME_POLICY>::dump (void) const
49 #if defined (ACE_HAS_DUMP)
50 ACE_Event_T<TIME_POLICY>::dump ();
51 #endif /* ACE_HAS_DUMP */
54 ACE_END_VERSIONED_NAMESPACE_DECL