#include <ESF_Copy_On_Read.h>
Inheritance diagram for TAO_ESF_Copy_On_Read
Public Methods | |
TAO_ESF_Copy_On_Read (void) | |
Constructors. | |
TAO_ESF_Copy_On_Read (const COLLECTION &collection) | |
virtual void | for_each (TAO_ESF_Worker<PROXY> *worker, CORBA::Environment &ACE_TRY_ENV) |
virtual void | connected (PROXY *proxy, CORBA::Environment &ACE_TRY_ENV) |
Insert a new element into the collection. The collection assumes ownership of the element. | |
virtual void | reconnected (PROXY *proxy, CORBA::Environment &ACE_TRY_ENV) |
virtual void | disconnected (PROXY *proxy, CORBA::Environment &ACE_TRY_ENV) |
Remove an element from the collection. | |
virtual void | shutdown (CORBA::Environment &ACE_TRY_ENV) |
The EC is shutting down, must release all the elements. | |
Private Attributes | |
COLLECTION | collection_ |
ACE_LOCK | lock_ |
The class is parametric on the kind of collection and locking mechanism used.
|
Constructors.
|
|
|
|
Insert a new element into the collection. The collection assumes ownership of the element.
Reimplemented from TAO_ESF_Proxy_Collection. |
|
Remove an element from the collection.
Reimplemented from TAO_ESF_Proxy_Collection. |
|
Iterate over the collection and invoke worker->work() for each member of the collection. This encapsulates Reimplemented from TAO_ESF_Proxy_Collection. |
|
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. Reimplemented from TAO_ESF_Proxy_Collection. |
|
The EC is shutting down, must release all the elements.
Reimplemented from TAO_ESF_Proxy_Collection. |
|
|
|
|