|
dxd - dynax driver framework 2.6.0d205
cross platform open source driver development framework
|
#include <dx_virtual_stream_device.h>
Public Types | |
| enum class | bus { usb = 'usb ' , pci = 'pci ' , vm = 'virt' } |
| typedef desc | desc_t |
| typedef shared::event | event |
| typedef dx::stream::shared::stream< device< desc, dx::preference, dx::stream::shared::stream > > | stream_t |
| typedef desc | value_t |
Public Member Functions | |
| struct stream * | align (struct stream *sync_reference) |
| uint32_t | align (uint32_t sync_reference) const |
| DX_PRAGMA_IGNORE_RETURN_VALUE_BEGIN | catch (const dx::exception &__dx_exception) |
| void | conclude () noexcept override |
| dx_catchall_handler (this,) void conclude() noexcept override | |
| uint32_t | enumerate (const format &format=any) const |
| enumerate typified pins | |
| void | exception (const dx::exception &exception, bool filtered=false) const noexcept override |
| struct stream * | find (const decltype(stream::target.idx())&target) |
| struct stream * | find (const format &format=any, enum direction::direction direction=direction::any) |
| struct stream * | find (const target_t &target) |
| struct stream * | find (uint32_t &pin, const format &format=any, enum direction::direction direction=direction::any) |
| finds and returns the stream description and pin idx into this stream | |
| virtual uint64_t | frame () const |
| 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 |
| virtual void | launch () |
| launch notification: object mounted and ready to use | |
| bool | operator== (const desc &desc) const |
| virtual device & | operator>> (std::ostream &) const |
| _device & | reset () |
| virtual void | sleep () |
| notify system will sleep stub | |
| 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 |
| uint32_t | sync_reference (struct stream *sync_reference) |
| struct stream * | sync_reference (uint32_t sync_reference) |
| void | wake () override |
Public Attributes | |
| enum dx::stream::desc::bus | bus |
| promoted< typename super::client_map > | clients |
| abstract::event * | clock |
| uint32_t | clocks |
| number of independent clocks [currenlty only single clock support] | |
| promoted< uint32_t >::preference< decltype(dx::stream::control< dx::device< std::string, dx::preference > >::preference)> | clocksource |
| std::atomic< size_t > | counter |
| promoted< desc >::template preference< dx::preference, typename desc::value_t > | desc |
| bool | dflt |
| can be selected as default (OS audio) device | |
| dx::driver< decltype(id), dx::preference > & | driver |
| bool | editable |
| can be edited | |
| bool | hidden |
| hide device | |
| 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, dx::preference > >::preference)> | icon |
| const std::string | id |
| promoted< uint32_t >::preference< decltype(dx::stream::control< dx::device< std::string, dx::preference > >::preference)> | iosize |
| uint32_t | iosize |
| bool | launched |
| struct dx::stream::desc::name_id | model |
| dx::stream::device::monitor | monitor |
| std::deque< std::function< void(control &)> > | notify |
| bool | persistence |
| device has capability to store persistent settings (i.e. sample rate; clock source; etc.) | |
| dx::preference | 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(dx::stream::control< dx::device< std::string, dx::preference > >::preference)> | safety_offset [direction::directions] |
| promoted< uint32_t >::preference< decltype(dx::stream::control< dx::device< std::string, dx::preference > >::preference)> | samplerate |
| direction::direction | start_stop_order = direction::any |
| std::atomic< unsigned int > | started |
| struct dx::stream::desc::stream | stream [max_streams] |
| std::map< decltype(desc::stream::target.idx()), std::weak_ptr< dx::stream::shared::stream< device< desc, dx::preference, dx::stream::shared::stream > > > > | streams |
| promoted< uint32_t >::preference< decltype(dx::stream::control< dx::device< std::string, dx::preference > >::preference)> | sync_cycle_ticks |
| promoted< structdesc_t::stream * >::template preference< decltype(dx::stream::control< dx::device< std::string, dx::preference > >::preference), uint32_t > | sync_reference |
| struct dx::stream::desc::name_id | vendor |
| 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 | |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
stronginherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineoverridevirtualnoexceptinherited |
Reimplemented from dx::object.
|
inlineoverridenoexceptinherited |
|
inlineinherited |
enumerate typified pins
|
inlineoverridevirtualnoexceptinherited |
Reimplemented from dx::device< std::string, dx::preference >.
|
inlineinherited |
|
inlineinherited |
| format | search stream format filter |
| direction | search stream direction filter |
|
inlineinherited |
|
inlineinherited |
finds and returns the stream description and pin idx into this stream
| pin | in: global pin index, out: pin index into returned stream description |
| format | search stream format filter |
| direction | search stream direction filter |
|
inlineprotectedvirtualinherited |
|
inlinevirtualinherited |
|
inlineprotectedvirtualinherited |
|
inlineoverridevirtualinherited |
|
inlineoverridevirtualnoexceptinherited |
|
inlinevirtualinherited |
launch notification: object mounted and ready to use
|
inlineinherited |
|
inlinevirtualinherited |
|
inlineinherited |
|
inlinevirtualinherited |
notify system will sleep stub
|
inlinevirtualinherited |
result indicates if start changed the state.
|
inlinevirtualnoexceptinherited |
result indicates the amount of stopped start references
|
inlinevirtualinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineoverrideinherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
number of independent clocks [currenlty only single clock support]
|
inherited |
|
inherited |
|
inherited |
|
inherited |
can be selected as default (OS audio) device
|
inherited |
|
inherited |
can be edited
|
inherited |
hide device
| struct { ... } dx::stream::device< dx::stream::control< dx::device< std::string, dx::preference > >, desc, dx::stream::shared::stream< device< desc, dx::preference, dx::stream::shared::stream > > >::hw |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
device has capability to store persistent settings (i.e. sample rate; clock source; etc.)
|
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 |
|
inherited |
|
inherited |
|
inherited |
| (c) copyright 2009 dynamic acoustics e.U. | generated on |