Logo Search packages:      
Sourcecode: poco version File versions  Download package

Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes

Poco::RefCountedObject Class Reference

#include <RefCountedObject.h>

Inheritance diagram for Poco::RefCountedObject:
Inheritance graph
Collaboration diagram for Poco::RefCountedObject:
Collaboration graph

List of all members.

Public Member Functions

void duplicate () const
int referenceCount () const
void release () const
 Increments the object's reference count.

Protected Member Functions

virtual ~RefCountedObject ()
 Returns the reference count.

Private Member Functions

RefCountedObjectoperator= (const RefCountedObject &)
 RefCountedObject (const RefCountedObject &)
 Destroys the RefCountedObject.

Private Attributes

AtomicCounter _counter

Detailed Description

A base class for objects that employ reference counting based garbage collection.

Reference-counted objects inhibit construction by copying and assignment.

Definition at line 50 of file RefCountedObject.h.

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index