TAO_ESF  2.0.7
Public Member Functions | Private Attributes
TAO_ESF_Immediate_Changes Class Reference

Implement the Immediate_Changes strategy. More...

#include <ESF_Immediate_Changes.h>

Inheritance diagram for TAO_ESF_Immediate_Changes:
Inheritance graph
[legend]
Collaboration diagram for TAO_ESF_Immediate_Changes:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 TAO_ESF_Immediate_Changes (void)
 TAO_ESF_Immediate_Changes (const COLLECTION &collection)
virtual void for_each (TAO_ESF_Worker< PROXY > *worker)
virtual void connected (PROXY *proxy)
virtual void reconnected (PROXY *proxy)
virtual void disconnected (PROXY *proxy)
 Remove an element from the collection.
virtual void shutdown (void)
 The EC is shutting down, must release all the elements.

Private Attributes

COLLECTION collection_
ACE_LOCK lock_

Detailed Description

Implement the Immediate_Changes strategy.


Constructor & Destructor Documentation

TAO_ESF_Immediate_Changes::TAO_ESF_Immediate_Changes ( void  )
TAO_ESF_Immediate_Changes::TAO_ESF_Immediate_Changes ( const COLLECTION &  collection)

Member Function Documentation

void TAO_ESF_Immediate_Changes::connected ( PROXY *  proxy) [virtual]

Insert a new element into the collection. The collection assumes ownership of the element.

Implements TAO_ESF_Proxy_Collection< PROXY >.

void TAO_ESF_Immediate_Changes::disconnected ( PROXY *  proxy) [virtual]

Remove an element from the collection.

Implements TAO_ESF_Proxy_Collection< PROXY >.

void TAO_ESF_Immediate_Changes::for_each ( TAO_ESF_Worker< PROXY > *  worker) [virtual]

Iterate over the collection and invoke worker->work() for each member of the collection. This encapsulates

Implements TAO_ESF_Proxy_Collection< PROXY >.

void TAO_ESF_Immediate_Changes::reconnected ( PROXY *  proxy) [virtual]

Insert an element into the collection. No errors can be raised if the element is already present. The collection assumes ownership, i.e. must invoke <proxy->_decr_refcnt()> if the element is already present in the collection.

Implements TAO_ESF_Proxy_Collection< PROXY >.

void TAO_ESF_Immediate_Changes::shutdown ( void  ) [virtual]

The EC is shutting down, must release all the elements.

Implements TAO_ESF_Proxy_Collection< PROXY >.


Member Data Documentation


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Defines