dxd - dynax driver framework  2675
cross platform open source driver development framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
dx::stream::desc< target_t, max_streams, max_configurations, max_pins, vendor_t > Struct Template Reference

#include <dx_stream.h>

+ Inheritance diagram for dx::stream::desc< target_t, max_streams, max_configurations, max_pins, vendor_t >:
+ Collaboration diagram for dx::stream::desc< target_t, max_streams, max_configurations, max_pins, vendor_t >:

Classes

struct  stream
 stream interface descriptor More...
 

Public Types

enum  bus { bus::usb ='usb\0', bus::pci ='pci\0' }
 

Public Member Functions

unsigned int enumerate (enum class stream::pin::format format=stream::pin::format::any) const
 enumerate typified pins More...
 
const struct streamfind (unsigned int &pin, enum class stream::pin::format format=stream::pin::format::any, enum direction direction=direction::any) const
 finds and returns the stream description and pin idx into this stream More...
 

Public Attributes

enum dx::stream::desc::bus bus
 
char model [0x60]
 
struct dx::stream::desc::stream stream [max_streams]
 
unsigned int streams
 number of streams More...
 
char vendor [0x60]
 

Member Enumeration Documentation

template<typename target_t, int max_streams = 2, int max_configurations = 1, int max_pins = 8, typename vendor_t = void_struct>
enum dx::stream::desc::bus
strong
Enumerator
usb 
pci 

Member Function Documentation

template<typename target_t, int max_streams = 2, int max_configurations = 1, int max_pins = 8, typename vendor_t = void_struct>
unsigned int dx::stream::desc< target_t, max_streams, max_configurations, max_pins, vendor_t >::enumerate ( enum class stream::pin::format  format = stream::pin::format::any) const
inline

enumerate typified pins

+ Here is the call graph for this function:

template<typename target_t, int max_streams = 2, int max_configurations = 1, int max_pins = 8, typename vendor_t = void_struct>
const struct stream* dx::stream::desc< target_t, max_streams, max_configurations, max_pins, vendor_t >::find ( unsigned int &  pin,
enum class stream::pin::format  format = stream::pin::format::any,
enum direction  direction = direction::any 
) const
inline

finds and returns the stream description and pin idx into this stream

Returns
stream description of indexed pin, pin idx will be altered on return!
Parameters
pinin: global pin index, out: pin index into returned stream description
formatsearch stream format filter
directionsearch stream direction filter

+ Here is the call graph for this function:

Member Data Documentation

template<typename target_t, int max_streams = 2, int max_configurations = 1, int max_pins = 8, typename vendor_t = void_struct>
enum dx::stream::desc::bus dx::stream::desc< target_t, max_streams, max_configurations, max_pins, vendor_t >::bus
template<typename target_t, int max_streams = 2, int max_configurations = 1, int max_pins = 8, typename vendor_t = void_struct>
char dx::stream::desc< target_t, max_streams, max_configurations, max_pins, vendor_t >::model[0x60]
template<typename target_t, int max_streams = 2, int max_configurations = 1, int max_pins = 8, typename vendor_t = void_struct>
struct dx::stream::desc::stream dx::stream::desc< target_t, max_streams, max_configurations, max_pins, vendor_t >::stream[max_streams]
template<typename target_t, int max_streams = 2, int max_configurations = 1, int max_pins = 8, typename vendor_t = void_struct>
unsigned int dx::stream::desc< target_t, max_streams, max_configurations, max_pins, vendor_t >::streams

number of streams

template<typename target_t, int max_streams = 2, int max_configurations = 1, int max_pins = 8, typename vendor_t = void_struct>
char dx::stream::desc< target_t, max_streams, max_configurations, max_pins, vendor_t >::vendor[0x60]

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

(c) copyright 2009 dynamic acoustics e.U. generated on Tue Dec 4 2018

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.