dxd - dynax driver framework 2.1.0d73
cross platform open source driver development framework
Loading...
Searching...
No Matches
dxd::referenced Class Reference

reference counting base class More...

#include <dxd_reference.h>

+ Inheritance diagram for dxd::referenced:

Public Member Functions

template<typename reference_t >
int release (reference_t &reference)
 
void retain ()
 

Public Attributes

atomic< int > references {}
 

Protected Member Functions

 referenced ()=default
 
 referenced (int references)
 
virtual ~referenced ()=default
 

Detailed Description

reference counting base class

Constructor & Destructor Documentation

◆ referenced() [1/2]

dxd::referenced::referenced ( )
protecteddefault

◆ referenced() [2/2]

dxd::referenced::referenced ( int references)
inlineprotected

◆ ~referenced()

virtual dxd::referenced::~referenced ( )
protectedvirtualdefault

Member Function Documentation

◆ release()

template<typename reference_t >
int dxd::referenced::release ( reference_t & reference)
inline

◆ retain()

void dxd::referenced::retain ( )
inline

Member Data Documentation

◆ references

atomic<int> dxd::referenced::references {}

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

(c) copyright 2009 dynamic acoustics e.U. generated on Fri Nov 15 2024

a closed source license may be obtained by requesting a written permission from dynamic acoustics e.U.
however - governmental use generally and military use especially is strictly prohibited though.