00001 // Seq_Worker_T.cpp,v 1.7 2006/03/14 06:14:34 jtc Exp 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> ACE_TYPENAME TAO_Notify_Seq_Worker_T<TYPE>::SEQ* 00020 TAO_Notify_Seq_Worker_T<TYPE>::create (CONTAINER &container ACE_ENV_ARG_DECL) 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 ACE_ENV_ARG_PARAMETER); 00030 ACE_CHECK_RETURN (0); 00031 00032 return this->seq_._retn (); 00033 00034 } 00035 00036 TAO_END_VERSIONED_NAMESPACE_DECL 00037 00038 #endif /* TAO_Notify_SEQ_WORKER_T_CPP */