00001 /* -*- C++ -*- */ 00002 /** 00003 * @file FilterFactory.h 00004 * 00005 * $Id: FilterFactory.h 76589 2007-01-25 18:04:11Z elliott_c $ 00006 * 00007 * @author Pradeep Gore <pradeep@oomworks.com> 00008 * 00009 * 00010 */ 00011 00012 #ifndef TAO_Notify_FILTERFACTORY_H 00013 #define TAO_Notify_FILTERFACTORY_H 00014 00015 #include /**/ "ace/pre.h" 00016 00017 #include "orbsvcs/Notify/notify_serv_export.h" 00018 00019 #if !defined (ACE_LACKS_PRAGMA_ONCE) 00020 # pragma once 00021 #endif /* ACE_LACKS_PRAGMA_ONCE */ 00022 00023 #include "ace/Service_Object.h" 00024 00025 #include "tao/PortableServer/PortableServer.h" 00026 00027 TAO_BEGIN_VERSIONED_NAMESPACE_DECL 00028 00029 /** 00030 * @class TAO_Notify_FilterFactory 00031 * 00032 * @brief Service Object to obtain a CosNotifyFilter::FilterFactory reference. 00033 * 00034 */ 00035 class /*TAO_Notify_Serv_Export*/ TAO_Notify_FilterFactory : public ACE_Service_Object 00036 { 00037 public: 00038 /// Factory method to create a FilterFactory reference 00039 /// The Factory is activated in the default POA. The filters created are activated in the <filter_poa>. 00040 virtual CosNotifyFilter::FilterFactory_ptr create ( 00041 PortableServer::POA_var& filter_poa) = 0; 00042 }; 00043 00044 TAO_END_VERSIONED_NAMESPACE_DECL 00045 00046 #include /**/ "ace/post.h" 00047 00048 #endif /* TAO_Notify_FILTERFACTORY_H */