diff options
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/Notify/Seq_Worker_T.cpp')
-rw-r--r-- | TAO/orbsvcs/orbsvcs/Notify/Seq_Worker_T.cpp | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Notify/Seq_Worker_T.cpp b/TAO/orbsvcs/orbsvcs/Notify/Seq_Worker_T.cpp new file mode 100644 index 00000000000..d6a9d03f7f2 --- /dev/null +++ b/TAO/orbsvcs/orbsvcs/Notify/Seq_Worker_T.cpp @@ -0,0 +1,37 @@ +// $Id$ + +#ifndef TAO_NS_SEQ_WORKER_T_CPP +#define TAO_NS_SEQ_WORKER_T_CPP + +#include "Seq_Worker_T.h" + +#if ! defined (__ACE_INLINE__) +#include "Seq_Worker_T.inl" +#endif /* __ACE_INLINE__ */ + +ACE_RCSID(Notify, TAO_NS_Seq_Worker_T, "$id$") + +template <class T> +TAO_NS_Seq_Worker_T<T>::TAO_NS_Seq_Worker_T (void) +{ +} + +template<class TYPE> TAO_NS_Seq_Worker_T<TYPE>::SEQ* +TAO_NS_Seq_Worker_T<TYPE>::create (CONTAINER &container ACE_ENV_ARG_DECL) +{ + SEQ* tmp; + ACE_NEW_THROW_EX (tmp, //this->seq_, + SEQ (), + CORBA::INTERNAL ()); + + this->seq_ = tmp; + + container.collection ()->for_each (this ACE_ENV_ARG_PARAMETER); + ACE_CHECK_RETURN (0); + + return this->seq_._retn (); + +} + +#endif /* TAO_NS_SEQ_WORKER_T_CPP */ + |