TAO_Notify_Event_Manager Class Reference

A class that manages the Consumer and Supplier maps. More...

#include <Event_Manager.h>

Inheritance diagram for TAO_Notify_Event_Manager:

Inheritance graph
[legend]
Collaboration diagram for TAO_Notify_Event_Manager:

Collaboration graph
[legend]
List of all members.

Public Types

typedef TAO_Notify_Refcountable_Guard_T<
TAO_Notify_Event_Manager
Ptr

Public Member Functions

 TAO_Notify_Event_Manager (void)
 Constuctor.
virtual ~TAO_Notify_Event_Manager ()
 Destructor.
void release ()
 The release method is called when the refcount reaches 0.
void init (ACE_ENV_SINGLE_ARG_DECL)
 Init.
void shutdown (void)
 Init.
void connect (TAO_Notify_ProxySupplier *proxy_supplier ACE_ENV_ARG_DECL)
 Connect ProxySupplier.
void disconnect (TAO_Notify_ProxySupplier *proxy_supplier ACE_ENV_ARG_DECL)
 Disconnect ProxySupplier.
void connect (TAO_Notify_ProxyConsumer *proxy_consumer ACE_ENV_ARG_DECL)
 Connect ProxyConsumer.
void disconnect (TAO_Notify_ProxyConsumer *proxy_consumer ACE_ENV_ARG_DECL)
 Disconnect ProxyConsumer.
TAO_Notify_Consumer_Mapconsumer_map (void)
 Map accessors.
TAO_Notify_Supplier_Mapsupplier_map (void)
void offer_change (TAO_Notify_ProxyConsumer *proxy_consumer, const TAO_Notify_EventTypeSeq &added, const TAO_Notify_EventTypeSeq &removed ACE_ENV_ARG_DECL)
 Offer change received on <proxy_consumer>.
void subscription_change (TAO_Notify_ProxySupplier *proxy_supplier, const TAO_Notify_EventTypeSeq &added, const TAO_Notify_EventTypeSeq &removed ACE_ENV_ARG_DECL)
 Subscription change received on <proxy_supplier>.
const TAO_Notify_EventTypeSeqoffered_types (void) const
 What are the types being offered.
const TAO_Notify_EventTypeSeqsubscription_types (void) const
 What are the types being subscribed.

Protected Member Functions

void subscribe (TAO_Notify_ProxySupplier *proxy_supplier, const TAO_Notify_EventTypeSeq &seq, TAO_Notify_EventTypeSeq &new_seq ACE_ENV_ARG_DECL)
 Subscribe <proxy_supplier> to the event type sequence list <seq>.
void un_subscribe (TAO_Notify_ProxySupplier *proxy_supplier, const TAO_Notify_EventTypeSeq &seq, TAO_Notify_EventTypeSeq &last_seq ACE_ENV_ARG_DECL)
 Unsubscribe <proxy_supplier> to the event type sequence list <seq>.
void publish (TAO_Notify_ProxyConsumer *proxy_consumer, const TAO_Notify_EventTypeSeq &seq, TAO_Notify_EventTypeSeq &new_seq ACE_ENV_ARG_DECL)
 Subscribe <proxy_consumer> to the event type sequence list <seq>.
void un_publish (TAO_Notify_ProxyConsumer *proxy_consumer, const TAO_Notify_EventTypeSeq &seq, TAO_Notify_EventTypeSeq &last_seq ACE_ENV_ARG_DECL)
 Subscribe <proxy_consumer> to the event type sequence list <seq>.

Private Attributes

ACE_Auto_Ptr< TAO_Notify_Consumer_Mapconsumer_map_
 Consumer Map.
ACE_Auto_Ptr< TAO_Notify_Supplier_Mapsupplier_map_
 Supplier Map.

Detailed Description

A class that manages the Consumer and Supplier maps.


Member Typedef Documentation

typedef TAO_Notify_Refcountable_Guard_T< TAO_Notify_Event_Manager > TAO_Notify_Event_Manager::Ptr
 

Reimplemented from TAO_Notify_Refcountable.


Constructor & Destructor Documentation

TAO_Notify_Event_Manager::TAO_Notify_Event_Manager void   ) 
 

Constuctor.

TAO_Notify_Event_Manager::~TAO_Notify_Event_Manager  )  [virtual]
 

Destructor.


Member Function Documentation

void TAO_Notify_Event_Manager::connect TAO_Notify_ProxyConsumer *proxy_consumer  ACE_ENV_ARG_DECL  ) 
 

Connect ProxyConsumer.

void TAO_Notify_Event_Manager::connect TAO_Notify_ProxySupplier *proxy_supplier  ACE_ENV_ARG_DECL  ) 
 

Connect ProxySupplier.

TAO_Notify_Consumer_Map& TAO_Notify_Event_Manager::consumer_map void   ) 
 

Map accessors.

void TAO_Notify_Event_Manager::disconnect TAO_Notify_ProxyConsumer *proxy_consumer  ACE_ENV_ARG_DECL  ) 
 

Disconnect ProxyConsumer.

void TAO_Notify_Event_Manager::disconnect TAO_Notify_ProxySupplier *proxy_supplier  ACE_ENV_ARG_DECL  ) 
 

Disconnect ProxySupplier.

void TAO_Notify_Event_Manager::init ACE_ENV_SINGLE_ARG_DECL   ) 
 

Init.

void TAO_Notify_Event_Manager::offer_change TAO_Notify_ProxyConsumer proxy_consumer,
const TAO_Notify_EventTypeSeq added,
const TAO_Notify_EventTypeSeq &removed  ACE_ENV_ARG_DECL
 

Offer change received on <proxy_consumer>.

const TAO_Notify_EventTypeSeq& TAO_Notify_Event_Manager::offered_types void   )  const
 

What are the types being offered.

void TAO_Notify_Event_Manager::publish TAO_Notify_ProxyConsumer proxy_consumer,
const TAO_Notify_EventTypeSeq seq,
TAO_Notify_EventTypeSeq &new_seq  ACE_ENV_ARG_DECL
[protected]
 

Subscribe <proxy_consumer> to the event type sequence list <seq>.

void TAO_Notify_Event_Manager::release  )  [virtual]
 

The release method is called when the refcount reaches 0.

Implements TAO_Notify_Refcountable.

void TAO_Notify_Event_Manager::shutdown void   ) 
 

Init.

void TAO_Notify_Event_Manager::subscribe TAO_Notify_ProxySupplier proxy_supplier,
const TAO_Notify_EventTypeSeq seq,
TAO_Notify_EventTypeSeq &new_seq  ACE_ENV_ARG_DECL
[protected]
 

Subscribe <proxy_supplier> to the event type sequence list <seq>.

void TAO_Notify_Event_Manager::subscription_change TAO_Notify_ProxySupplier proxy_supplier,
const TAO_Notify_EventTypeSeq added,
const TAO_Notify_EventTypeSeq &removed  ACE_ENV_ARG_DECL
 

Subscription change received on <proxy_supplier>.

const TAO_Notify_EventTypeSeq& TAO_Notify_Event_Manager::subscription_types void   )  const
 

What are the types being subscribed.

TAO_Notify_Supplier_Map& TAO_Notify_Event_Manager::supplier_map void   ) 
 

void TAO_Notify_Event_Manager::un_publish TAO_Notify_ProxyConsumer proxy_consumer,
const TAO_Notify_EventTypeSeq seq,
TAO_Notify_EventTypeSeq &last_seq  ACE_ENV_ARG_DECL
[protected]
 

Subscribe <proxy_consumer> to the event type sequence list <seq>.

void TAO_Notify_Event_Manager::un_subscribe TAO_Notify_ProxySupplier proxy_supplier,
const TAO_Notify_EventTypeSeq seq,
TAO_Notify_EventTypeSeq &last_seq  ACE_ENV_ARG_DECL
[protected]
 

Unsubscribe <proxy_supplier> to the event type sequence list <seq>.


Member Data Documentation

ACE_Auto_Ptr< TAO_Notify_Consumer_Map > TAO_Notify_Event_Manager::consumer_map_ [private]
 

Consumer Map.

ACE_Auto_Ptr< TAO_Notify_Supplier_Map > TAO_Notify_Event_Manager::supplier_map_ [private]
 

Supplier Map.


The documentation for this class was generated from the following files:
Generated on Wed Nov 23 16:23:05 2005 for TAO_CosNotification by  doxygen 1.4.5