TAO_CosNotification  2.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
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]

Public Types

typedef
TAO_Notify_Refcountable_Guard_T
< TAO_Notify_Event_Manager
Ptr
 
- Public Types inherited from TAO_Notify_Refcountable
typedef
TAO_Notify_Refcountable_Guard_T
< TAO_Notify_Refcountable
Ptr
 

Public Member Functions

 TAO_Notify_Event_Manager (void)
 Constructor. More...
 
virtual ~TAO_Notify_Event_Manager ()
 Destructor. More...
 
void release ()
 The release method is called when the refcount reaches 0. More...
 
void init (void)
 Init. More...
 
void shutdown (void)
 Init. More...
 
void connect (TAO_Notify_ProxySupplier *proxy_supplier)
 Connect ProxySupplier. More...
 
void disconnect (TAO_Notify_ProxySupplier *proxy_supplier)
 Disconnect ProxySupplier. More...
 
void connect (TAO_Notify_ProxyConsumer *proxy_consumer)
 Connect ProxyConsumer. More...
 
void disconnect (TAO_Notify_ProxyConsumer *proxy_consumer)
 Disconnect ProxyConsumer. More...
 
TAO_Notify_Consumer_Mapconsumer_map (void)
 Map accessors. More...
 
TAO_Notify_Supplier_Mapsupplier_map (void)
 
void offer_change (TAO_Notify_ProxyConsumer *proxy_consumer, const TAO_Notify_EventTypeSeq &added, const TAO_Notify_EventTypeSeq &removed)
 Offer change received on <proxy_consumer>. More...
 
void subscription_change (TAO_Notify_ProxySupplier *proxy_supplier, const TAO_Notify_EventTypeSeq &added, const TAO_Notify_EventTypeSeq &removed)
 Subscription change received on <proxy_supplier>. More...
 
const TAO_Notify_EventTypeSeqoffered_types (void) const
 What are the types being offered. More...
 
const TAO_Notify_EventTypeSeqsubscription_types (void) const
 What are the types being subscribed. More...
 
- Public Member Functions inherited from TAO_Notify_Refcountable
 TAO_Notify_Refcountable (void)
 Constructor. More...
 
virtual ~TAO_Notify_Refcountable ()
 
CORBA::ULong _incr_refcnt (void)
 
CORBA::ULong _decr_refcnt (void)
 

Protected Member Functions

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

Private Member Functions

 TAO_Notify_Event_Manager (TAO_Notify_Event_Manager &)
 
TAO_Notify_Event_Manageroperator= (TAO_Notify_Event_Manager &)
 

Private Attributes

ACE_Auto_Ptr
< TAO_Notify_Consumer_Map
consumer_map_
 Consumer Map. More...
 
ACE_Auto_Ptr
< TAO_Notify_Supplier_Map
supplier_map_
 Supplier Map. More...
 

Detailed Description

A class that manages the Consumer and Supplier maps.

Member Typedef Documentation

Constructor & Destructor Documentation

TAO_Notify_Event_Manager::TAO_Notify_Event_Manager ( void  )

Constructor.

TAO_Notify_Event_Manager::~TAO_Notify_Event_Manager ( )
virtual

Destructor.

TAO_Notify_Event_Manager::TAO_Notify_Event_Manager ( TAO_Notify_Event_Manager )
private

Member Function Documentation

void TAO_Notify_Event_Manager::connect ( TAO_Notify_ProxySupplier proxy_supplier)

Connect ProxySupplier.

void TAO_Notify_Event_Manager::connect ( TAO_Notify_ProxyConsumer proxy_consumer)

Connect ProxyConsumer.

TAO_Notify_Consumer_Map & TAO_Notify_Event_Manager::consumer_map ( void  )

Map accessors.

void TAO_Notify_Event_Manager::disconnect ( TAO_Notify_ProxySupplier proxy_supplier)

Disconnect ProxySupplier.

void TAO_Notify_Event_Manager::disconnect ( TAO_Notify_ProxyConsumer proxy_consumer)

Disconnect ProxyConsumer.

void TAO_Notify_Event_Manager::init ( void  )

Init.

void TAO_Notify_Event_Manager::offer_change ( TAO_Notify_ProxyConsumer proxy_consumer,
const TAO_Notify_EventTypeSeq added,
const TAO_Notify_EventTypeSeq removed 
)

Offer change received on <proxy_consumer>.

const TAO_Notify_EventTypeSeq & TAO_Notify_Event_Manager::offered_types ( void  ) const

What are the types being offered.

TAO_Notify_Event_Manager& TAO_Notify_Event_Manager::operator= ( TAO_Notify_Event_Manager )
private
void TAO_Notify_Event_Manager::publish ( TAO_Notify_ProxyConsumer proxy_consumer,
const TAO_Notify_EventTypeSeq seq,
TAO_Notify_EventTypeSeq new_seq 
)
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 
)
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 
)

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 
)
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 
)
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: