TAO_Notify_Seq_Worker_T< TYPE > Class Template Reference

Helper to construct a sequence of IDS in a collections. More...

#include <Seq_Worker_T.h>

Inheritance diagram for TAO_Notify_Seq_Worker_T< TYPE >:

Inheritance graph
[legend]
Collaboration diagram for TAO_Notify_Seq_Worker_T< TYPE >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 TAO_Notify_Seq_Worker_T (void)
 Constructor.

SEQcreate (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

Detailed Description

template<class TYPE>
class TAO_Notify_Seq_Worker_T< TYPE >

Helper to construct a sequence of IDS in a collections.

Definition at line 34 of file Seq_Worker_T.h.


Member Typedef Documentation

template<class TYPE>
typedef TAO_ESF_Proxy_Collection<TYPE> TAO_Notify_Seq_Worker_T< TYPE >::COLLECTION [private]
 

Definition at line 38 of file Seq_Worker_T.h.

template<class TYPE>
typedef TAO_Notify_Container_T<TYPE> TAO_Notify_Seq_Worker_T< TYPE >::CONTAINER [private]
 

Definition at line 37 of file Seq_Worker_T.h.

template<class TYPE>
typedef TYPE::SEQ TAO_Notify_Seq_Worker_T< TYPE >::SEQ [private]
 

Definition at line 39 of file Seq_Worker_T.h.

template<class TYPE>
typedef TYPE::SEQ_VAR TAO_Notify_Seq_Worker_T< TYPE >::SEQ_VAR [private]
 

Definition at line 40 of file Seq_Worker_T.h.


Constructor & Destructor Documentation

template<class T>
TAO_BEGIN_VERSIONED_NAMESPACE_DECL TAO_Notify_Seq_Worker_T< T >::TAO_Notify_Seq_Worker_T void   ) 
 

Constructor.

Definition at line 15 of file Seq_Worker_T.cpp.

00016 {
00017 }


Member Function Documentation

template<class TYPE>
ACE_TYPENAME 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_CHECK_RETURN, ACE_ENV_ARG_PARAMETER, ACE_NEW_THROW_EX, 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 ACE_ENV_ARG_PARAMETER);
00030   ACE_CHECK_RETURN (0);
00031 
00032   return this->seq_._retn ();
00033 
00034 }

template<class TYPE>
void TAO_Notify_Seq_Worker_T< TYPE >::work TYPE *  object  )  [protected, virtual]
 

= TAO_ESF_Worker method

Implements TAO_ESF_Worker< TYPE >.


Member Data Documentation

template<class TYPE>
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().


The documentation for this class was generated from the following files:
Generated on Thu Nov 9 13:33:08 2006 for TAO_CosNotification by doxygen 1.3.6