00001 /* -*- C++ -*- */ 00002 /** 00003 * @file ETCL_FilterFactory.h 00004 * 00005 * $Id: ETCL_FilterFactory.h 81422 2008-04-24 12:33:29Z johnnyw $ 00006 * 00007 * @author Pradeep Gore <pradeep@oomworks.com> 00008 * 00009 * 00010 */ 00011 00012 #ifndef TAO_Notify_ETCL_FILTERFACTORY_H 00013 #define TAO_Notify_ETCL_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 "orbsvcs/CosNotifyFilterS.h" 00024 00025 #include "orbsvcs/Notify/FilterFactory.h" 00026 00027 #if defined(_MSC_VER) 00028 #pragma warning(push) 00029 #pragma warning(disable:4250) 00030 #endif /* _MSC_VER */ 00031 00032 TAO_BEGIN_VERSIONED_NAMESPACE_DECL 00033 00034 /** 00035 * @class TAO_Notify_ETCL_FilterFactory 00036 * 00037 * @brief 00038 * 00039 */ 00040 class TAO_Notify_Serv_Export TAO_Notify_ETCL_FilterFactory : 00041 public virtual POA_CosNotifyFilter::FilterFactory, 00042 public virtual TAO_Notify_FilterFactory 00043 { 00044 public: 00045 /// Constructor 00046 TAO_Notify_ETCL_FilterFactory (void); 00047 00048 /// Destructor 00049 virtual ~TAO_Notify_ETCL_FilterFactory (); 00050 00051 ///= TAO_Notify_FilterFactory methods. 00052 00053 virtual CosNotifyFilter::FilterFactory_ptr create ( 00054 PortableServer::POA_ptr filter_poa); 00055 00056 ///= CosNotifyFilter::FilterFactory methods 00057 00058 virtual CosNotifyFilter::Filter_ptr create_filter ( 00059 const char * constraint_grammar); 00060 00061 virtual CosNotifyFilter::MappingFilter_ptr create_mapping_filter ( 00062 const char * constraint_grammar, 00063 const CORBA::Any & default_value); 00064 00065 protected: 00066 /// The POA in which to activate the Filters. 00067 PortableServer::POA_var filter_poa_; 00068 }; 00069 00070 TAO_END_VERSIONED_NAMESPACE_DECL 00071 00072 #if defined(_MSC_VER) 00073 #pragma warning(pop) 00074 #endif /* _MSC_VER */ 00075 00076 ACE_FACTORY_DECLARE (TAO_Notify_Serv, TAO_Notify_ETCL_FilterFactory) 00077 00078 #include /**/ "ace/post.h" 00079 00080 #endif /* TAO_Notify_ETCL_FILTERFACTORY_H */