TAO_CosNotification 4.0.0
Loading...
Searching...
No Matches
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_ManagerPtr
 
- Public Types inherited from TAO_Notify_Refcountable
typedef TAO_Notify_Refcountable_Guard_T< TAO_Notify_RefcountablePtr
 

Public Member Functions

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

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>.
 
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>.
 
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>.
 
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>.
 

Private Member Functions

 TAO_Notify_Event_Manager (const TAO_Notify_Event_Manager &)=delete
 
TAO_Notify_Event_Manageroperator= (const TAO_Notify_Event_Manager &)=delete
 
 TAO_Notify_Event_Manager (TAO_Notify_Event_Manager &&)=delete
 
TAO_Notify_Event_Manageroperator= (TAO_Notify_Event_Manager &&)=delete
 

Private Attributes

std::unique_ptr< TAO_Notify_Consumer_Mapconsumer_map_
 Consumer Map.
 
std::unique_ptr< TAO_Notify_Supplier_Mapsupplier_map_
 Supplier Map.
 

Detailed Description

A class that manages the Consumer and Supplier maps.

Member Typedef Documentation

◆ Ptr

Constructor & Destructor Documentation

◆ TAO_Notify_Event_Manager() [1/3]

TAO_Notify_Event_Manager::TAO_Notify_Event_Manager ( )

Constructor.

◆ ~TAO_Notify_Event_Manager()

TAO_Notify_Event_Manager::~TAO_Notify_Event_Manager ( )
virtual

Destructor.

◆ TAO_Notify_Event_Manager() [2/3]

TAO_Notify_Event_Manager::TAO_Notify_Event_Manager ( const TAO_Notify_Event_Manager & )
privatedelete

◆ TAO_Notify_Event_Manager() [3/3]

TAO_Notify_Event_Manager::TAO_Notify_Event_Manager ( TAO_Notify_Event_Manager && )
privatedelete

Member Function Documentation

◆ connect() [1/2]

void TAO_Notify_Event_Manager::connect ( TAO_Notify_ProxyConsumer * proxy_consumer)

Connect ProxyConsumer.

◆ connect() [2/2]

void TAO_Notify_Event_Manager::connect ( TAO_Notify_ProxySupplier * proxy_supplier)

Connect ProxySupplier.

◆ consumer_map()

TAO_Notify_Consumer_Map & TAO_Notify_Event_Manager::consumer_map ( )

Map accessors.

◆ disconnect() [1/2]

void TAO_Notify_Event_Manager::disconnect ( TAO_Notify_ProxyConsumer * proxy_consumer)

Disconnect ProxyConsumer.

◆ disconnect() [2/2]

void TAO_Notify_Event_Manager::disconnect ( TAO_Notify_ProxySupplier * proxy_supplier)

Disconnect ProxySupplier.

◆ init()

void TAO_Notify_Event_Manager::init ( )

Init.

◆ offer_change()

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>.

◆ offered_types()

const TAO_Notify_EventTypeSeq & TAO_Notify_Event_Manager::offered_types ( ) const

What are the types being offered.

◆ operator=() [1/2]

TAO_Notify_Event_Manager & TAO_Notify_Event_Manager::operator= ( const TAO_Notify_Event_Manager & )
privatedelete

◆ operator=() [2/2]

TAO_Notify_Event_Manager & TAO_Notify_Event_Manager::operator= ( TAO_Notify_Event_Manager && )
privatedelete

◆ publish()

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>.

◆ release()

void TAO_Notify_Event_Manager::release ( )
virtual

The release method is called when the refcount reaches 0.

Implements TAO_Notify_Refcountable.

◆ shutdown()

void TAO_Notify_Event_Manager::shutdown ( )

Init.

◆ subscribe()

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>.

◆ subscription_change()

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>.

◆ subscription_types()

const TAO_Notify_EventTypeSeq & TAO_Notify_Event_Manager::subscription_types ( ) const

What are the types being subscribed.

◆ supplier_map()

TAO_Notify_Supplier_Map & TAO_Notify_Event_Manager::supplier_map ( )

◆ un_publish()

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>.

◆ un_subscribe()

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

◆ consumer_map_

std::unique_ptr<TAO_Notify_Consumer_Map> TAO_Notify_Event_Manager::consumer_map_
private

Consumer Map.

◆ supplier_map_

std::unique_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: