summaryrefslogtreecommitdiff
path: root/ace/Shared_Object.h
blob: 9e2a58bb8d8556123d6199e07d4cd46eb915ec8d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
/* -*- C++ -*- */
// $Id$


// ============================================================================
//
// = LIBRARY
//    ace
// 
// = FILENAME
//    Shared_Object.h
//
// = AUTHOR
//    Doug Schmidt 
// 
// ============================================================================

#if !defined (ACE_SHARED_OBJECT_H)
#define ACE_SHARED_OBJECT_H

#include "ace/ACE.h"

class ACE_Export ACE_Shared_Object
{
  // = TITLE
  //     Provide the abstract base class used to access dynamic
  //     linking facilities.
public:
  virtual int init (int argc, char *argv[]);
  // Initializes object when dynamic linking occurs.

  virtual int fini (void);
  // Terminates object when dynamic unlinking occurs.

  virtual int info (char **info_string, size_t length = 0) const;
  // Returns information on active object.

  virtual ~ACE_Shared_Object (void);
};

#if defined (__ACE_INLINE__)
#include "ace/Shared_Object.i"
#endif /* __ACE_INLINE__ */

#endif /* ACE_SHARED_OBJECT_H */