|
dxd - dynax driver framework 2.6.0d170
cross platform open source driver development framework
|
ASIO client streaming device interface class. More...
#include <dx_asio_client_device.h>
Inheritance diagram for dx::asio::client::_device< desc_t, preference_t, stream_t >:
Collaboration diagram for dx::asio::client::_device< desc_t, preference_t, stream_t >:Public Types | |
| typedef desc_t | desc_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) | |
| 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. | |
| dx_catchall_handler (this,) void conclude() noexcept override | |
| dx_catchall_rethrow () void conclude() noexcept override | |
| void | exception (const dx::exception &exception, bool filtered=false) noexcept override |
| notification exception handler | |
| virtual uint64_t | frame () const |
| virtual bool | hw_clock () const noexcept |
| void | hw_clock (dx::event< user > &) override |
| void | info (std::ostream &os) noexcept override |
| log object class information | |
| void | launch () override try |
| launch notification: object mounted and ready to use | |
| _device & | reset () |
| virtual bool | start (uint64_t=0, unsigned int starting=1) |
| virtual unsigned int | stop (bool force=false) noexcept |
| ~_device () override | |
Public Attributes | ||
| promoted< typename super::client_map > | clients | |
| dx::event< user > * | clock | |
| promoted< uint32_t >::preference< decltype(super_device_t::preference)> | clocksource | |
| std::atomic< size_t > | counter | |
| promoted< desc_t >::template preference< preference_t, typename desc_t::value_t > | desc {this->preference} | |
| dx::driver< decltype(id), preference_t > & | driver | |
| struct { | ||
| dx::event< user > * clock | ||
| std::atomic< size_t > counter | ||
| uint32_t iosize | ||
| } | hw | |
| const dx::guid | id | |
| uint32_t | iosize | |
| promoted< uint32_t >::preference< decltype(super_device_t::preference)> | iosize | |
| bool | launched {} | |
| dx::stream::device::monitor | monitor | |
| std::deque< std::function< void(control &)> | notify ) | |
| preference_t | preference | |
| std::string | puid | |
| persistent UID - system unique - could change with location | ||
| std::string | puuid | |
| persistent universal UID - universally unique ID (i.e. serial number) | ||
| promoted< uint32_t >::preference< decltype(super_device_t::preference)> | safety_offset [direction::directions] | |
| promoted< uint32_t >::preference< decltype(super_device_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(super_device_t::preference)> | sync_cycle_ticks | |
| promoted< structdesc_t::stream * >::template preference< decltype(super_device_t::preference), uint32_t > | sync_reference | |
| dx::stream::device::monitor | version | |
Protected Member Functions | |
| virtual void | flush () |
| virtual void | halt () |
Protected Attributes | |
| ::AsioDriver * | asio = nullptr |
| std::recursive_mutex | start_stop_in_progress |
| start/stop operation in progress | |
ASIO client streaming device interface class.
| In | case of an error returned by the underlaying API the device class throws a dx::exception. |
|
inherited |
|
inline |
the virtual stream device class constructor
|
inline |
|
inlineoverride |
Here is the call graph for this function:
|
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::proxy::stream::_device< desc_t, preference_t, stream_t >, dx::usb::pipe< device_t >, dx::virtuel::stream::_device< desc_t, preference_t, stream_t >, dx::coreaudio::stream::device< desc_t, preference_t, stream_t >, dx::proxy::device< dx::preference >, dx::proxy::device<>, dx::proxy::device< preference_t >, dx::map::driver< device<> >, and dx::map::driver< device_t >.
Here is the caller graph for this function:
|
inlineoverridenoexceptinherited |
|
inlineoverridenoexcept |
|
inlineoverridevirtualnoexcept |
notification exception handler
Reimplemented from dx::device< dx::guid, preference_t >.
Here is the call graph for this function:
|
inlineprotectedvirtualinherited |
|
inlinevirtual |
Here is the call graph for this function:
|
inlineprotectedvirtualinherited |
|
inlinevirtualnoexceptinherited |
|
inlineoverridevirtual |
|
inlineoverridevirtualnoexcept |
log object class information
Reimplemented from dx::stream::device< dx::stream::control< dx::device< dx::guid, preference_t > >, desc_t, stream_t >.
Here is the call graph for this function:
|
inlineoverridevirtual |
launch notification: object mounted and ready to use
Reimplemented from dx::object.
Here is the call graph for this function:
|
inline |
|
inlinevirtualinherited |
result indicates if start changed the state.
|
inlinevirtualnoexceptinherited |
result indicates the amount of stopped start references
|
protected |
| promoted<typename super::client_map> dx::asio::client::_device< desc_t, preference_t, stream_t >::clients |
|
inherited |
|
inherited |
|
inherited |
| promoted<desc_t>::template preference<preference_t, typename desc_t::value_t> dx::asio::client::_device< desc_t, preference_t, stream_t >::desc {this->preference} |
|
inherited |
| struct { ... } dx::stream::device< dx::stream::control< dx::device< dx::guid, preference_t > > , desc_t , stream_t >::hw |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
persistent UID - system unique - could change with location
|
inherited |
persistent universal UID - universally unique ID (i.e. serial number)
|
inherited |
|
inherited |
|
protectedinherited |
start/stop operation in progress
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
| (c) copyright 2009 dynamic acoustics e.U. | generated on Mon Nov 3 2025 |