dxd - dynax driver framework  2799
cross platform open source driver development framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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, 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, unsigned int value)
 
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)
 
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
 miniport subdevices More...
 
os_result status
 

Protected Attributes

::GUID guid
 
wchar_t * name
 
::DEVICE_OBJECT * wdm_bus
 
::DEVICE_OBJECT * wdm_device
 
::DEVICE_OBJECT * wdm_pdo
 

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

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,
wchar_t *  name,
class guid  guid = 0 
)
inline

Member Function Documentation

dxd::wdm::registry::operator const ::HANDLE ( ) const
inlineinherited
template<typename type_t >
os_result dxd::wdm::registry::query ( const ::UNICODE_STRING &  key,
type_t &  value 
)
inlineinherited
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:

os_result dxd::wdm::registry::remove ( )
inlineinherited

+ Here is the caller graph for this function:

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

+ Here is the caller graph for this function:

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:

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:

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:

os_result dxd::wdm::registry::set ( const ::UNICODE_STRING &  key,
const ::UNICODE_STRING &  value 
)
inlineinherited
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:

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

Member Data Documentation

::GUID dxd::adapter< miniport_t >::guid
protectedinherited
wchar_t* dxd::adapter< miniport_t >::name
protectedinherited
unsigned int dxd::adapter< miniport_t >::ports
inherited

miniport subdevices

os_result dxd::adapter< miniport_t >::status
inherited
::DEVICE_OBJECT* dxd::adapter< miniport_t >::wdm_bus
protectedinherited
::DEVICE_OBJECT* dxd::adapter< miniport_t >::wdm_device
protectedinherited
::DEVICE_OBJECT* dxd::adapter< miniport_t >::wdm_pdo
protectedinherited

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

(c) copyright 2009 dynamic acoustics e.U. generated on Thu Sep 19 2019

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.