Monitor_Admin_Manager.cpp

Go to the documentation of this file.
00001 // $Id: Monitor_Admin_Manager.cpp 81691 2008-05-14 11:09:21Z johnnyw $
00002 
00003 #include "ace/Monitor_Admin_Manager.h"
00004 
00005 #if defined (ACE_HAS_MONITOR_FRAMEWORK) && (ACE_HAS_MONITOR_FRAMEWORK == 1)
00006 
00007 #include "ace/Service_Config.h"
00008 
00009 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
00010 
00011 namespace ACE
00012 {
00013   namespace Monitor_Control
00014   {
00015     Monitor_Admin&
00016     Monitor_Admin_Manager::admin (void)
00017     {
00018       return this->admin_;
00019     }
00020 
00021     int
00022     Monitor_Admin_Manager::Initializer (void)
00023     {
00024       return
00025         ACE_Service_Config::process_directive (ace_svc_desc_MC_ADMINMANAGER);
00026     }
00027   }
00028 }
00029 
00030 ACE_END_VERSIONED_NAMESPACE_DECL
00031 
00032 ACE_STATIC_SVC_DEFINE (MC_ADMINMANAGER,
00033                        ACE_TEXT ("MC_ADMINMANAGER"),
00034                        ACE_SVC_OBJ_T,
00035                        &ACE_SVC_NAME (MC_ADMINMANAGER),
00036                        ACE_Service_Type::DELETE_THIS
00037                        | ACE_Service_Type::DELETE_OBJ,
00038                        0)
00039 ACE_FACTORY_DEFINE (ACE, MC_ADMINMANAGER)
00040 
00041 #endif /* ACE_HAS_MONITOR_FRAMEWORK==1 */
00042 

Generated on Tue Feb 2 17:18:41 2010 for ACE by  doxygen 1.4.7