Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound 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 Methods

 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_EventChannel, TAO_Notify_EventChannelFactory, TAO_Notify_Reactive_Task, 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.

CORBA::ULong TAO_Notify_Refcountable::refcount_ [protected]
 

The reference count.


The documentation for this class was generated from the following files:
Generated on Thu Jan 15 00:38:41 2004 for TAO_CosNotification by doxygen1.2.18