PortableGroup_Loader.h

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 
00003 //=============================================================================
00004 /**
00005  *  @file     PortableGroup_Loader.h
00006  *
00007  *  $Id: PortableGroup_Loader.h 77080 2007-02-12 19:43:29Z johnnyw $
00008  *
00009  *  Loads and initializes the PortableGroup extensions to TAO.
00010  *
00011  *  @author Frank Hunleth <fhunleth@cs.wustl.edu>
00012  */
00013 //=============================================================================
00014 
00015 #ifndef TAO_PORTABLEGROUP_LOADER_H
00016 #define TAO_PORTABLEGROUP_LOADER_H
00017 
00018 #include /**/ "ace/pre.h"
00019 
00020 #include "orbsvcs/PortableGroup/portablegroup_export.h"
00021 
00022 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00023 # pragma once
00024 #endif /* ACE_LACKS_PRAGMA_ONCE */
00025 
00026 #include "tao/Versioned_Namespace.h"
00027 
00028 #include "ace/Service_Config.h"
00029 #include "ace/Service_Object.h"
00030 
00031 
00032 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00033 
00034 /**
00035  * @class TAO_PortableGroup_Adapter
00036  *
00037  * @brief TAO_PortableGroup_Adapter.
00038  *
00039  * This class acts as a facade for the PortableGroup library to the
00040  * ORB.
00041  */
00042 class TAO_PortableGroup_Export TAO_PortableGroup_Loader
00043   : public ACE_Service_Object
00044 {
00045 public:
00046   /// Constructor.
00047   TAO_PortableGroup_Loader (void);
00048 
00049   /// Initialize the PortableGroup loader hooks.
00050   virtual int init (int argc, char *[]);
00051 
00052   /// Used to force the initialization of the ORB code.
00053   static int Initializer (void);
00054 };
00055 
00056 static int
00057 TAO_Requires_PortableGroup_Initializer =
00058   TAO_PortableGroup_Loader::Initializer ();
00059 
00060 TAO_END_VERSIONED_NAMESPACE_DECL
00061 
00062 ACE_STATIC_SVC_DECLARE (TAO_PortableGroup_Loader)
00063 ACE_FACTORY_DECLARE (TAO_PortableGroup, TAO_PortableGroup_Loader)
00064 
00065 #include /**/ "ace/post.h"
00066 
00067 #endif /* TAO_PORTABLEGROUP_LOADER_H */

Generated on Tue Feb 2 17:49:50 2010 for TAO_PortableGroup by  doxygen 1.4.7