dxd - dynax driver framework 2.1.0d71
cross platform open source driver development framework
Loading...
Searching...
No Matches
dxd::reference< object_t > Class Template Reference

reference holder for object based reference counter More...

#include <dxd_reference.h>

Public Member Functions

 operator const object_t * () const
 auto converter into const object pointer
 
 operator object_t *& ()
 auto converter into object reference pointer
 
object_t * operator-> () const
 object pointer
 
object_t * operator= (const reference &reference)
 reference object assignment
 
object_t * operator= (object_t *replacement)
 reference object assignment
 
 reference ()=default
 
 reference (const reference &reference)
 
 reference (object_t *object)
 
 ~reference ()
 

Detailed Description

template<class object_t>
class dxd::reference< object_t >

reference holder for object based reference counter

Constructor & Destructor Documentation

◆ reference() [1/3]

template<class object_t >
dxd::reference< object_t >::reference ( )
default

◆ reference() [2/3]

template<class object_t >
dxd::reference< object_t >::reference ( const reference< object_t > & reference)
inline

◆ reference() [3/3]

template<class object_t >
dxd::reference< object_t >::reference ( object_t * object)
inline

◆ ~reference()

template<class object_t >
dxd::reference< object_t >::~reference ( )
inline

Member Function Documentation

◆ operator const object_t *()

template<class object_t >
dxd::reference< object_t >::operator const object_t * ( ) const
inline

auto converter into const object pointer

◆ operator object_t *&()

template<class object_t >
dxd::reference< object_t >::operator object_t *& ( )
inline

auto converter into object reference pointer

◆ operator->()

template<class object_t >
object_t * dxd::reference< object_t >::operator-> ( ) const
inline

object pointer

◆ operator=() [1/2]

template<class object_t >
object_t * dxd::reference< object_t >::operator= ( const reference< object_t > & reference)
inline

reference object assignment

◆ operator=() [2/2]

template<class object_t >
object_t * dxd::reference< object_t >::operator= ( object_t * replacement)
inline

reference object assignment


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

(c) copyright 2009 dynamic acoustics e.U. generated on Wed Oct 2 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.