dxd - dynax driver framework  3191
cross platform open source driver development framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
dxd::referenced Class Reference

reference counting base class More...

#include <dxd_reference.h>

+ Inheritance diagram for dxd::referenced:
+ Collaboration 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

dxd::referenced::referenced ( )
dxd::referenced::referenced ( int  references)
virtual dxd::referenced::~referenced ( )

Member Function Documentation

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

+ Here is the caller graph for this function:

Member Data Documentation

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 Thu May 28 2020

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.