|
dxd - dynax driver framework 2.6.0d221
cross platform open source driver development framework
|
#include <dx_stream_stream.h>
Public Types | |
| typedef struct device_t::desc::stream | desc |
| typedef _event_t | event_t |
Public Member Functions | |
| template<typename channel_t> | |
| stream & | attach (channel_t **[2], const std::vector< bool > &) try |
| catch (...) | |
| catch (...) | |
| catch (...) | |
| catch (...) | |
| DX_PRAGMA_IGNORE_RETURN_VALUE_BEGIN | catch (const dx::exception &__dx_exception) |
| DX_PRAGMA_IGNORE_RETURN_VALUE_BEGIN | catch (const dx::exception &__dx_exception) |
| DX_PRAGMA_IGNORE_RETURN_VALUE_BEGIN | catch (const dx::exception &__dx_exception) |
| DX_PRAGMA_IGNORE_RETURN_VALUE_BEGIN | catch (const dx::exception &__dx_exception) |
| catch (const std::exception &__std_exception) | |
| catch (const std::exception &__std_exception) | |
| catch (const std::exception &__std_exception) | |
| catch (const std::exception &__std_exception) | |
| dx_catchall_handler (this,) ~stream() override | |
| virtual float | encoder (dx::stream::encoder::index::type, unsigned int) const |
| virtual bool | encoder (dx::stream::encoder::index::type, unsigned int, float) |
| void | exception (const class exception &exception, bool filtered=false) const noexcept override |
| DX_PRAGMA_IGNORE_RETURN_VALUE_END void | flush () override |
| void | info (std::ostream &os) noexcept override try |
| virtual DX_PRAGMA_IGNORE_RETURN_VALUE_END void | initialize () try |
| void | launch () override try |
| operator circular_t * () const noexcept | |
| DX_PRAGMA_IGNORE_RETURN_VALUE_END circular_t * | operator-> () const noexcept |
| bool | start (uint64_t frame, unsigned int starting=1) override try |
| virtual DX_PRAGMA_IGNORE_RETURN_VALUE_END os_result | status () noexcept |
| stream (device_t &device, const decltype(id)&id, const desc &desc) | |
| creates circular streaming backing store and frame buffers | |
| virtual uint8_t | submit (dx::stream::encoder::index::type, unsigned int) const |
| virtual bool | submit (dx::stream::encoder::index::type, unsigned int, uint8_t) |
| submit encoder stage to device return true if successfully submitted; if false is returned the encode state machine will not update the stage value (i.e. if the stage can't be submitted during streaming pause), given the chance to submit the stage at start(). | |
Public Attributes | |
| struct { | |
| uint32_t granularity | |
| uint32_t linesize | |
| dx::stream::clock::monitor * monitor | |
| os_result status | |
| } | cache |
| event_t | data [direction::directions] |
| event signalising data arrival(in) or draining(out) | |
| const decltype(desc::target.idx()) | id |
| uint32_t | latency {} |
| decltype(device_t::samplerate) & | samplerate |
Protected Member Functions | |
| virtual void | alloc (size_t size, bool free=true) |
| virtual void | free () noexcept |
| overrides may release further alloc()-acquired resources (request buffers, isoc pools, shared-memory attachments) alongside circular; called only from alloc()'s own self-cleanup or the destructor - never from halt()/stop(), so everything alloc() acquires stays live for the object's full lifetime | |
| void | halt () noexcept override |
Protected Attributes | |
| circular_t * | circular {} |
| allocated once by initialize()/alloc(); released only by free() | |
| typedef struct device_t::desc::stream dx::stream::stream< device_t, circular_t, super_stream_t, _event_t >::desc |
| typedef _event_t dx::stream::stream< device_t, circular_t, super_stream_t, _event_t >::event_t |
|
inline |
creates circular streaming backing store and frame buffers
|
inlineprotectedvirtual |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineoverride |
|
inlinevirtual |
|
inlinevirtual |
Reimplemented in dx::usb::stream::pipe< device_t, circular_t, stream_t >.
|
inlineoverridenoexcept |
|
inlineoverride |
|
inlineprotectedvirtualnoexcept |
overrides may release further alloc()-acquired resources (request buffers, isoc pools, shared-memory attachments) alongside circular; called only from alloc()'s own self-cleanup or the destructor - never from halt()/stop(), so everything alloc() acquires stays live for the object's full lifetime
Reimplemented in dx::stream::shared::stream< device_t, circular_t, super_stream_t, event_t >, and dx::usb::stream::pipe< device_t, circular_t, stream_t >.
|
inlineoverrideprotectednoexcept |
Reimplemented in dx::usb::stream::pipe< device_t, circular_t, stream_t >.
|
inlineoverridenoexcept |
Reimplemented in dx::usb::stream::pipe< device_t, circular_t, stream_t >.
|
inlinevirtual |
Reimplemented in dx::usb::stream::pipe< device_t, circular_t, stream_t >.
|
inlineoverride |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlineoverride |
Reimplemented in dx::usb::stream::pipe< device_t, circular_t, stream_t >.
|
inlinevirtualnoexcept |
|
inlinevirtual |
|
inlinevirtual |
submit encoder stage to device return true if successfully submitted; if false is returned the encode state machine will not update the stage value (i.e. if the stage can't be submitted during streaming pause), given the chance to submit the stage at start().
| struct { ... } dx::stream::stream< device_t, circular_t, super_stream_t, _event_t >::cache |
|
protected |
allocated once by initialize()/alloc(); released only by free()
| event_t dx::stream::stream< device_t, circular_t, super_stream_t, _event_t >::data[direction::directions] |
event signalising data arrival(in) or draining(out)
| uint32_t dx::stream::stream< device_t, circular_t, super_stream_t, _event_t >::granularity |
| const decltype(desc::target.idx()) dx::stream::stream< device_t, circular_t, super_stream_t, _event_t >::id |
| uint32_t dx::stream::stream< device_t, circular_t, super_stream_t, _event_t >::latency {} |
| uint32_t dx::stream::stream< device_t, circular_t, super_stream_t, _event_t >::linesize |
| dx::stream::clock::monitor* dx::stream::stream< device_t, circular_t, super_stream_t, _event_t >::monitor |
| decltype(device_t::samplerate) & dx::stream::stream< device_t, circular_t, super_stream_t, _event_t >::samplerate |
| os_result dx::stream::stream< device_t, circular_t, super_stream_t, _event_t >::status |
| (c) copyright 2009 dynamic acoustics e.U. | generated on |