Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

TAO_Notify_Refcountable Class Reference

Thread-safe refounting, calls the <release> method when refcount falls to 0. More...

#include <Refcountable.h>

Inheritance diagram for TAO_Notify_Refcountable:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 TAO_Notify_Refcountable (void)
 Constuctor.
virtual ~TAO_Notify_Refcountable ()
 Destructor.
CORBA::ULong _incr_refcnt (void)
CORBA::ULong _decr_refcnt (void)
virtual void release (void)=0
 The release method is called when the refcount reaches 0.

Protected Attributes

CORBA::ULong refcount_
 The reference count.
TAO_SYNCH_MUTEX lock_
 The mutex to serialize access to state variables.

Detailed Description

Thread-safe refounting, calls the <release> method when refcount falls to 0.


Constructor & Destructor Documentation

TAO_Notify_Refcountable::TAO_Notify_Refcountable void   ) 
 

Constuctor.

TAO_Notify_Refcountable::~TAO_Notify_Refcountable  )  [virtual]
 

Destructor.


Member Function Documentation

CORBA::ULong TAO_Notify_Refcountable::_decr_refcnt void   ) 
 

CORBA::ULong TAO_Notify_Refcountable::_incr_refcnt void   ) 
 

This method sigantures deliberately match the RefCounting methods required for ESF Proxy

virtual void TAO_Notify_Refcountable::release void   )  [pure virtual]
 

The release method is called when the refcount reaches 0.

Implemented in TAO_Notify_ConsumerAdmin, TAO_Notify_Event, TAO_Notify_EventChannel, TAO_Notify_EventChannelFactory, TAO_Notify_EventTypeSeq, TAO_Notify_FilterAdmin, TAO_Notify_Reactive_Task, TAO_Notify::Reconnection_Registry, TAO_Notify_SupplierAdmin, TAO_Notify_ThreadPool_Task, TAO_Notify_Timer_Queue, and TAO_Notify_Timer_Reactor.


Member Data Documentation

TAO_SYNCH_MUTEX TAO_Notify_Refcountable::lock_ [protected]
 

The mutex to serialize access to state variables.

Reimplemented in TAO_Notify_FilterAdmin.

CORBA::ULong TAO_Notify_Refcountable::refcount_ [protected]
 

The reference count.


The documentation for this class was generated from the following files:
Generated on Fri Dec 31 16:10:29 2004 for TAO_CosNotification by  doxygen 1.3.9.1