3 //==========================================================================
5 * @file Shared_Object.h
7 * @author Douglas C. Schmidt <d.schmidt@vanderbilt.edu>
9 //==========================================================================
11 #ifndef ACE_SHARED_OBJECT_H
12 #define ACE_SHARED_OBJECT_H
14 #include /**/ "ace/pre.h"
16 #include /**/ "ace/ACE_export.h"
18 #if !defined (ACE_LACKS_PRAGMA_ONCE)
20 #endif /* ACE_LACKS_PRAGMA_ONCE */
22 #include "ace/os_include/sys/os_types.h"
24 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
27 * @class ACE_Shared_Object
29 * @brief Provide the abstract base class used to access dynamic
32 class ACE_Export ACE_Shared_Object
39 virtual ~ACE_Shared_Object ();
41 /// Initializes object when dynamic linking occurs.
42 virtual int init (int argc
, ACE_TCHAR
*argv
[]);
44 /// Terminates object when dynamic unlinking occurs.
47 /// Returns information on a service object.
48 virtual int info (ACE_TCHAR
**info_string
, size_t length
= 0) const;
51 ACE_END_VERSIONED_NAMESPACE_DECL
53 #if defined (__ACE_INLINE__)
54 #include "ace/Shared_Object.inl"
55 #endif /* __ACE_INLINE__ */
57 #include /**/ "ace/post.h"
59 #endif /* ACE_SHARED_OBJECT_H */