TAO_EC_ConsumerAdmin Class Reference

Implements the ConsumerAdmin interface, i.e. the factory for TAO_EC_ProxyPushSupplier objects. More...

#include <EC_ConsumerAdmin.h>

Inheritance diagram for TAO_EC_ConsumerAdmin:

Inheritance graph
[legend]
Collaboration diagram for TAO_EC_ConsumerAdmin:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 TAO_EC_ConsumerAdmin (TAO_EC_Event_Channel_Base *event_channel)
virtual ~TAO_EC_ConsumerAdmin (void)
 Destructor...
virtual RtecEventChannelAdmin::ProxyPushSupplier_ptr obtain_push_supplier (void)
virtual PortableServer::POA_ptr _default_POA (void)

Private Attributes

PortableServer::POA_var default_POA_
 Store the default POA.

Detailed Description

Implements the ConsumerAdmin interface, i.e. the factory for TAO_EC_ProxyPushSupplier objects.

Memory Management

It does not assume ownership of the TAO_EC_Event_Channel_Base object; but it *does* assume ownership of the TAO_EC_ProxyPushSupplier_Set object.

Locking

No provisions for locking, access must be serialized externally.

Definition at line 50 of file EC_ConsumerAdmin.h.


Constructor & Destructor Documentation

TAO_BEGIN_VERSIONED_NAMESPACE_DECL TAO_EC_ConsumerAdmin::TAO_EC_ConsumerAdmin ( TAO_EC_Event_Channel_Base event_channel  ) 

Constructor. Builds one using the event_channel argument. In any case it assumes ownership.

Definition at line 17 of file EC_ConsumerAdmin.cpp.

00018   :  TAO_ESF_Peer_Admin<TAO_EC_Event_Channel_Base,TAO_EC_ProxyPushSupplier,RtecEventChannelAdmin::ProxyPushSupplier,TAO_EC_ProxyPushConsumer> (ec)
00019 {
00020   this->default_POA_ =
00021     this->event_channel_->consumer_poa ();
00022 }

TAO_EC_ConsumerAdmin::~TAO_EC_ConsumerAdmin ( void   )  [virtual]

Destructor...

Definition at line 24 of file EC_ConsumerAdmin.cpp.

00025 {
00026 }


Member Function Documentation

PortableServer::POA_ptr TAO_EC_ConsumerAdmin::_default_POA ( void   )  [virtual]

Definition at line 35 of file EC_ConsumerAdmin.cpp.

Referenced by TAO_EC_Event_Channel_Base::deactivate_consumer_admin().

00036 {
00037   return PortableServer::POA::_duplicate (this->default_POA_.in ());
00038 }

RtecEventChannelAdmin::ProxyPushSupplier_ptr TAO_EC_ConsumerAdmin::obtain_push_supplier ( void   )  [virtual]

Definition at line 29 of file EC_ConsumerAdmin.cpp.

References TAO_ESF_Proxy_Admin< EVENT_CHANNEL, PROXY, INTERFACE >::obtain().

00030 {
00031   return this->obtain ();
00032 }


Member Data Documentation

PortableServer::POA_var TAO_EC_ConsumerAdmin::default_POA_ [private]

Store the default POA.

Definition at line 73 of file EC_ConsumerAdmin.h.


The documentation for this class was generated from the following files:
Generated on Tue Feb 2 17:44:27 2010 for TAO_RTEvent by  doxygen 1.4.7