// $Id$ #include "Default_Factory.h" #if ! defined (__ACE_INLINE__) #include "Default_Factory.inl" #endif /* __ACE_INLINE__ */ ACE_RCSID (Notify, TAO_Notify_Default_Factory, "$Id$") #include "orbsvcs/orbsvcs/ESF/ESF_Proxy_List.h" #include "orbsvcs/orbsvcs/ESF/ESF_Copy_On_Write.h" #include "EventChannelFactory.h" #include "EventChannel.h" #include "Admin.h" #include "Proxy.h" #include "SupplierAdmin.h" #include "ConsumerAdmin.h" #include "Structured/StructuredProxyPushConsumer.h" #include "Structured/StructuredProxyPushSupplier.h" #include "Any/ProxyPushConsumer.h" #include "Any/ProxyPushSupplier.h" #include "Any/CosEC_ProxyPushConsumer.h" #include "Any/CosEC_ProxyPushSupplier.h" #include "Sequence/SequenceProxyPushConsumer.h" #include "Sequence/SequenceProxyPushSupplier.h" #include "Supplier.h" template class COW_Collection_Default_Factory { public: typedef ACE_TYPENAME TAO_ESF_Proxy_List::Iterator PROXY_ITER; typedef TAO_ESF_Copy_On_Write,PROXY_ITER, ACE_SYNCH> COLLECTION; typedef TAO_ESF_Proxy_Collection BASE_COLLECTION; void create (BASE_COLLECTION* &collection ACE_ENV_ARG_DECL) { ACE_NEW_THROW_EX (collection, COLLECTION (), CORBA::INTERNAL ()); } }; TAO_Notify_Default_Factory::TAO_Notify_Default_Factory (void) { } TAO_Notify_Default_Factory::~TAO_Notify_Default_Factory () { } void TAO_Notify_Default_Factory::create (TAO_Notify_ProxySupplier_Collection* &collection ACE_ENV_ARG_DECL) { COW_Collection_Default_Factory f; f.create (collection ACE_ENV_ARG_PARAMETER); } void TAO_Notify_Default_Factory::create (TAO_Notify_ProxyConsumer_Collection* &collection ACE_ENV_ARG_DECL) { COW_Collection_Default_Factory f; f.create (collection ACE_ENV_ARG_PARAMETER); } void TAO_Notify_Default_Factory::create (TAO_Notify_EventChannel_Collection* &collection ACE_ENV_ARG_DECL) { COW_Collection_Default_Factory f; f.create (collection ACE_ENV_ARG_PARAMETER); } void TAO_Notify_Default_Factory::create (TAO_Notify_ConsumerAdmin_Collection* &collection ACE_ENV_ARG_DECL) { COW_Collection_Default_Factory f; f.create (collection ACE_ENV_ARG_PARAMETER); } void TAO_Notify_Default_Factory::create (TAO_Notify_SupplierAdmin_Collection* &collection ACE_ENV_ARG_DECL) { COW_Collection_Default_Factory f; f.create (collection ACE_ENV_ARG_PARAMETER); } void TAO_Notify_Default_Factory::create (TAO_Notify_Proxy_Collection* &collection ACE_ENV_ARG_DECL) { COW_Collection_Default_Factory f; f.create (collection ACE_ENV_ARG_PARAMETER); } void TAO_Notify_Default_Factory::create (TAO_Notify_EventChannelFactory*& factory ACE_ENV_ARG_DECL) { ACE_NEW_THROW_EX (factory, TAO_Notify_EventChannelFactory (), CORBA::NO_MEMORY ()); } void TAO_Notify_Default_Factory::create (TAO_Notify_EventChannel*& channel ACE_ENV_ARG_DECL) { ACE_NEW_THROW_EX (channel, TAO_Notify_EventChannel (), CORBA::NO_MEMORY ()); } void TAO_Notify_Default_Factory::create (TAO_Notify_SupplierAdmin*& admin ACE_ENV_ARG_DECL) { ACE_NEW_THROW_EX (admin, TAO_Notify_SupplierAdmin (), CORBA::NO_MEMORY ()); } void TAO_Notify_Default_Factory::create (TAO_Notify_ConsumerAdmin*& admin ACE_ENV_ARG_DECL) { ACE_NEW_THROW_EX (admin, TAO_Notify_ConsumerAdmin (), CORBA::NO_MEMORY ()); } void TAO_Notify_Default_Factory::create (TAO_Notify_StructuredProxyPushConsumer*& proxy ACE_ENV_ARG_DECL) { ACE_NEW_THROW_EX (proxy, TAO_Notify_StructuredProxyPushConsumer (), CORBA::NO_MEMORY ()); } void TAO_Notify_Default_Factory::create (TAO_Notify_StructuredProxyPushSupplier*& proxy ACE_ENV_ARG_DECL) { ACE_NEW_THROW_EX (proxy, TAO_Notify_StructuredProxyPushSupplier (), CORBA::NO_MEMORY ()); } void TAO_Notify_Default_Factory::create (TAO_Notify_ProxyPushConsumer*& proxy ACE_ENV_ARG_DECL) { ACE_NEW_THROW_EX (proxy, TAO_Notify_ProxyPushConsumer (), CORBA::NO_MEMORY ()); } void TAO_Notify_Default_Factory::create (TAO_Notify_ProxyPushSupplier*& proxy ACE_ENV_ARG_DECL) { ACE_NEW_THROW_EX (proxy, TAO_Notify_ProxyPushSupplier (), CORBA::NO_MEMORY ()); } void TAO_Notify_Default_Factory::create (TAO_Notify_CosEC_ProxyPushConsumer*& proxy ACE_ENV_ARG_DECL) { ACE_NEW_THROW_EX (proxy, TAO_Notify_CosEC_ProxyPushConsumer (), CORBA::NO_MEMORY ()); } void TAO_Notify_Default_Factory::create (TAO_Notify_CosEC_ProxyPushSupplier*& proxy ACE_ENV_ARG_DECL) { ACE_NEW_THROW_EX (proxy, TAO_Notify_CosEC_ProxyPushSupplier (), CORBA::NO_MEMORY ()); } void TAO_Notify_Default_Factory::create (TAO_Notify_SequenceProxyPushConsumer*& proxy ACE_ENV_ARG_DECL) { ACE_NEW_THROW_EX (proxy, TAO_Notify_SequenceProxyPushConsumer (), CORBA::NO_MEMORY ()); } void TAO_Notify_Default_Factory::create (TAO_Notify_SequenceProxyPushSupplier*& proxy ACE_ENV_ARG_DECL) { ACE_NEW_THROW_EX (proxy, TAO_Notify_SequenceProxyPushSupplier (), CORBA::NO_MEMORY ()); } ACE_FACTORY_DEFINE (TAO_Notify, TAO_Notify_Default_Factory) #if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) template class TAO_Notify_ProxySupplier_T ; template class TAO_Notify_Proxy_T ; template class TAO_Notify_ProxySupplier_T ; template class TAO_Notify_Proxy_T ; template class TAO_Notify_ProxySupplier_T ; template class TAO_Notify_Proxy_T ; template class TAO_Notify_ProxySupplier_T ; template class TAO_Notify_Proxy_T ; template class TAO_Notify_ProxyConsumer_T ; template class TAO_Notify_Proxy_T ; template class TAO_Notify_ProxyConsumer_T ; template class TAO_Notify_Proxy_T ; template class TAO_Notify_ProxyConsumer_T ; template class TAO_Notify_Proxy_T ; template class TAO_Notify_ProxyConsumer_T ; template class TAO_Notify_Proxy_T ; template class TAO_ESF_Proxy_Collection; template class TAO_ESF_Proxy_Collection; template class TAO_ESF_Proxy_Collection; template class TAO_ESF_Proxy_Collection; template class TAO_ESF_Proxy_Collection; template class TAO_ESF_Proxy_Collection; template class TAO_ESF_Proxy_Collection; template class TAO_ESF_Proxy_Collection; template class TAO_ESF_Proxy_Collection; template class ACE_Unbounded_Set; //template class ACE_Unbounded_Set; //template class ACE_Unbounded_Set; template class ACE_Unbounded_Set_Const_Iterator; template class ACE_Unbounded_Set_Iterator; template class TAO_ESF_Copy_On_Write, ACE_Unbounded_Set_Ex_Iterator, ACE_SYNCH>; template class TAO_ESF_Copy_On_Write, ACE_Unbounded_Set_Ex_Iterator, ACE_SYNCH>; template class TAO_ESF_Copy_On_Write, ACE_Unbounded_Set_Ex_Iterator, ACE_SYNCH>; template class TAO_ESF_Copy_On_Write, ACE_Unbounded_Set_Ex_Iterator, ACE_SYNCH>; template class TAO_ESF_Copy_On_Write, ACE_Unbounded_Set_Ex_Iterator, ACE_SYNCH>; template class TAO_ESF_Copy_On_Write, ACE_Unbounded_Set_Ex_Iterator, ACE_SYNCH>; template class TAO_ESF_Copy_On_Write, ACE_Unbounded_Set_Ex_Iterator, ACE_SYNCH>; template class TAO_ESF_Copy_On_Write, ACE_Unbounded_Set_Ex_Iterator, ACE_SYNCH>; template class TAO_ESF_Copy_On_Write, ACE_Unbounded_Set_Ex_Iterator, ACE_SYNCH>; template class TAO_ESF_Copy_On_Write_Read_Guard,ACE_Unbounded_Set_Ex_Iterator,TAO_SYNCH_MUTEX>; template class TAO_ESF_Copy_On_Write_Read_Guard,ACE_Unbounded_Set_Ex_Iterator,TAO_SYNCH_MUTEX>; template class TAO_ESF_Copy_On_Write_Read_Guard,ACE_Unbounded_Set_Ex_Iterator,TAO_SYNCH_MUTEX>; template class TAO_ESF_Copy_On_Write_Read_Guard,ACE_Unbounded_Set_Ex_Iterator,TAO_SYNCH_MUTEX>; template class TAO_ESF_Copy_On_Write_Read_Guard,ACE_Unbounded_Set_Ex_Iterator,TAO_SYNCH_MUTEX>; template class TAO_ESF_Copy_On_Write_Read_Guard,ACE_Unbounded_Set_Ex_Iterator,TAO_SYNCH_MUTEX>; template class TAO_ESF_Copy_On_Write_Read_Guard,ACE_Unbounded_Set_Ex_Iterator,TAO_SYNCH_MUTEX>; template class TAO_ESF_Copy_On_Write_Read_Guard,ACE_Unbounded_Set_Ex_Iterator,TAO_SYNCH_MUTEX>; template class TAO_ESF_Copy_On_Write_Read_Guard,ACE_Unbounded_Set_Ex_Iterator,TAO_SYNCH_MUTEX>; template class TAO_ESF_Proxy_List; template class TAO_ESF_Proxy_List; template class TAO_ESF_Proxy_List; template class TAO_ESF_Proxy_List; template class TAO_ESF_Proxy_List; template class TAO_ESF_Proxy_List; template class TAO_ESF_Proxy_List; template class TAO_ESF_Proxy_List; template class TAO_ESF_Proxy_List; template class ACE_Unbounded_Set_Ex; template class ACE_Unbounded_Set_Ex; template class ACE_Unbounded_Set_Ex; template class ACE_Unbounded_Set_Ex; template class ACE_Unbounded_Set_Ex; template class ACE_Unbounded_Set_Ex; template class ACE_Unbounded_Set_Ex; template class ACE_Unbounded_Set_Ex; template class ACE_Unbounded_Set_Ex; //template class ACE_Unbounded_Set; template class ACE_Unbounded_Set_Ex_Iterator; template class ACE_Unbounded_Set_Ex_Iterator; template class ACE_Unbounded_Set_Ex_Iterator; template class ACE_Unbounded_Set_Ex_Iterator; template class ACE_Unbounded_Set_Ex_Iterator; template class ACE_Unbounded_Set_Ex_Iterator; template class ACE_Unbounded_Set_Ex_Iterator; template class ACE_Unbounded_Set_Ex_Iterator; template class ACE_Unbounded_Set_Ex_Iterator; template class ACE_Unbounded_Set_Iterator; template class TAO_ESF_Copy_On_Write_Write_Guard, ACE_Unbounded_Set_Ex_Iterator, ACE_SYNCH>; template class TAO_ESF_Copy_On_Write_Write_Guard, ACE_Unbounded_Set_Ex_Iterator, ACE_SYNCH>; template class TAO_ESF_Copy_On_Write_Write_Guard, ACE_Unbounded_Set_Ex_Iterator, ACE_SYNCH>; template class TAO_ESF_Copy_On_Write_Write_Guard, ACE_Unbounded_Set_Ex_Iterator, ACE_SYNCH>; template class TAO_ESF_Copy_On_Write_Write_Guard, ACE_Unbounded_Set_Ex_Iterator, ACE_SYNCH>; template class TAO_ESF_Copy_On_Write_Write_Guard, ACE_Unbounded_Set_Ex_Iterator, ACE_SYNCH>; template class TAO_ESF_Copy_On_Write_Write_Guard, ACE_Unbounded_Set_Ex_Iterator, ACE_SYNCH>; template class TAO_ESF_Copy_On_Write_Write_Guard, ACE_Unbounded_Set_Ex_Iterator, ACE_SYNCH>; template class TAO_ESF_Copy_On_Write_Write_Guard, ACE_Unbounded_Set_Ex_Iterator, ACE_SYNCH>; template class TAO_ESF_Copy_On_Write_Collection, ACE_Unbounded_Set_Ex_Iterator >; template class TAO_ESF_Copy_On_Write_Collection, ACE_Unbounded_Set_Ex_Iterator >; template class TAO_ESF_Copy_On_Write_Collection, ACE_Unbounded_Set_Ex_Iterator >; template class TAO_ESF_Copy_On_Write_Collection, ACE_Unbounded_Set_Ex_Iterator >; template class TAO_ESF_Copy_On_Write_Collection, ACE_Unbounded_Set_Ex_Iterator >; template class TAO_ESF_Copy_On_Write_Collection, ACE_Unbounded_Set_Ex_Iterator >; template class TAO_ESF_Copy_On_Write_Collection, ACE_Unbounded_Set_Ex_Iterator >; template class TAO_ESF_Copy_On_Write_Collection, ACE_Unbounded_Set_Ex_Iterator >; template class TAO_ESF_Copy_On_Write_Collection, ACE_Unbounded_Set_Ex_Iterator >; #elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) #pragma instantiate TAO_Notify_ProxySupplier_T #pragma instantiate TAO_Notify_Proxy_T #pragma instantiate TAO_Notify_ProxySupplier_T #pragma instantiate TAO_Notify_Proxy_T #pragma instantiate TAO_Notify_ProxySupplier_T #pragma instantiate TAO_Notify_Proxy_T #pragma instantiate TAO_Notify_ProxySupplier_T #pragma instantiate TAO_Notify_Proxy_T #pragma instantiate TAO_Notify_ProxyConsumer_T #pragma instantiate TAO_Notify_Proxy_T #pragma instantiate TAO_Notify_ProxyConsumer_T #pragma instantiate TAO_Notify_Proxy_T #pragma instantiate TAO_Notify_ProxyConsumer_T #pragma instantiate TAO_Notify_Proxy_T #pragma instantiate TAO_Notify_ProxyConsumer_T #pragma instantiate TAO_Notify_Proxy_T #pragma instantiate TAO_ESF_Proxy_Collection #pragma instantiate TAO_ESF_Proxy_Collection #pragma instantiate TAO_ESF_Proxy_Collection #pragma instantiate TAO_ESF_Proxy_Collection #pragma instantiate TAO_ESF_Proxy_Collection #pragma instantiate TAO_ESF_Proxy_Collection #pragma instantiate TAO_ESF_Proxy_Collection #pragma instantiate TAO_ESF_Proxy_Collection #pragma instantiate TAO_ESF_Proxy_Collection #pragma instantiate ACE_Unbounded_Set #pragma instantiate ACE_Unbounded_Set //#pragma instantiate ACE_Unbounded_Set #pragma instantiate ACE_Unbounded_Set_Const_Iterator #pragma instantiate ACE_Unbounded_Set_Ex_Iterator #pragma instantiate TAO_ESF_Copy_On_Write, ACE_Unbounded_Set_Ex_Iterator, ACE_SYNCH> #pragma instantiate TAO_ESF_Copy_On_Write, ACE_Unbounded_Set_Ex_Iterator, ACE_SYNCH> #pragma instantiate TAO_ESF_Copy_On_Write, ACE_Unbounded_Set_Ex_Iterator, ACE_SYNCH> #pragma instantiate TAO_ESF_Copy_On_Write, ACE_Unbounded_Set_Ex_Iterator, ACE_SYNCH> #pragma instantiate TAO_ESF_Copy_On_Write, ACE_Unbounded_Set_Ex_Iterator, ACE_SYNCH> #pragma instantiate TAO_ESF_Copy_On_Write, ACE_Unbounded_Set_Ex_Iterator, ACE_SYNCH> #pragma instantiate TAO_ESF_Copy_On_Write, ACE_Unbounded_Set_Ex_Iterator, ACE_SYNCH> #pragma instantiate TAO_ESF_Copy_On_Write, ACE_Unbounded_Set_Ex_Iterator, ACE_SYNCH> #pragma instantiate TAO_ESF_Copy_On_Write, ACE_Unbounded_Set_Ex_Iterator, ACE_SYNCH> #pragma instantiate TAO_ESF_Copy_On_Write_Read_Guard,ACE_Unbounded_Set_Ex_Iterator,ACE_SYNCH> #pragma instantiate TAO_ESF_Copy_On_Write_Read_Guard,ACE_Unbounded_Set_Ex_Iterator,ACE_SYNCH> #pragma instantiate TAO_ESF_Copy_On_Write_Read_Guard,ACE_Unbounded_Set_Ex_Iterator,ACE_SYNCH>#pragma instantiate TAO_ESF_Copy_On_Write_Read_Guard,ACE_Unbounded_Set_Ex_Iterator,ACE_SYNCH> #pragma instantitae TAO_ESF_Copy_On_Write_Read_Guard,ACE_Unbounded_Set_Ex_Iterator,ACE_SYNCH> #pragma instantiate TAO_ESF_Copy_On_Write_Read_Guard,ACE_Unbounded_Set_Ex_Iterator,ACE_SYNCH> #pragma instantiate TAO_ESF_Copy_On_Write_Read_Guard,ACE_Unbounded_Set_Ex_Iterator,ACE_SYNCH> #pragma instantiate TAO_ESF_Copy_On_Write_Read_Guard,ACE_Unbounded_Set_Ex_Iterator,ACE_SYNCH> #pragma instantiate TAO_ESF_Copy_On_Write_Read_Guard,ACE_Unbounded_Set_Ex_Iterator,ACE_SYNCH> #pragma instantiate TAO_ESF_Proxy_List #pragma instantiate TAO_ESF_Proxy_List #pragma instantiate TAO_ESF_Proxy_List #pragma instantiate TAO_ESF_Proxy_List #pragma instantiate TAO_ESF_Proxy_List #pragma instantiate TAO_ESF_Proxy_List #pragma instantiate TAO_ESF_Proxy_List #pragma instantiate TAO_ESF_Proxy_List #pragma instantiate TAO_ESF_Proxy_List #pragma instantiate ACE_Unbounded_Set_Ex #pragma instantiate ACE_Unbounded_Set_Ex #pragma instantiate ACE_Unbounded_Set_Ex #pragma instantiate ACE_Unbounded_Set_Ex #pragma instantiate ACE_Unbounded_Set_Ex #pragma instantiate ACE_Unbounded_Set_Ex #pragma instantiate ACE_Unbounded_Set_Ex #pragma instantiate ACE_Unbounded_Set_Ex #pragma instantiate ACE_Unbounded_Set_Ex #pragma instantiate ACE_Unbounded_Set_Ex_Iterator #pragma instantiate ACE_Unbounded_Set_Ex_Iterator #pragma instantiate ACE_Unbounded_Set_Ex_Iterator #pragma instantiate ACE_Unbounded_Set_Ex_Iterator #pragma instantiate ACE_Unbounded_Set_Ex_Iterator #pragma instantiate ACE_Unbounded_Set_Ex_Iterator #pragma instantiate ACE_Unbounded_Set_Ex_Iterator #pragma instantiate ACE_Unbounded_Set_Ex_Iterator #pragma instantiate ACE_Unbounded_Set_Ex_Iterator #pragma instantiate ACE_Unbounded_Set_Iterator #pragma instantiate TAO_ESF_Copy_On_Write_Write_Guard, ACE_Unbounded_Set_Ex_Iterator, ACE_SYNCH> #pragma instantiate TAO_ESF_Copy_On_Write_Write_Guard, ACE_Unbounded_Set_Ex_Iterator, ACE_SYNCH> #pragma instantiate TAO_ESF_Copy_On_Write_Write_Guard, ACE_Unbounded_Set_Ex_Iterator, ACE_SYNCH> #pragma instantiate TAO_ESF_Copy_On_Write_Write_Guard, ACE_Unbounded_Set_Ex_Iterator, ACE_SYNCH> #pragma instantiate TAO_ESF_Copy_On_Write_Write_Guard, ACE_Unbounded_Set_Ex_Iterator, ACE_SYNCH> #pragma instantiate TAO_ESF_Copy_On_Write_Write_Guard, ACE_Unbounded_Set_Ex_Iterator, ACE_SYNCH> #pragma instantiate TAO_ESF_Copy_On_Write_Write_Guard, ACE_Unbounded_Set_Ex_Iterator, ACE_SYNCH> #pragma instantiate TAO_ESF_Copy_On_Write_Write_Guard, ACE_Unbounded_Set_Ex_Iterator, ACE_SYNCH> #pragma instantiate TAO_ESF_Copy_On_Write_Write_Guard, ACE_Unbounded_Set_Ex_Iterator, ACE_SYNCH> #pragma instantiate TAO_ESF_Copy_On_Write_Collection, ACE_Unbounded_Set_Ex_Iterator > #pragma instantiate TAO_ESF_Copy_On_Write_Collection, ACE_Unbounded_Set_Ex_Iterator > #pragma instantiate TAO_ESF_Copy_On_Write_Collection, ACE_Unbounded_Set_Ex_Iterator > #pragma instantiate TAO_ESF_Copy_On_Write_Collection, ACE_Unbounded_Set_Ex_Iterator > #pragma instantiate TAO_ESF_Copy_On_Write_Collection, ACE_Unbounded_Set_Ex_Iterator > #pragma instantiate TAO_ESF_Copy_On_Write_Collection, ACE_Unbounded_Set_Ex_Iterator > #pragma instantiate TAO_ESF_Copy_On_Write_Collection, ACE_Unbounded_Set_Ex_Iterator > #pragma instantiate TAO_ESF_Copy_On_Write_Collection, ACE_Unbounded_Set_Ex_Iterator > #pragma instantiate TAO_ESF_Copy_On_Write_Collection, ACE_Unbounded_Set_Ex_Iterator > #endif /*ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */