00001 // $Id: Seq_Worker_T.cpp 76599 2007-01-25 19:45:38Z johnnyw $ 00002 00003 #ifndef TAO_Notify_SEQ_WORKER_T_CPP 00004 #define TAO_Notify_SEQ_WORKER_T_CPP 00005 00006 #include "orbsvcs/Notify/Seq_Worker_T.h" 00007 00008 #if ! defined (__ACE_INLINE__) 00009 #include "orbsvcs/Notify/Seq_Worker_T.inl" 00010 #endif /* __ACE_INLINE__ */ 00011 00012 TAO_BEGIN_VERSIONED_NAMESPACE_DECL 00013 00014 template <class T> 00015 TAO_Notify_Seq_Worker_T<T>::TAO_Notify_Seq_Worker_T (void) 00016 { 00017 } 00018 00019 template<class TYPE> typename TAO_Notify_Seq_Worker_T<TYPE>::SEQ* 00020 TAO_Notify_Seq_Worker_T<TYPE>::create (CONTAINER &container) 00021 { 00022 SEQ* tmp; 00023 ACE_NEW_THROW_EX (tmp, //this->seq_, 00024 SEQ (), 00025 CORBA::INTERNAL ()); 00026 00027 this->seq_ = tmp; 00028 00029 container.collection ()->for_each (this); 00030 00031 return this->seq_._retn (); 00032 00033 } 00034 00035 TAO_END_VERSIONED_NAMESPACE_DECL 00036 00037 #endif /* TAO_Notify_SEQ_WORKER_T_CPP */