00001 // -*- C++ -*- 00002 00003 /** 00004 * @file RT_Factory.h 00005 * 00006 * $Id: RT_Factory.h 81422 2008-04-24 12:33:29Z johnnyw $ 00007 * 00008 * @author Pradeep Gore <pradeep@oomworks.com> 00009 */ 00010 00011 #ifndef TAO_Notify_RT_FACTORY_H 00012 #define TAO_Notify_RT_FACTORY_H 00013 #include /**/ "ace/pre.h" 00014 00015 #include "orbsvcs/Notify/rt_notify_export.h" 00016 00017 #if !defined (ACE_LACKS_PRAGMA_ONCE) 00018 # pragma once 00019 #endif /* ACE_LACKS_PRAGMA_ONCE */ 00020 00021 #include "orbsvcs/Notify/Default_Factory.h" 00022 00023 TAO_BEGIN_VERSIONED_NAMESPACE_DECL 00024 00025 /** 00026 * @class TAO_Notify_RT_Factory 00027 * 00028 * @brief The Factory for the RT aware Notify classes. 00029 * 00030 */ 00031 class TAO_RT_Notify_Export TAO_Notify_RT_Factory : public TAO_Notify_Default_Factory 00032 { 00033 public: 00034 /// Constructor 00035 TAO_Notify_RT_Factory (void); 00036 00037 /// Destructor 00038 virtual ~TAO_Notify_RT_Factory (); 00039 00040 #if !defined (__GNUC__) || (__GNUC__ >= 3) 00041 /// Instruct the compiler that we want the create 00042 /// methods from the base class as well 00043 using TAO_Notify_Default_Factory::create; 00044 #endif /* !__GNUC__ || __GNUC__ >= 3 */ 00045 00046 /// Create StructuredProxyPushSupplier 00047 virtual void create (TAO_Notify_StructuredProxyPushSupplier*& proxy); 00048 }; 00049 00050 TAO_END_VERSIONED_NAMESPACE_DECL 00051 00052 ACE_FACTORY_DECLARE (TAO_RT_Notify, TAO_Notify_RT_Factory) 00053 00054 #include /**/ "ace/post.h" 00055 #endif /* TAO_Notify_RT_FACTORY_H */