dxd - dynax driver framework 2.1.0d49
cross platform open source driver development framework
Loading...
Searching...
No Matches
dx::coreaudio::server::preference Class Reference

Access to the CoreAudio storage. More...

#include <dx_coreaudio_server.h>

Public Member Functions

preferenceerase (::CFStringRef key=nullptr)
 
template<typename value_t , typename = cf::enable_if_convertible<value_t>>
 operator value_t () const
 return POD from CoreAudio storage with conversion from CoreFoundation types
 
::CFPropertyListRef operator() (::CFPropertyListRef dflt) const
 
template<typename value_t , typename = cf::enable_if_convertible<value_t>>
value_t operator() (value_t dflt) const
 return POD from CoreAudio storage or return default value if not exists with conversion from CoreFoundation types
 
 operator::CFPropertyListRef () const
 
preferenceoperator= (::CFPropertyListRef value)
 
preferenceoperator= (const ::AudioServerPlugInHostInterface *host)
 
template<typename value_t , typename = cf::enable_if_convertible<value_t>>
preferenceoperator= (value_t value)
 write POD to CoreAudio storage with conversion to CoreFoundation types
 
preference operator[] (::CFStringRef key) const
 
template<typename key_t , typename = cf::enable_if_convertible<key_t>>
preference operator[] (key_t key) const
 return preference from CoreAudio storage with conversion of key to CoreFoundation type
 
 preference (const ::AudioServerPlugInHostInterface *host=nullptr, CFStringRef key=nullptr)
 

Detailed Description

Access to the CoreAudio storage.

Constructor & Destructor Documentation

◆ preference()

dx::coreaudio::server::preference::preference ( const ::AudioServerPlugInHostInterface * host = nullptr,
CFStringRef key = nullptr )
inline

Member Function Documentation

◆ erase()

preference & dx::coreaudio::server::preference::erase ( ::CFStringRef key = nullptr)
inline

◆ operator value_t()

template<typename value_t , typename = cf::enable_if_convertible<value_t>>
dx::coreaudio::server::preference::operator value_t ( ) const
inline

return POD from CoreAudio storage with conversion from CoreFoundation types

◆ operator()() [1/2]

::CFPropertyListRef dx::coreaudio::server::preference::operator() ( ::CFPropertyListRef dflt) const
inline

◆ operator()() [2/2]

template<typename value_t , typename = cf::enable_if_convertible<value_t>>
value_t dx::coreaudio::server::preference::operator() ( value_t dflt) const
inline

return POD from CoreAudio storage or return default value if not exists with conversion from CoreFoundation types

◆ operator::CFPropertyListRef()

dx::coreaudio::server::preference::operator::CFPropertyListRef ( ) const
inline

◆ operator=() [1/3]

preference & dx::coreaudio::server::preference::operator= ( ::CFPropertyListRef value)
inline

◆ operator=() [2/3]

preference & dx::coreaudio::server::preference::operator= ( const ::AudioServerPlugInHostInterface * host)
inline

◆ operator=() [3/3]

template<typename value_t , typename = cf::enable_if_convertible<value_t>>
preference & dx::coreaudio::server::preference::operator= ( value_t value)
inline

write POD to CoreAudio storage with conversion to CoreFoundation types

◆ operator[]() [1/2]

preference dx::coreaudio::server::preference::operator[] ( ::CFStringRef key) const
inline

◆ operator[]() [2/2]

template<typename key_t , typename = cf::enable_if_convertible<key_t>>
preference dx::coreaudio::server::preference::operator[] ( key_t key) const
inline

return preference from CoreAudio storage with conversion of key to CoreFoundation type


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

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