Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

Dynamic_Service_Base.h

Go to the documentation of this file.
00001 /* -*- C++ -*- */
00002 
00003 //=============================================================================
00004 /**
00005  *  @file Dynamic_Service_Base.h
00006  *
00007  *  $Id: Dynamic_Service_Base.h,v 1.1.1.2 2003/02/21 18:36:32 chad Exp $
00008  *
00009  *  @author Prashant Jain <pjain@cs.wustl.edu>
00010  *  @author Douglas C. Schmidt <schmidt@cs.wustl.edu>
00011  */
00012 //=============================================================================
00013 
00014 #ifndef ACE_DYNAMIC_SERVICE_BASE_H
00015 #define ACE_DYNAMIC_SERVICE_BASE_H
00016 
00017 #include "ace/pre.h"
00018 
00019 #include "ace/ACE_export.h"
00020 
00021 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00022 # pragma once
00023 #endif /* ACE_LACKS_PRAGMA_ONCE */
00024 
00025 
00026 /**
00027  * @class ACE_Dynamic_Service_Base
00028  *
00029  * @brief Base class for all ACE_Dynamic_Service instantiations.
00030  *
00031  * Factors out common code shared by all ACE_Dynamic_Service
00032  * instantiations, this avoid code bloat.
00033  */
00034 class ACE_Export ACE_Dynamic_Service_Base
00035 {
00036 public:
00037   /// Dump the current static of the object
00038   void dump (void) const;
00039 
00040 protected:
00041   /// Return instance using <name> to search the Service_Repository.
00042   static void* instance (const ACE_TCHAR *name);
00043 };
00044 
00045 #include "ace/post.h"
00046 #endif /* ACE_DYNAMIC_SERVICE_BASE_H */

Generated on Mon Jun 16 11:19:38 2003 for ACE by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002