dxd - dynax driver framework 2.2.0d81
cross platform open source driver development framework
Loading...
Searching...
No Matches
dxd::portcls::adapter< audio_stream_t, midi_stream_t, desc_t > Class Template Reference

adapter driver to request streaming pin description More...

#include <dxd_portcls_audio.h>

+ Inheritance diagram for dxd::portcls::adapter< audio_stream_t, midi_stream_t, desc_t >:
+ Collaboration diagram for dxd::portcls::adapter< audio_stream_t, midi_stream_t, desc_t >:

Public Member Functions

 adapter (::DRIVER_OBJECT *wdm_driver, ::UNICODE_STRING *registry, const wchar_t *name, class guid guid=0)
 
 operator const::HANDLE () const
 
template<typename type_t >
os_result query (const::UNICODE_STRING &key, type_t &value)
 
template<typename key_t , typename type_t >
os_result query (key_t *key, type_t &value)
 
os_result remove ()
 
os_result set (const::UNICODE_STRING &key, const char *value)
 
os_result set (const::UNICODE_STRING &key, const wchar_t *value)
 
os_result set (const::UNICODE_STRING &key, const::GUID &value)
 
os_result set (const::UNICODE_STRING &key, const::UNICODE_STRING &value)
 
os_result set (const::UNICODE_STRING &key, unsigned int value)
 
template<typename key_t , typename type_t >
os_result set (key_t *key, const type_t &value)
 
template<typename type_t >
unsigned long type ()
 

Public Attributes

unsigned int ports = 1
 miniport subdevices
 
os_result status = not_initialized
 

Protected Attributes

::GUID guid
 
const wchar_t * name = nullptr
 
::DEVICE_OBJECT * wdm_bus = nullptr
 
::DEVICE_OBJECT * wdm_device = nullptr
 
::DEVICE_OBJECT * wdm_pdo = nullptr
 

Detailed Description

template<typename audio_stream_t, typename midi_stream_t, typename desc_t>
class dxd::portcls::adapter< audio_stream_t, midi_stream_t, desc_t >

adapter driver to request streaming pin description

This adapter obtains the pin descriptions from the lower device and generates the miniports with appropriate cable,endpoint and queue size.

Constructor & Destructor Documentation

◆ adapter()

template<typename audio_stream_t , typename midi_stream_t , typename desc_t >
dxd::portcls::adapter< audio_stream_t, midi_stream_t, desc_t >::adapter ( ::DRIVER_OBJECT * wdm_driver,
::UNICODE_STRING * registry,
const wchar_t * name,
class guid guid = 0 )
inline

Member Function Documentation

◆ operator const::HANDLE()

dxd::wdm::registry::operator const::HANDLE ( ) const
inlineinherited

◆ query() [1/2]

template<typename type_t >
os_result dxd::wdm::registry::query ( const::UNICODE_STRING & key,
type_t & value )
inlineinherited

◆ query() [2/2]

template<typename key_t , typename type_t >
os_result dxd::wdm::registry::query ( key_t * key,
type_t & value )
inlineinherited
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ remove()

os_result dxd::wdm::registry::remove ( )
inlineinherited
+ Here is the caller graph for this function:

◆ set() [1/6]

os_result dxd::wdm::registry::set ( const::UNICODE_STRING & key,
const char * value )
inlineinherited
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ set() [2/6]

os_result dxd::wdm::registry::set ( const::UNICODE_STRING & key,
const wchar_t * value )
inlineinherited
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ set() [3/6]

os_result dxd::wdm::registry::set ( const::UNICODE_STRING & key,
const::GUID & value )
inlineinherited
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ set() [4/6]

os_result dxd::wdm::registry::set ( const::UNICODE_STRING & key,
const::UNICODE_STRING & value )
inlineinherited

◆ set() [5/6]

os_result dxd::wdm::registry::set ( const::UNICODE_STRING & key,
unsigned int value )
inlineinherited
+ Here is the caller graph for this function:

◆ set() [6/6]

template<typename key_t , typename type_t >
os_result dxd::wdm::registry::set ( key_t * key,
const type_t & value )
inlineinherited
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ type()

template<typename type_t >
unsigned long dxd::wdm::registry::type ( )
inherited

Member Data Documentation

◆ guid

template<class miniport_t = ::IMiniport>
::GUID dxd::adapter< miniport_t >::guid
protectedinherited

◆ name

template<class miniport_t = ::IMiniport>
const wchar_t* dxd::adapter< miniport_t >::name = nullptr
protectedinherited

◆ ports

template<class miniport_t = ::IMiniport>
unsigned int dxd::adapter< miniport_t >::ports = 1
inherited

miniport subdevices

◆ status

template<class miniport_t = ::IMiniport>
os_result dxd::adapter< miniport_t >::status = not_initialized
inherited

◆ wdm_bus

template<class miniport_t = ::IMiniport>
::DEVICE_OBJECT* dxd::adapter< miniport_t >::wdm_bus = nullptr
protectedinherited

◆ wdm_device

template<class miniport_t = ::IMiniport>
::DEVICE_OBJECT* dxd::adapter< miniport_t >::wdm_device = nullptr
protectedinherited

◆ wdm_pdo

template<class miniport_t = ::IMiniport>
::DEVICE_OBJECT* dxd::adapter< miniport_t >::wdm_pdo = nullptr
protectedinherited

The documentation for this class was generated from the following file:

(c) copyright 2009 dynamic acoustics e.U. generated on Fri Dec 20 2024

a closed source license may be obtained by requesting a written permission from dynamic acoustics e.U.
however - governmental use generally and military use especially is strictly prohibited though.