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

Shared_Object.h

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 
00003 //==========================================================================
00004 /**
00005  *  @file    Shared_Object.h
00006  *
00007  *  $Id: Shared_Object.h,v 1.1.1.4 2003/02/21 18:36:32 chad Exp $
00008  *
00009  *  @author Douglas C. Schmidt <schmidt@cs.wustl.edu>
00010  */
00011 //==========================================================================
00012 
00013 #ifndef ACE_SHARED_OBJECT_H
00014 #define ACE_SHARED_OBJECT_H
00015 
00016 #include "ace/pre.h"
00017 
00018 #include "ace/ACE_export.h"
00019 
00020 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00021 # pragma once
00022 #endif /* ACE_LACKS_PRAGMA_ONCE */
00023 
00024 #include "ace/OS.h"
00025 
00026 /**
00027  * @class ACE_Shared_Object
00028  *
00029  * @brief Provide the abstract base class used to access dynamic
00030  * linking facilities.
00031  */
00032 class ACE_Export ACE_Shared_Object
00033 {
00034 public:
00035   ACE_Shared_Object (void);
00036 
00037   /// Initializes object when dynamic linking occurs.
00038   virtual int init (int argc, ACE_TCHAR *argv[]);
00039 
00040   /// Terminates object when dynamic unlinking occurs.
00041   virtual int fini (void);
00042 
00043   /// Returns information on a service object.
00044   virtual int info (ACE_TCHAR **info_string, size_t length = 0) const;
00045 
00046   virtual ~ACE_Shared_Object (void);
00047 };
00048 
00049 #if defined (__ACE_INLINE__)
00050 #include "ace/Shared_Object.i"
00051 #endif /* __ACE_INLINE__ */
00052 
00053 #include "ace/post.h"
00054 
00055 #endif /* ACE_SHARED_OBJECT_H */

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