dxd - dynax driver framework 2.6.0d192
cross platform open source driver development framework
Loading...
Searching...
No Matches
dx::coremidi::driver< device_t > Class Template Referenceabstract

#include <dx_coremidi_driver.h>

+ Inheritance diagram for dx::coremidi::driver< device_t >:
+ Collaboration diagram for dx::coremidi::driver< device_t >:

Public Member Functions

virtual void conclude () noexcept
 conclude notification: object will be removed. If you overwrite conclude() you also need to overwrite destructor and check if its needed to be called from there.
 
virtual void exception (const exception &exception, bool filtered=false) const noexcept=0
 notification exception handler
 
virtual void launch ()
 launch notification: object mounted and ready to use
 
virtual bool shutdown () try
 client driver::shutdown/boot(): override to shutdown/boot host driver
 

Public Attributes

elements
 STL member.
 
keys
 STL member.
 
bool launched {}
 
log log
 
decltype(device_t::preference) preference
 
const char * product_id
 
uint32_t version
 

Protected Types

typedef decltype(device_t::id) device_id_t
 

Protected Member Functions

 _Pragma ("clang diagnostic pop") void clear() noexcept try
 replaces std::map::clear to call virtual notification methods
 
 _Pragma ("clang diagnostic pop") void conclude() noexcept override try
 
 _Pragma ("clang diagnostic pop") void launch() override try
 
 _Pragma ("clang diagnostic pop") void remove(const device_id_t &device_id) override try
 finds and removes a device from the device list
 
 _Pragma ("clang diagnostic push") _Pragma("clang diagnostic ignored \"-Wreturn-type\"") catch(const dx
 
 _Pragma ("clang diagnostic push") _Pragma("clang diagnostic ignored \"-Wreturn-type\"") catch(const dx
 
 _Pragma ("clang diagnostic push") _Pragma("clang diagnostic ignored \"-Wreturn-type\"") catch(const dx
 
 _Pragma ("clang diagnostic push") _Pragma("clang diagnostic ignored \"-Wreturn-type\"") catch(const dx
 
void add (const device_id_t &device_id) override try
 adds a new device to the device list
 
virtual void arrived ()
 notify device arrivals completed stub
 
virtual void arrived (device_t &)
 notify specific device arrival stub
 
 catch (...)
 
 catch (...)
 
 catch (...)
 
 catch (...)
 
 catch (const std::exception &__std_exception)
 
 catch (const std::exception &__std_exception)
 
 catch (const std::exception &__std_exception)
 
 catch (const std::exception &__std_exception)
 
 dx_catchall_handler (this,) virtual driver &operator<<(std
 restores device settings
 
void info (std::ostream &os) noexcept override
 log object class information
 
virtual driveroperator<< (const char *file)
 
virtual driveroperator>> (const char *file) const
 
virtual driveroperator>> (std::ostream &ostream) const
 saves device tree
 
virtual void remove (const decltype(device_t::id) &)=0
 finds and removes a device from the device list
 
virtual void removed () noexcept
 notify device removals completed stub
 
virtual void removed (device_t &) noexcept
 notify specific device removal stub
 
void sleep () override
 < notify system will sleep
 
void wake () override
 

Member Typedef Documentation

◆ device_id_t

template<typename device_t >
typedef decltype(device_t::id) dx::map::driver< device_t >::device_id_t
protectedinherited

Member Function Documentation

◆ _Pragma() [1/8]

template<typename device_t >
dx::map::driver< device_t >::_Pragma ( "clang diagnostic pop" )
inlineprotectednoexceptinherited

replaces std::map::clear to call virtual notification methods

◆ _Pragma() [2/8]

template<typename device_t >
dx::map::driver< device_t >::_Pragma ( "clang diagnostic pop" )
inlineoverrideprotectednoexceptinherited

◆ _Pragma() [3/8]

template<typename device_t >
dx::map::driver< device_t >::_Pragma ( "clang diagnostic pop" )
inlineoverrideprotectedinherited

◆ _Pragma() [4/8]

template<typename device_t >
dx::map::driver< device_t >::_Pragma ( "clang diagnostic pop" ) const &
inlineoverrideprotectedinherited

finds and removes a device from the device list

Exceptions
dx::exception

◆ _Pragma() [5/8]

template<typename device_t >
dx::map::driver< device_t >::_Pragma ( "clang diagnostic push" ) const
inlineprotectedinherited

◆ _Pragma() [6/8]

template<typename device_t >
dx::map::driver< device_t >::_Pragma ( "clang diagnostic push" ) const
inlineprotectedinherited

◆ _Pragma() [7/8]

template<typename device_t >
dx::map::driver< device_t >::_Pragma ( "clang diagnostic push" ) const
inlineprotectedinherited

◆ _Pragma() [8/8]

template<typename device_t >
dx::map::driver< device_t >::_Pragma ( "clang diagnostic push" ) const
inlineprotectedinherited
+ Here is the call graph for this function:

◆ add()

template<typename device_t >
void dx::map::driver< device_t >::add ( const device_id_t & device_id)
inlineoverrideprotectedvirtualinherited

adds a new device to the device list

Exceptions
dx::exception

Implements dx::driver< decltype(device_t::id), decltype(device_t::preference)>.

Reimplemented in dx::virtuel::driver< device_t >, and dx::proxy::driver< device_t >.

+ Here is the call graph for this function:

◆ arrived() [1/2]

◆ arrived() [2/2]

template<typename device_t >
virtual void dx::map::driver< device_t >::arrived ( device_t & )
inlineprotectedvirtualinherited

◆ catch() [1/8]

template<typename device_t >
dx::map::driver< device_t >::catch ( ...)
inlineprotectedinherited

◆ catch() [2/8]

template<typename device_t >
dx::map::driver< device_t >::catch ( ...)
inlineprotectedinherited

◆ catch() [3/8]

template<typename device_t >
dx::map::driver< device_t >::catch ( ...)
inlineprotectedinherited

◆ catch() [4/8]

template<typename device_t >
dx::map::driver< device_t >::catch ( ...)
inlineprotectedinherited

◆ catch() [5/8]

template<typename device_t >
dx::map::driver< device_t >::catch ( const std::exception & __std_exception)
inlineprotectedinherited

◆ catch() [6/8]

template<typename device_t >
dx::map::driver< device_t >::catch ( const std::exception & __std_exception)
inlineprotectedinherited

◆ catch() [7/8]

template<typename device_t >
dx::map::driver< device_t >::catch ( const std::exception & __std_exception)
inlineprotectedinherited

◆ catch() [8/8]

template<typename device_t >
dx::map::driver< device_t >::catch ( const std::exception & __std_exception)
inlineprotectedinherited

◆ conclude()

◆ dx_catchall_handler()

template<typename device_t >
dx::map::driver< device_t >::dx_catchall_handler ( this ) &
inlineprotectedinherited

restores device settings

◆ exception()

◆ info()

template<typename device_t >
void dx::map::driver< device_t >::info ( std::ostream & os)
inlineoverrideprotectedvirtualnoexceptinherited

log object class information

Reimplemented from dx::object.

Reimplemented in dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ launch()

◆ operator<<()

template<typename device_t >
virtual driver & dx::map::driver< device_t >::operator<< ( const char * file)
inlineprotectedvirtualinherited
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ operator>>() [1/2]

template<typename device_t >
virtual driver & dx::map::driver< device_t >::operator>> ( const char * file) const
inlineprotectedvirtualinherited
+ Here is the call graph for this function:

◆ operator>>() [2/2]

template<typename device_t >
virtual driver & dx::map::driver< device_t >::operator>> ( std::ostream & ostream) const
inlineprotectedvirtualinherited

saves device tree

Reimplemented in dx::coreaudio::driver< device_t >.

+ Here is the caller graph for this function:

◆ remove()

virtual void dx::driver< decltype(device_t::id) , decltype(device_t::preference) >::remove ( const decltype(device_t::id) & )
protectedpure virtualinherited

finds and removes a device from the device list

◆ removed() [1/2]

template<typename device_t >
virtual void dx::driver< device_id_t, preference_t >::removed ( )
inlineprotectedvirtualnoexceptinherited

notify device removals completed stub

Reimplemented from dx::driver< decltype(device_t::id), decltype(device_t::preference)>.

+ Here is the caller graph for this function:

◆ removed() [2/2]

template<typename device_t >
virtual void dx::map::driver< device_t >::removed ( device_t & )
inlineprotectedvirtualnoexceptinherited

◆ shutdown()

virtual bool dx::driver< decltype(device_t::id) , decltype(device_t::preference) >::shutdown ( )
inlinevirtualinherited

client driver::shutdown/boot(): override to shutdown/boot host driver

Reimplemented in dx::coreaudio::driver< device_t >.

◆ sleep()

template<typename device_t >
void dx::map::driver< device_t >::sleep ( )
inlineoverrideprotectedinherited

< notify system will sleep

notify system wake completed stub

+ Here is the call graph for this function:

◆ wake()

template<typename device_t >
void dx::map::driver< device_t >::wake ( )
inlineoverrideprotectedinherited
+ Here is the call graph for this function:

Member Data Documentation

◆ elements

T std::map< K, T >::elements
inherited

STL member.

◆ keys

K std::map< K, T >::keys
inherited

STL member.

◆ launched

bool dx::object::launched {}
inherited

◆ log

log dx::driver< decltype(device_t::id) , decltype(device_t::preference) >::log
inherited

◆ preference

decltype(device_t::preference) dx::driver< decltype(device_t::id) , decltype(device_t::preference) >::preference
inherited

◆ product_id

const char* dx::driver< decltype(device_t::id) , decltype(device_t::preference) >::product_id
inherited

◆ version

uint32_t dx::driver< decltype(device_t::id) , decltype(device_t::preference) >::version
inherited

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

(c) copyright 2009 dynamic acoustics e.U. generated on Wed Jan 7 2026

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.