00001
00002
00003 #include "ace/Auto_Event.h"
00004
00005 #if !defined (__ACE_INLINE__)
00006 #include "ace/Auto_Event.inl"
00007 #endif
00008
00009 ACE_RCSID (ace,
00010 Auto_Event,
00011 "$Id: Auto_Event.cpp 80826 2008-03-04 14:51:23Z wotte $")
00012
00013 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
00014
00015 ACE_Auto_Event::ACE_Auto_Event (int initial_state,
00016 int type,
00017 const char *name,
00018 void *arg)
00019 : ACE_Event (0,
00020 initial_state,
00021 type,
00022 ACE_TEXT_CHAR_TO_TCHAR (name),
00023 arg)
00024 {
00025 }
00026
00027 #if defined (ACE_HAS_WCHAR)
00028 ACE_Auto_Event::ACE_Auto_Event (int initial_state,
00029 int type,
00030 const wchar_t *name,
00031 void *arg)
00032 : ACE_Event (0,
00033 initial_state,
00034 type,
00035 ACE_TEXT_WCHAR_TO_TCHAR (name),
00036 arg)
00037 {
00038 }
00039 #endif
00040
00041 void
00042 ACE_Auto_Event::dump (void) const
00043 {
00044 #if defined (ACE_HAS_DUMP)
00045 ACE_Event::dump ();
00046 #endif
00047 }
00048
00049 ACE_END_VERSIONED_NAMESPACE_DECL