|
dxd - dynax driver framework 3.0.0d222
cross platform open source driver development framework
|
streaming state of one control client More...
#include <dxd_stream_device.h>
Public Member Functions | |
| client (device_t &device, dxd::client &platform) | |
| void | conclude () |
| releases what this client left started | |
| os_result | ioctl (unsigned int ioctl, const void *in, size_t size_in, void *out, size_t size_out, size_t &size) |
| the IOCTLs answered per client, everything else belongs to the device | |
streaming state of one control client
Mixed into the platform's client (dxd::client or dxd::kmdf::client) by the product's client class, so a client vanishing without stopping its streams releases them here rather than leaving the clock domain running.
|
inline |
|
inline |
releases what this client left started
|
inline |
the IOCTLs answered per client, everything else belongs to the device
dx::ioctl::stream::clock::monitor is told apart by its buffer sizes, as dx::proxy::stream::device::monitor issues it: bool asks whether counters exist, a pointer out maps them into this client, the same pointer back in releases that mapping again.
dx::ioctl::stream::open: the target's ring, mapped into this client
dx::ioctl::stream::channel: this client's planar channel buffers for the pin the target names dx::ioctl::stream::format: the ring's format, addressed by the stream's target - the answer is what it runs
< in and out are the same METHOD_BUFFERED buffer
< first attach in this client's process: map the control block into it here, in caller context
dx::ioctl::stream::clock::iosize as dx::stream::iosize: this client's buffer switch event at its own iosize - the bare value is the device's
| dxd::buffer<dx::user> dxd::streaming::client< device_t >::buffer {sizeof(dx::stream::channel::control)} |
| map<dx::kernel, dx::stream::channel::control> dxd::streaming::client< device_t >::kernel {buffer} |
| map<dx::user, dx::stream::channel::control> dxd::streaming::client< device_t >::user |
mapped into the client from within the channel IOCTL, in its own context
| (c) copyright 2009 dynamic acoustics e.U. | generated on |