PICurrent_Loader.h

Go to the documentation of this file.
00001 /* -*- C++ -*- */
00002 
00003 
00004 //=============================================================================
00005 /**
00006  *  @file    PICurrent_Loader.h
00007  *
00008  *  PICurrent_Loader.h,v 1.6 2006/03/10 07:19:12 jtc Exp
00009  *
00010  *  @author Johnny Willemsen  <jwillemsen@remedy.nl>
00011  */
00012 //=============================================================================
00013 
00014 
00015 #ifndef TAO_PICURRENT_LOADER_H
00016 #define TAO_PICURRENT_LOADER_H
00017 
00018 #include /**/ "ace/pre.h"
00019 
00020 #include "tao/PI/pi_export.h"
00021 
00022 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00023 # pragma once
00024 #endif /* ACE_LACKS_PRAGMA_ONCE */
00025 
00026 #include "tao/orbconf.h"
00027 
00028 #if TAO_HAS_INTERCEPTORS == 1
00029 
00030 #include "tao/Object_Loader.h"
00031 
00032 #include "ace/Service_Config.h"
00033 
00034 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00035 
00036 class TAO_PI_Export TAO_PICurrent_Loader
00037   : public TAO_Object_Loader
00038 {
00039 public:
00040   /// Creates a PICurrent and returns it.
00041   virtual CORBA::Object_ptr create_object (CORBA::ORB_ptr orb,
00042                                            int argc,
00043                                            ACE_TCHAR *argv []
00044                                            ACE_ENV_ARG_DECL)
00045     ACE_THROW_SPEC ((CORBA::SystemException));
00046 };
00047 
00048 TAO_END_VERSIONED_NAMESPACE_DECL
00049 
00050 ACE_STATIC_SVC_DECLARE (TAO_PICurrent_Loader)
00051 ACE_FACTORY_DECLARE (TAO_PI, TAO_PICurrent_Loader)
00052 
00053 #endif  /* TAO_HAS_INTERCEPTORS == 1 */
00054 
00055 #include /**/ "ace/post.h"
00056 
00057 #endif /* TAO_PICURRENT_LOADER_H */

Generated on Thu Nov 9 12:51:39 2006 for TAO_PI by doxygen 1.3.6