Ark Server API (ASE) - Wiki
Loading...
Searching...
No Matches
Poco::ReferenceCounter Class Reference

Simple ReferenceCounter object, does not delete itself when count reaches 0. More...

#include <SharedPtr.h>

+ Collaboration diagram for Poco::ReferenceCounter:

Public Member Functions

 ReferenceCounter ()
 
void duplicate ()
 
int release ()
 
int referenceCount () const
 

Private Attributes

AtomicCounter _cnt
 

Detailed Description

Simple ReferenceCounter object, does not delete itself when count reaches 0.

Definition at line 31 of file SharedPtr.h.

Constructor & Destructor Documentation

◆ ReferenceCounter()

Poco::ReferenceCounter::ReferenceCounter ( )
inline

Definition at line 35 of file SharedPtr.h.

+ Here is the call graph for this function:

Member Function Documentation

◆ duplicate()

void Poco::ReferenceCounter::duplicate ( )
inline

Definition at line 39 of file SharedPtr.h.

+ Here is the call graph for this function:

◆ referenceCount()

int Poco::ReferenceCounter::referenceCount ( ) const
inline

Definition at line 49 of file SharedPtr.h.

+ Here is the call graph for this function:

◆ release()

int Poco::ReferenceCounter::release ( )
inline

Definition at line 44 of file SharedPtr.h.

+ Here is the call graph for this function:

Member Data Documentation

◆ _cnt

AtomicCounter Poco::ReferenceCounter::_cnt
private

Definition at line 55 of file SharedPtr.h.


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