3
//=============================================================================
5
* @file PortableGroup_Loader.h
7
* PortableGroup_Loader.h,v 1.8 2003/12/22 01:44:38 wilson_d Exp
9
* Loads and initializes the PortableGroup extensions to TAO.
11
* @author Frank Hunleth <fhunleth@cs.wustl.edu>
13
//=============================================================================
15
#ifndef TAO_PORTABLEGROUP_LOADER_H
16
#define TAO_PORTABLEGROUP_LOADER_H
18
#include /**/ "ace/pre.h"
19
#include "ace/Service_Config.h"
21
#if !defined (ACE_LACKS_PRAGMA_ONCE)
23
#endif /* ACE_LACKS_PRAGMA_ONCE */
25
#include "ace/Service_Object.h"
27
#include "portablegroup_export.h"
30
* @class TAO_PortableGroup_Adapter
32
* @brief TAO_PortableGroup_Adapter.
34
* This class acts as a facade for the PortableGroup library to the
37
class TAO_PortableGroup_Export TAO_PortableGroup_Loader
38
: public ACE_Service_Object
40
friend class TAO_POA_Hooks;
44
TAO_PortableGroup_Loader (void);
46
/// Initialize the PortableGroup loader hooks.
47
virtual int init (int argc,
50
/// Used to force the initialization of the ORB code.
51
static int Initializer (void);
54
ACE_STATIC_SVC_DECLARE (TAO_PortableGroup_Loader)
55
ACE_FACTORY_DECLARE (TAO_PortableGroup, TAO_PortableGroup_Loader)
57
#if defined(ACE_HAS_BROKEN_STATIC_CONSTRUCTORS)
59
typedef int (*TAO_Module_Initializer) (void);
61
static TAO_Module_Initializer
62
TAO_Requires_PortableGroup_Initializer =
63
&TAO_PortableGroup_Loader::Initializer;
68
TAO_Requires_PortableGroup_Initializer =
69
TAO_PortableGroup_Loader::Initializer ();
71
#endif /* ACE_HAS_BROKEN_STATIC_CONSTRUCTORS */
73
#include /**/ "ace/post.h"
75
#endif /* TAO_PORTABLEGROUP_LOADER_H */