Public Member Functions | Protected Member Functions | Protected Attributes

TAO_Synch_Refcountable Class Reference

Definition for a synchronised refcountable interface. More...

#include <Synch_Refcountable.h>

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

List of all members.

Public Member Functions

virtual ~TAO_Synch_Refcountable (void)
int increment (void)
int decrement (void)
int refcount (void) const

Protected Member Functions

 TAO_Synch_Refcountable (ACE_Lock *lock, int refcount)

Protected Attributes

ACE_Lockrefcount_lock_

Detailed Description

Definition for a synchronised refcountable interface.

Definition at line 39 of file Synch_Refcountable.h.


Constructor & Destructor Documentation

TAO_Synch_Refcountable::~TAO_Synch_Refcountable ( void   )  [virtual]

Definition at line 22 of file Synch_Refcountable.cpp.

{
  ACE_ASSERT (this->refcount_ == 0);
  delete this->refcount_lock_;
}

TAO_Synch_Refcountable::TAO_Synch_Refcountable ( ACE_Lock lock,
int  refcount 
) [protected]

Definition at line 16 of file Synch_Refcountable.cpp.


Member Function Documentation

int TAO_Synch_Refcountable::decrement ( void   ) 

Reimplemented from ACE_Refcountable_T< class >.

Definition at line 17 of file Synch_Refcountable.inl.

int TAO_Synch_Refcountable::increment ( void   ) 

Reimplemented from ACE_Refcountable_T< class >.

Definition at line 10 of file Synch_Refcountable.inl.

int TAO_Synch_Refcountable::refcount ( void   )  const

Reimplemented from ACE_Refcountable_T< class >.

Definition at line 24 of file Synch_Refcountable.inl.


Member Data Documentation

Definition at line 52 of file Synch_Refcountable.h.


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