[6916] Fixed typos in spell checking code.
[getmangos.git] / dep / ACE_wrappers / ace / Monitor_Admin_Manager.h
blob72977383fddb32503b57ecf3d9545aa4493d8141
1 // -*- C++ -*-
3 //=============================================================================
4 /**
5 * @file Monitor_Admin_Manager.h
7 * $Id: Monitor_Admin_Manager.h 81691 2008-05-14 11:09:21Z johnnyw $
9 * @author Jeff Parsons <j.parsons@vanderbilt.edu>
11 //=============================================================================
13 #ifndef MONITOR_ADMIN_MANAGER_H
14 #define MONITOR_ADMIN_MANAGER_H
16 #include /**/ "ace/pre.h"
18 #include "ace/Service_Object.h"
20 #if !defined (ACE_LACKS_PRAGMA_ONCE)
21 #pragma once
22 #endif /* ACE_LACKS_PRAGMA_ONCE */
24 #if defined (ACE_HAS_MONITOR_FRAMEWORK) && (ACE_HAS_MONITOR_FRAMEWORK == 1)
26 #include "ace/Monitor_Admin.h"
28 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
30 namespace ACE
32 namespace Monitor_Control
34 /**
35 * @class Monitor_Admin_Manager
37 * @brief Repsonsible for creating and destroying the global
38 * (per process) instance of the Admin class.
40 * Monitor_Admin_Manager will be instantiated as an ACE_Dynamic_Service
41 * singleton, and implements the interface of ACE_Service_Object.
43 class ACE_Export Monitor_Admin_Manager : public ACE_Service_Object
45 public:
46 /// Access the admin instance.
47 ACE::Monitor_Control::Monitor_Admin& admin (void);
49 /// Used to force initialization of the MC service.
50 static int Initializer (void);
52 private:
53 Monitor_Admin admin_;
58 /// For the ACE_FACTORY_DEFINE macro in the .cpp file.
59 typedef ACE::Monitor_Control::Monitor_Admin_Manager MC_ADMINMANAGER;
61 ACE_END_VERSIONED_NAMESPACE_DECL
63 ACE_STATIC_SVC_DECLARE (MC_ADMINMANAGER)
64 ACE_FACTORY_DECLARE (ACE, MC_ADMINMANAGER)
66 #endif /* ACE_HAS_MONITOR_FRAMEWORK==1 */
68 #include /**/ "ace/post.h"
70 #endif // MONITOR_ADMIN_MANAGER_H