dxd - dynax driver framework 2.2.0d81
cross platform open source driver development framework
Loading...
Searching...
No Matches
cf::reference< cf_object_t > Class Template Reference

#include <dx_mach.h>

+ Inheritance diagram for cf::reference< cf_object_t >:

Public Member Functions

::CFIndex count () const noexcept
 
CFTypeID id () noexcept
 
CFTypeID id () noexcept
 
CFTypeID id () noexcept
 
CFTypeID id () noexcept
 
CFTypeID id () noexcept
 
CFTypeID id () noexcept
 
CFTypeID id () noexcept
 
CFTypeID id () noexcept
 
CFTypeID id () noexcept
 
CFTypeID id () noexcept
 
CFTypeID id () noexcept
 
CFTypeID id () noexcept
 
CFTypeID id () noexcept
 
CFTypeID id () noexcept
 
CFTypeID id () noexcept
 
CFTypeID id () noexcept
 
CFTypeID id () noexcept
 
referenceinitialize (cf_object_t cf_object, bool retain=true)
 
virtual operator bool () const noexcept
 
 operator cf_object_t () const noexcept
 
template<typename petty_t = cf_object_t, typename = typename std::enable_if_t <!std::is_same_v<petty_t, ::CFTypeRef>>>
 operator type<> () const noexcept
 
bool operator!= (cf_object_t cf_object) const noexcept
 
 operator::CFTypeID () const noexcept
 
template<typename petty_t = cf_object_t, typename = typename std::enable_if_t <!std::is_same_v<petty_t, ::CFTypeRef>>>
 operator::CFTypeRef () const noexcept
 
referenceoperator= (cf_object_t cf_object)
 
virtual bool operator== (::CFTypeID cf_type) const noexcept
 
bool operator== (cf_object_t cf_object) const noexcept
 
 reference ()=default
 
template<typename petty_t = cf_object_t, typename = typename std::enable_if_t <!std::is_same_v<petty_t, ::CFTypeRef>>>
 reference (::CFTypeRef cf_object, bool retain=true)
 
 reference (cf_object_t cf_object, bool retain=true)
 
 reference (const reference &reference)
 
referencerelease () noexcept
 
const referenceretain () const noexcept
 
virtual ~reference () noexcept
 

Static Public Member Functions

::CFTypeID id () noexcept
 

Protected Attributes

cf_object_t cf_object = nullptr
 

Detailed Description

template<typename cf_object_t>
class cf::reference< cf_object_t >

/brief cf::reference implements the CoreFoundation reference counting class

Constructor & Destructor Documentation

◆ reference() [1/4]

template<typename cf_object_t >
cf::reference< cf_object_t >::reference ( )
default

◆ reference() [2/4]

template<typename cf_object_t >
cf::reference< cf_object_t >::reference ( const reference< cf_object_t > & reference)
inline
+ Here is the call graph for this function:

◆ reference() [3/4]

template<typename cf_object_t >
cf::reference< cf_object_t >::reference ( cf_object_t cf_object,
bool retain = true )
inline
+ Here is the call graph for this function:

◆ reference() [4/4]

template<typename cf_object_t >
template<typename petty_t = cf_object_t, typename = typename std::enable_if_t <!std::is_same_v<petty_t, ::CFTypeRef>>>
cf::reference< cf_object_t >::reference ( ::CFTypeRef cf_object,
bool retain = true )
inline
+ Here is the call graph for this function:

◆ ~reference()

template<typename cf_object_t >
virtual cf::reference< cf_object_t >::~reference ( )
inlinevirtualnoexcept
+ Here is the call graph for this function:

Member Function Documentation

◆ count()

template<typename cf_object_t >
::CFIndex cf::reference< cf_object_t >::count ( ) const
inlinenoexcept

◆ id() [1/18]

template<typename cf_object_t >
::CFTypeID cf::reference< cf_object_t >::id ( )
staticnoexcept
+ Here is the caller graph for this function:

◆ id() [2/18]

CFTypeID cf::reference<::CFDictionaryRef >::id ( )
inlinenoexcept

◆ id() [3/18]

CFTypeID cf::reference<::CFMutableDictionaryRef >::id ( )
inlinenoexcept

◆ id() [4/18]

CFTypeID cf::reference<::CFNumberRef >::id ( )
inlinenoexcept

◆ id() [5/18]

CFTypeID cf::reference<::CFStringRef >::id ( )
inlinenoexcept

◆ id() [6/18]

CFTypeID cf::reference<::CFMutableStringRef >::id ( )
inlinenoexcept

◆ id() [7/18]

CFTypeID cf::reference<::CFArrayRef >::id ( )
inlinenoexcept

◆ id() [8/18]

CFTypeID cf::reference<::CFMutableArrayRef >::id ( )
inlinenoexcept

◆ id() [9/18]

CFTypeID cf::reference<::CFURLRef >::id ( )
inlinenoexcept

◆ id() [10/18]

CFTypeID cf::reference<::CFBundleRef >::id ( )
inlinenoexcept

◆ id() [11/18]

CFTypeID cf::reference<::CFDataRef >::id ( )
inlinenoexcept

◆ id() [12/18]

CFTypeID cf::reference<::CFUUIDRef >::id ( )
inlinenoexcept

◆ id() [13/18]

CFTypeID cf::reference<::CFRunLoopRef >::id ( )
inlinenoexcept

◆ id() [14/18]

CFTypeID cf::reference<::CFRunLoopSourceRef >::id ( )
inlinenoexcept

◆ id() [15/18]

CFTypeID cf::reference<::CFRunLoopObserverRef >::id ( )
inlinenoexcept

◆ id() [16/18]

CFTypeID cf::reference<::CFErrorRef >::id ( )
inlinenoexcept

◆ id() [17/18]

CFTypeID cf::reference<::CFTypeRef >::id ( )
inlinenoexcept

◆ id() [18/18]

CFTypeID cf::reference<::SCPreferencesRef >::id ( )
inlinenoexcept

◆ initialize()

template<typename cf_object_t >
reference & cf::reference< cf_object_t >::initialize ( cf_object_t cf_object,
bool retain = true )
inline
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ operator bool()

template<typename cf_object_t >
virtual cf::reference< cf_object_t >::operator bool ( ) const
inlinevirtualnoexcept

◆ operator cf_object_t()

template<typename cf_object_t >
cf::reference< cf_object_t >::operator cf_object_t ( ) const
inlinenoexcept

◆ operator type<>()

template<typename cf_object_t >
template<typename petty_t = cf_object_t, typename = typename std::enable_if_t <!std::is_same_v<petty_t, ::CFTypeRef>>>
cf::reference< cf_object_t >::operator type<> ( ) const
noexcept

◆ operator!=()

template<typename cf_object_t >
bool cf::reference< cf_object_t >::operator!= ( cf_object_t cf_object) const
inlinenoexcept

◆ operator::CFTypeID()

template<typename cf_object_t >
cf::reference< cf_object_t >::operator::CFTypeID ( ) const
inlinenoexcept

◆ operator::CFTypeRef()

template<typename cf_object_t >
template<typename petty_t = cf_object_t, typename = typename std::enable_if_t <!std::is_same_v<petty_t, ::CFTypeRef>>>
cf::reference< cf_object_t >::operator::CFTypeRef ( ) const
inlinenoexcept

◆ operator=()

template<typename cf_object_t >
reference & cf::reference< cf_object_t >::operator= ( cf_object_t cf_object)
inline
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ operator==() [1/2]

template<typename cf_object_t >
virtual bool cf::reference< cf_object_t >::operator== ( ::CFTypeID cf_type) const
inlinevirtualnoexcept
+ Here is the call graph for this function:

◆ operator==() [2/2]

template<typename cf_object_t >
bool cf::reference< cf_object_t >::operator== ( cf_object_t cf_object) const
inlinenoexcept

◆ release()

template<typename cf_object_t >
reference & cf::reference< cf_object_t >::release ( )
inlinenoexcept
+ Here is the caller graph for this function:

◆ retain()

template<typename cf_object_t >
const reference & cf::reference< cf_object_t >::retain ( ) const
inlinenoexcept
+ Here is the caller graph for this function:

Member Data Documentation

◆ cf_object

template<typename cf_object_t >
cf_object_t cf::reference< cf_object_t >::cf_object = nullptr
protected

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

(c) copyright 2009 dynamic acoustics e.U. generated on Fri Dec 20 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.