3 //=============================================================================
5 * @file Windows_Monitor.h
7 * @author Jeff Parsons <j.parsons@vanderbilt.edu>
9 //=============================================================================
11 #ifndef WINDOWS_MONITOR_H
12 #define WINDOWS_MONITOR_H
14 #include /**/ "ace/pre.h"
16 #include "ace/SString.h"
18 #if !defined (ACE_LACKS_PRAGMA_ONCE)
20 #endif /* ACE_LACKS_PRAGMA_ONCE */
22 #include "ace/os_include/os_pdh.h"
24 #include "ace/Monitor_Control/Monitor_Control_export.h"
26 #if defined (ACE_HAS_WIN32_PDH)
28 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
32 namespace Monitor_Control
35 * @class Windows_Monitor
37 * @brief Mixin class for concrete monitors compiled on Windows machines.
39 class MONITOR_CONTROL_Export Windows_Monitor
41 friend class Windows_Multi_Instance_Monitor
;
44 Windows_Monitor (const ACE_TCHAR
*path
);
46 /// Platform-specific implementation.
49 /// Platform-specific reset.
56 /// Code common to constructor and clear_impl().
59 /// Make these persistent as members so they don't have to be
60 /// created & destroyed with each update.
70 ACE_END_VERSIONED_NAMESPACE_DECL
72 #include /**/ "ace/post.h"
74 #endif /* defined (ACE_HAS_WIN32_PDH) */
76 #endif // WINDOWS_MONITOR_H