dxd - dynax driver framework
cross platform open source driver development framework
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 =0

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 ( )

◆ referenced() [2/2]

dxd::referenced::referenced ( int  references)

◆ ~referenced()

virtual dxd::referenced::~referenced ( )

Member Function Documentation

◆ release()

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

◆ retain()

void dxd::referenced::retain ( )

Member Data Documentation

◆ references

atomic<int> dxd::referenced::references =0

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

(c) copyright 2009 dynamic acoustics e.U. generated on Fri Jul 30 2021

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.