|
dxd - dynax driver framework 3.0.0d222
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 event | event_t |
| typedef std::conditional_t< std::is_void_v< group_t >, dx::stream::group< device >, group_t > | group_t |
| bus devices driving their groups' tick pass their own group type | |
| typedef promoted< uint32_t >::template preference< decltype(dx::device< std::string, preference_t >::preference)> | source_t |
| typedef stream_t | stream_t |
Public Member Functions | |
| DX_PRAGMA_IGNORE_RETURN_VALUE_BEGIN DX_PRAGMA_IGNORE_RETURN_VALUE_END | _device (decltype(super::driver)&driver, decltype(super::id)&id, const desc_t &desc, const std::pair< std::string, std::string > &identity={}) |
| _device (decltype(super::driver)&driver, decltype(super::id)&id, const std::pair< std::string, std::string > &identity={}) | |
| the virtual stream device class constructor | |
| void | attach (channel_t **io[dx::stream::direction::directions][2], const std::vector< bool >(&channel_map)[2]) |
| DX_PRAGMA_IGNORE_RETURN_VALUE_BEGIN DX_PRAGMA_IGNORE_RETURN_VALUE_END void | conclude () noexcept override |
| ends every group's session before the device's resources go; the start counts stay with their holders | |
| dx_catchall_handler (this,) protected | |
| operator[](): a group just came into existence, a host wires its per-group transports here | |
| void | exception (const dx::exception &exception, bool filtered=false) const noexcept override |
| notification exception handler | |
| virtual uint64_t | frame () const |
| virtual bool | hw_clock () const noexcept |
| virtual void | hw_clock (abstract::event *hw_clock, uint32_t iosize) |
| DX_PRAGMA_IGNORE_RETURN_VALUE_BEGIN DX_PRAGMA_IGNORE_RETURN_VALUE_END void | info (std::ostream &os) noexcept override |
| log object class information | |
| virtual device & | operator>> (std::ostream &) const |
| group_t & | operator[] (const typename desc_t::stream::desc &stream) |
| the stream's group, created on first use | |
| _device & | reset () |
| virtual void | sleep () |
| notify system will sleep stub | |
| virtual std::pair< source_t &, bool > | source (const struct desc_t::stream &stream) |
| the stream's source selector, created on first use: the preference by stream target, the value an index into the stream's sources | |
| virtual std::string | string (uint8_t) const |
| bool | try_conclude () noexcept |
| atomically conclude()s if currently launched; returns whether this call did it | |
| bool | try_launch () |
| atomically launch()es if not already launched; returns whether this call did it | |
| void | wake () override |
| ~_device () override | |
Public Attributes | |
| promoted< typename super::client_map > | clients |
| dx::shared::guard< std::map< abstract::event *, dx::stream::clock::consumer > > | clock |
| event -> its own iosize and sample counter | |
| promoted< uint32_t >::preference< decltype(super::preference)> | clocksource |
| promoted< desc_t >::template preference< preference_t, typename desc_t::value_t > | desc |
| dx::driver< decltype(id), preference_t > & | driver |
| std::map< decltype(desc_t::stream::group), group_t > | group |
| struct { | |
| dx::shared::guard< std::map< abstract::event *, dx::stream::clock::consumer > > clock | |
| event -> its own iosize and sample counter More... | |
| uint32_t iosize | |
| staging value for registration paths without their own iosize argument (macOS CF property bridge) More... | |
| } | hw |
| promoted< std::string >::preference< decltype(super::preference)> | icon |
| const std::string | id |
| promoted< uint32_t >::preference< decltype(super::preference)> | iosize |
| uint32_t | iosize |
| staging value for registration paths without their own iosize argument (macOS CF property bridge) | |
| std::atomic< bool > | launched |
| dx::stream::device::monitor | monitor |
| 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::preference)> | samplerate |
| std::map< decltype(desc_t::stream::target.idx()), source_t > | sources |
| promoted< structdesc_t::stream * >::template preference< decltype(super::preference), uint32_t > | sync_reference |
| dx::stream::device::monitor | version |
Static Public Attributes | |
| static constexpr bool | hosted |
| the transport's settings belong to another process' device: a hosted device mirrors them through its chains, it keeps no store of them | |
Protected Member Functions | |
| virtual void | launch () |
| launch notification: object mounted and ready to use. Called only through try_launch() - never call this directly from outside the class hierarchy. | |
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, group_t >::event |
|
inherited |
|
inherited |
bus devices driving their groups' tick pass their own group type
|
inherited |
|
inherited |
|
inline |
the virtual stream device class constructor
|
inline |
|
inlineoverride |
|
inlineinherited |
|
inlineoverridevirtualnoexcept |
ends every group's session before the device's resources go; the start counts stay with their holders
Reimplemented from dx::stream::device< dx::device< std::string, preference_t >, desc_t, stream_t, group_t >.
|
inlineinherited |
operator[](): a group just came into existence, a host wires its per-group transports here
|
inlineoverridevirtualnoexcept |
notification exception handler
Reimplemented from dx::device< std::string, preference_t >.
|
inlinevirtual |
|
inlinevirtualnoexceptinherited |
|
inlinevirtualinherited |
|
inlineoverridevirtualnoexcept |
log object class information
Reimplemented from dx::stream::device< dx::device< std::string, preference_t >, desc_t, stream_t, group_t >.
|
inlineprotectedvirtualinherited |
launch notification: object mounted and ready to use. Called only through try_launch() - never call this directly from outside the class hierarchy.
|
inlinevirtualinherited |
|
inlineinherited |
the stream's group, created on first use
|
inline |
|
inlinevirtualinherited |
notify system will sleep stub
|
inlinevirtualinherited |
the stream's source selector, created on first use: the preference by stream target, the value an index into the stream's sources
|
inlinevirtual |
|
inlinenoexceptinherited |
atomically conclude()s if currently launched; returns whether this call did it
|
inlineinherited |
atomically launch()es if not already launched; returns whether this call did it
|
inlineoverridevirtualinherited |
Reimplemented from dx::device< std::string, preference_t >.
| promoted<typename super::client_map> dx::virtuel::stream::_device< desc_t, preference_t, stream_t, group_t >::clients |
|
inherited |
event -> its own iosize and sample counter
|
inherited |
| promoted<desc_t>::template preference<preference_t, typename desc_t::value_t> dx::virtuel::stream::_device< desc_t, preference_t, stream_t, group_t >::desc |
|
inherited |
|
inherited |
streaming groups by desc::stream::group id: every stream of this device is registered with its group
|
staticconstexprinherited |
the transport's settings belong to another process' device: a hosted device mirrors them through its chains, it keeps no store of them
| struct { ... } dx::stream::device< dx::device< std::string, preference_t >, desc_t, stream_t, group_t >::hw |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
staging value for registration paths without their own iosize argument (macOS CF property bridge)
|
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 |
source selectors by stream target: a stream with sources gets its own on first use
|
inherited |
|
inherited |
| (c) copyright 2009 dynamic acoustics e.U. | generated on |