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

Default_Stub_Factory.h

Go to the documentation of this file.
00001 //=============================================================================
00002 /**
00003  *  @file    Default_Stub_Factory.h
00004  *
00005  *  $Id: Default_Stub_Factory.h,v 1.1.1.2 2003/02/21 18:36:44 chad Exp $
00006  *
00007  *   Defines the a factory interface for creating Stubs.
00008  *   This class creates the default stub, that is used in
00009  *   plain CORBA.
00010  *
00011  *
00012  *  @author  Angelo Corsaro <corsaro@cs.wustl.edu>
00013  */
00014 //=============================================================================
00015 
00016 #ifndef TAO_DEFAULT_STUB_FACTORY_H_
00017 #define TAO_DEFAULT_STUB_FACTORY_H_
00018 
00019 #include "ace/pre.h"
00020 
00021 #include "tao/Stub_Factory.h"
00022 #include "ace/Service_Config.h"
00023 
00024 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00025 # pragma once
00026 #endif /* ACE_LACKS_PRAGMA_ONCE */
00027 
00028 /**
00029  * @class TAO_Default_Stub_Factory
00030  *
00031  * This class is a factory whose product is the plain TAO_Stub used by
00032  * TAO. Its subclasses build Stub object that are specialization of
00033  * the TAO_Stub. As an example TAO_RT_Stub_Factory creates
00034  * RT_TAO_Stub. This factory, or one of its subclasses is dynamically
00035  * plugged into the ORB_Core, and is used by the ORB_Core to create
00036  * Stub Objects.
00037  */
00038 class TAO_Export TAO_Default_Stub_Factory
00039   : public TAO_Stub_Factory
00040 {
00041 public:
00042   // -- Ctor/Dtor --
00043   virtual ~TAO_Default_Stub_Factory (void);
00044 
00045   /// Creates a Stub Object.
00046   virtual TAO_Stub *create_stub (const char *repository_id,
00047                                  const TAO_MProfile &profiles,
00048                                  TAO_ORB_Core *orb_core
00049                                  ACE_ENV_ARG_DECL);
00050 };
00051 
00052 ACE_STATIC_SVC_DECLARE_EXPORT (TAO, TAO_Default_Stub_Factory)
00053 ACE_FACTORY_DECLARE (TAO, TAO_Default_Stub_Factory)
00054 
00055 #include "ace/post.h"
00056 #endif /* TAO_DEFAULT_STUB_FACTORY_H_ */

Generated on Mon Jun 16 13:48:14 2003 for TAO by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002