#include <Seq_Worker_T.h>
Inheritance diagram for TAO_Notify_Seq_Worker_T< TYPE >:
Public Member Functions | |
TAO_Notify_Seq_Worker_T (void) | |
Constructor. | |
SEQ * | create (CONTAINER &container) |
Create a SEQ. | |
Protected Member Functions | |
void | work (TYPE *object) |
TAO_ESF_Worker method. | |
Protected Attributes | |
SEQ_VAR | seq_ |
The result. | |
Private Types | |
typedef TAO_Notify_Container_T< TYPE > | CONTAINER |
typedef TAO_ESF_Proxy_Collection< TYPE > | COLLECTION |
typedef TYPE::SEQ | SEQ |
typedef TYPE::SEQ_VAR | SEQ_VAR |
Definition at line 34 of file Seq_Worker_T.h.
typedef TAO_ESF_Proxy_Collection<TYPE> TAO_Notify_Seq_Worker_T< TYPE >::COLLECTION [private] |
Definition at line 38 of file Seq_Worker_T.h.
typedef TAO_Notify_Container_T<TYPE> TAO_Notify_Seq_Worker_T< TYPE >::CONTAINER [private] |
Definition at line 37 of file Seq_Worker_T.h.
typedef TYPE::SEQ TAO_Notify_Seq_Worker_T< TYPE >::SEQ [private] |
Definition at line 39 of file Seq_Worker_T.h.
typedef TYPE::SEQ_VAR TAO_Notify_Seq_Worker_T< TYPE >::SEQ_VAR [private] |
Definition at line 40 of file Seq_Worker_T.h.
TAO_BEGIN_VERSIONED_NAMESPACE_DECL TAO_Notify_Seq_Worker_T< T >::TAO_Notify_Seq_Worker_T | ( | void | ) |
TAO_Notify_Seq_Worker_T< TYPE >::SEQ * TAO_Notify_Seq_Worker_T< TYPE >::create | ( | CONTAINER & | container | ) |
Create a SEQ.
Definition at line 20 of file Seq_Worker_T.cpp.
References ACE_NEW_THROW_EX, TAO_Notify_Container_T< TYPE >::collection(), TAO_ESF_Proxy_Collection< PROXY >::for_each(), and TAO_Notify_Seq_Worker_T< TYPE >::seq_.
Referenced by TAO_Notify_EventChannelFactory::get_all_channels(), TAO_Notify_EventChannel::get_all_consumeradmins(), TAO_Notify_EventChannel::get_all_supplieradmins(), TAO_Notify_SupplierAdmin::push_consumers(), and TAO_Notify_ConsumerAdmin::push_suppliers().
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 }
TAO_BEGIN_VERSIONED_NAMESPACE_DECL ACE_INLINE void TAO_Notify_Seq_Worker_T< TYPE >::work | ( | TYPE * | object | ) | [protected, virtual] |
TAO_ESF_Worker method.
Implements TAO_ESF_Worker< TYPE >.
Definition at line 8 of file Seq_Worker_T.inl.
References TAO_Notify_Seq_Worker_T< TYPE >::seq_.
00009 { 00010 this->seq_->length (this->seq_->length () + 1); 00011 00012 this->seq_[this->seq_->length () - 1] = type->id (); 00013 }
SEQ_VAR TAO_Notify_Seq_Worker_T< TYPE >::seq_ [protected] |
The result.
Definition at line 54 of file Seq_Worker_T.h.
Referenced by TAO_Notify_Seq_Worker_T< TYPE >::create(), and TAO_Notify_Seq_Worker_T< TYPE >::work().