|
dxd - dynax driver framework 2.6.0d204
cross platform open source driver development framework
|
virtual streaming device interface class More...
#include <dx_virtual_stream_device.h>
Public Types | |
| typedef desc_t | desc_t |
| typedef shared::event | event |
| typedef stream_t | stream_t |
Public Member Functions | |
| _device (decltype(super::driver)&driver, decltype(super::id)&id) | |
| the virtual stream device class constructor | |
| _device (decltype(super::driver)&driver, decltype(super::id)&id, const desc_t &desc) | |
| catch (...) | |
| DX_PRAGMA_IGNORE_RETURN_VALUE_BEGIN | catch (const dx::exception &__dx_exception) |
| catch (const std::exception &__std_exception) | |
| void | conclude () noexcept override |
| dx_catchall_handler (this,) void conclude() noexcept override | |
| void | exception (const dx::exception &exception, bool filtered=false) const noexcept override |
| virtual uint64_t | frame () const |
| DX_PRAGMA_IGNORE_RETURN_VALUE_END bool | hw_clock () const noexcept override |
| void | hw_clock (abstract::event *) override try |
| DX_PRAGMA_IGNORE_RETURN_VALUE_BEGIN DX_PRAGMA_IGNORE_RETURN_VALUE_END void | info (std::ostream &os) noexcept override |
| _device & | reset () |
| virtual bool | start (uint64_t=0, unsigned int starting=1) |
| virtual unsigned int | stop (bool force=false) noexcept |
| virtual std::string | string (uint8_t) const |
| void | wake () override |
| ~_device () override | |
Public Attributes | |
| promoted< typename super::client_map > | clients |
| abstract::event * | clock |
| promoted< uint32_t >::preference< decltype(dx::stream::control< dx::device< std::string, preference_t > >::preference)> | clocksource |
| std::atomic< size_t > | counter |
| promoted< desc_t >::template preference< preference_t, typename desc_t::value_t > | desc {this->preference} |
| struct { | |
| abstract::event * clock | |
| std::atomic< size_t > counter | |
| uint32_t iosize | |
| } | hw |
| promoted< std::string >::preference< decltype(dx::stream::control< dx::device< std::string, preference_t > >::preference)> | icon |
| promoted< uint32_t >::preference< decltype(dx::stream::control< dx::device< std::string, preference_t > >::preference)> | iosize |
| uint32_t | iosize |
| dx::stream::device::monitor | monitor |
| std::deque< std::function< void(control &)> > | notify |
| promoted< uint32_t >::preference< decltype(dx::stream::control< dx::device< std::string, preference_t > >::preference)> | safety_offset [direction::directions] |
| promoted< uint32_t >::preference< decltype(dx::stream::control< dx::device< std::string, preference_t > >::preference)> | samplerate |
| std::atomic< unsigned int > | started {} |
| std::map< decltype(desc_t::stream::target.idx()), std::weak_ptr< stream_t > > | streams |
| promoted< uint32_t >::preference< decltype(dx::stream::control< dx::device< std::string, preference_t > >::preference)> | sync_cycle_ticks |
| promoted< structdesc_t::stream * >::template preference< decltype(dx::stream::control< dx::device< std::string, preference_t > >::preference), uint32_t > | sync_reference |
| dx::stream::device::monitor | version |
Protected Member Functions | |
| virtual void | flush () |
| virtual void | halt () |
Protected Attributes | |
| std::recursive_mutex | start_stop_in_progress |
| start/stop operation in progress | |
virtual streaming device interface class
| In | case of an error returned by the underlaying API the device class throws a dx::exception. |
|
inherited |
| typedef shared::event dx::virtuel::stream::_device< desc_t, preference_t, stream_t >::event |
|
inherited |
|
inline |
the virtual stream device class constructor
|
inline |
|
inlineoverride |
|
inline |
|
inline |
|
inline |
|
inlineoverridenoexcept |
|
inlineoverridenoexceptinherited |
|
inlineoverridenoexcept |
|
inlineprotectedvirtualinherited |
Reimplemented in dx::stream::stream< device_t, dx::circular, usb::pipe< device_t > >.
|
inlinevirtual |
|
inlineprotectedvirtualinherited |
Reimplemented in dx::coreaudio::_device< desc_t, preference_t, stream_t >, dx::coreaudio::_device< desc_t, preference_t, stream_t< device< desc_t, preference_t, stream_t > > >, dx::coreaudio::_device< dx::virtuel::stream::desc, cf::preference, dx::stream::stream< device< dx::virtuel::stream::desc, cf::preference, dx::stream::stream > > >, dx::coreaudio::_device< dx::virtuel::stream::desc, cf::preference, stream< device< dx::virtuel::stream::desc, cf::preference, stream > > >, dx::proxy::stream::_device< desc_t, preference_t, stream_t >, dx::proxy::stream::_device< desc_t, preference_t, stream_t< device< desc_t, preference_t, stream_t > > >, dx::proxy::stream::_device< dx::stream::desc<>, dx::preference, stream< device< dx::stream::desc<>, dx::preference, stream > > >, dx::stream::pin< device_t, _circular_t >, dx::stream::stream< device_t, dx::circular, usb::pipe< device_t > >, dx::usb::platform::pipe< device_t, interface_t >, dx::usb::platform::pipe< device<>, interface >, dx::usb::platform::pipe< device_t, interface >, dx::usb::platform::pipe< device_t, usb::interface >, and dx::usb::stream::pipe< device_t, circular_t, stream_t >.
|
inlineoverridevirtualnoexcept |
|
inlineoverridevirtual |
|
inlineoverridenoexcept |
|
inline |
|
inlinevirtualinherited |
result indicates if start changed the state.
Reimplemented in dx::coreaudio::_device< desc_t, preference_t, stream_t >, dx::coreaudio::_device< desc_t, preference_t, stream_t< device< desc_t, preference_t, stream_t > > >, dx::coreaudio::_device< dx::virtuel::stream::desc, cf::preference, dx::stream::stream< device< dx::virtuel::stream::desc, cf::preference, dx::stream::stream > > >, dx::coreaudio::_device< dx::virtuel::stream::desc, cf::preference, stream< device< dx::virtuel::stream::desc, cf::preference, stream > > >, dx::coreaudio::pod::device< desc_t, preference_t, stream_t >, dx::stream::pin< device_t, _circular_t >, dx::stream::stream< device_t, dx::circular, usb::pipe< device_t > >, dx::usb::platform::pipe< device_t, interface_t >, dx::usb::platform::pipe< device<>, interface >, dx::usb::platform::pipe< device_t, interface >, dx::usb::platform::pipe< device_t, usb::interface >, and dx::usb::stream::pipe< device_t, circular_t, stream_t >.
|
inlinevirtualnoexceptinherited |
result indicates the amount of stopped start references
|
inlinevirtual |
|
inlineoverrideinherited |
| promoted<typename super::client_map> dx::virtuel::stream::_device< desc_t, preference_t, stream_t >::clients |
|
inherited |
|
inherited |
|
inherited |
| promoted<desc_t>::template preference<preference_t, typename desc_t::value_t> dx::virtuel::stream::_device< desc_t, preference_t, stream_t >::desc {this->preference} |
| struct { ... } dx::stream::device< dx::stream::control< dx::device< std::string, preference_t > >, desc_t, stream_t >::hw |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
protectedinherited |
start/stop operation in progress
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
| (c) copyright 2009 dynamic acoustics e.U. | generated on |