3 //=============================================================================
5 * @file Windows_Multi_Instance_Monitor.h
7 * @author Jeff Parsons <j.parsons@vanderbilt.edu>
9 //=============================================================================
11 #ifndef WINDOWS_MULTI_INSTANCE_MONITOR_H
12 #define WINDOWS_MULTI_INSTANCE_MONITOR_H
14 #include /**/ "ace/pre.h"
16 #include "ace/Unbounded_Queue.h"
18 #if !defined (ACE_LACKS_PRAGMA_ONCE)
20 #endif /* ACE_LACKS_PRAGMA_ONCE */
22 #include "ace/Monitor_Control/Windows_Monitor.h"
24 #if defined (ACE_HAS_WIN32_PDH)
26 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
30 namespace Monitor_Control
33 * @class Windows_Multi_Instance_Monitor
35 * @brief Mixin class for concrete monitors compiled on Windows machines
36 * where the Performance Data Helper object of interest has more
37 * than once instance, for example multiple CPUs or network cards.
39 class MONITOR_CONTROL_Export Windows_Multi_Instance_Monitor
42 Windows_Multi_Instance_Monitor (const ACE_TCHAR
*wildcard_path
);
43 virtual ~Windows_Multi_Instance_Monitor ();
45 /// Platform-specific implementation.
48 /// Platform-specific reset.
55 typedef ACE_Unbounded_Queue
<Windows_Monitor
*>
57 typedef ACE_Unbounded_Queue_Const_Iterator
<Windows_Monitor
*>
67 ACE_END_VERSIONED_NAMESPACE_DECL
69 #include /**/ "ace/post.h"
71 #endif /* defined (ACE_HAS_WIN32_PDH) */
73 #endif // WINDOWS_MULTI_INSTANCE_MONITOR_H