dxd - dynax driver framework 2.1.0d71
cross platform open source driver development framework
|
virtual streaming device interface class More...
#include <dx_virtual_stream_device.h>
Classes | |
struct | property |
Public Types | |
typedef io_service_t | creator |
typedef desc_t | desc |
Public Member Functions | |
virtual uint32_t | clocksource () |
virtual uint32_t | clocksource (uint32_t clocksource) try |
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. | |
uint8_t | configuration () const |
virtual uint8_t | configuration (uint8_t configuration) |
uint8_t | configurations () const |
device (generic::driver &driver, const creator &id) | |
the device class constructor | |
dx_catchall_rethrow () | |
dx_catchall_rethrow () int32_t iosize(uint32_t iosize) try | |
dx_catchall_rethrow () virtual ~device() noexcept | |
the virtual streaming device class destructor | |
dx_catchall_rethrow (, "iosize: %d (current: %d)", iosize, hw.iosize) int32_t iosize() const try | |
void | exception (const dx::exception &exception, bool filtered=false) const noexcept override |
notification exception handler | |
void | info () override |
log object class information | |
int32_t | iosize (uint32_t iosize, dx::event< user > &hw_clock) try |
virtual void | launch () |
launch notification: object mounted and ready to use | |
bool | monitor () noexcept |
template<typename monitor_t = dx::stream::clock::monitor> | |
monitor_t * | monitor (bool force=false) |
operator const creator & () const noexcept | |
auto converter into const creator | |
operator creator * () noexcept | |
auto converter into creator pointer | |
bool | operator== (const creator &id) const noexcept |
device & | reset () |
virtual uint32_t | samplerate () const |
template<typename observer_t = uint32_t> | |
observer_t * | samplerate () const |
virtual uint32_t | samplerate (uint32_t samplerate) |
virtual void | start () |
virtual void | stop (bool=false) |
uint32_t | version () const |
Public Attributes | |
generic::driver & | driver |
const creator | id |
bool | launched {} |
cf::preference | preference |
std::string | puid |
persistent UID (i.e. serial number) | |
std::string | puuid |
persistent universal UID | |
shared::memory< dx::stream::clock::monitor > | shared_monitor |
Protected Attributes | ||
struct { | ||
dx::event< user > * clock | ||
uint32_t iosize | ||
} | hw | |
virtual streaming device interface class
In | case of an error returned by the underlaying API the device class throws a dx::exception. |
typedef io_service_t dx::virtuel::stream::device< desc_t >::creator |
typedef desc_t dx::virtuel::stream::device< desc_t >::desc |
|
inline |
the device class constructor
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtualnoexceptinherited |
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.
Reimplemented in dx::coreaudio::driver< dx::coreaudio::device >, dx::coreaudio::driver< device_t >, and dx::coreaudio::device.
|
inline |
|
inlinevirtual |
|
inline |
dx::virtuel::stream::device< desc_t >::dx_catchall_rethrow | ( | ) |
|
inline |
|
inlinenoexcept |
the virtual streaming device class destructor
|
inline |
|
inlineoverridevirtualnoexcept |
|
inlineoverridevirtual |
log object class information
Implements dx::object.
|
inline |
|
inlinevirtualinherited |
launch notification: object mounted and ready to use
Reimplemented in dx::usb::stream::device< desc_t >, dx::coreaudio::driver< dx::coreaudio::device >, and dx::coreaudio::driver< device_t >.
|
inlinenoexcept |
|
inline |
|
inlinenoexcept |
auto converter into const creator
|
inlinenoexcept |
auto converter into creator pointer
|
inlinenoexcept |
|
inline |
|
inlinevirtual |
|
inline |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inline |
dx::event<user>* dx::virtuel::stream::device< desc_t >::clock |
generic::driver& dx::virtuel::stream::device< desc_t >::driver |
struct { ... } dx::virtuel::stream::device< desc_t >::hw |
const creator dx::virtuel::stream::device< desc_t >::id |
uint32_t dx::virtuel::stream::device< desc_t >::iosize |
|
inherited |
cf::preference dx::virtuel::stream::device< desc_t >::preference |
std::string dx::virtuel::stream::device< desc_t >::puid |
persistent UID (i.e. serial number)
std::string dx::virtuel::stream::device< desc_t >::puuid |
persistent universal UID
shared::memory<dx::stream::clock::monitor> dx::virtuel::stream::device< desc_t >::shared_monitor |
(c) copyright 2009 dynamic acoustics e.U. | generated on Wed Oct 2 2024 |