dxd - dynax driver framework 2.2.0d81
cross platform open source driver development framework
|
portcls::stream base class More...
#include <dxd_portcls_audio.h>
Public Types | |
typedef stream_desc_t | stream_desc |
Public Member Functions | |
virtual os_result | start () |
virtual void | stop () |
stream (const ::DEVICE_OBJECT *wdm_bus, const dx::stream::open< bus_t > &open, const stream_desc_t &stream_desc) | |
virtual | ~stream () |
portcls::stream destructor | |
Public Attributes | |
os_result | status = not_initialized |
Protected Member Functions | |
bool | cancel () |
virtual void | completion (os_result) |
os_result | ctl (unsigned int ioctl, bool internal=false) |
template<class receipt_t > | |
os_result | ictl (unsigned int ioctl, receipt_t &receipt, bool internal=false) |
template<class post_t , class receipt_t > | |
os_result | ioctl (const post_t &post, unsigned int ioctl, receipt_t &receipt, bool internal=false) |
os_result | ioctl (const void *post, size_t post_size, unsigned int ioctl, void *receipt, size_t receipt_size, bool internal=false) |
IOCTL IRP http://msdn.microsoft.com/en-us/library/windows/hardware/ff540663(v=vs.85).aspx. | |
template<class post_t > | |
os_result | octl (const post_t &post, unsigned int ioctl, bool internal=false) |
os_result | octl (unsigned int post, unsigned int ioctl, bool internal=false) |
os_result | submit (unsigned int ioctl, void *others) |
submit other IRP | |
Protected Attributes | |
os_event | data |
data available event | |
os_event | gap |
space available event | |
circular_t * | io |
define the I/O class for shared memory | |
uint64_t | rx = 0 |
bool | started = false |
portcls::stream base class
typedef stream_desc_t dxd::portcls::stream< circular_t, bus_t, stream_desc_t >::stream_desc |
|
inline |
opens or creates base driver stream
|
inlinevirtual |
portcls::stream destructor
stops streaming,
and closes the stream
Reimplemented in dxd::wavecyclic::stream< circular_t, bus_t, stream_desc_t >, and dxd::dmus::stream< circular_t, bus_t, stream_desc_t >.
|
inlineinherited |
|
inlineprotectedvirtualinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
IOCTL IRP http://msdn.microsoft.com/en-us/library/windows/hardware/ff540663(v=vs.85).aspx.
|
inlineinherited |
|
inlineinherited |
|
inlinevirtual |
starts base driver streaming
|
inlinevirtual |
stops the underlaying base driver streaming
|
inlineinherited |
submit other IRP
|
inherited |
data available event
|
inherited |
space available event
|
inherited |
define the I/O class for shared memory
|
protected |
|
protected |
os_result dxd::portcls::stream< circular_t, bus_t, stream_desc_t >::status = not_initialized |
(c) copyright 2009 dynamic acoustics e.U. | generated on Fri Dec 20 2024 |