dxd - dynax driver framework  2786
cross platform open source driver development framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
dx::usb::bulk Struct Reference

#include <dx_usb.h>

+ Inheritance diagram for dx::usb::bulk:
+ Collaboration diagram for dx::usb::bulk:

Public Types

typedef endpoint target
 

Public Member Functions

 bulk (const endpoint &endpoint, bool master, unsigned int launch=0, unsigned int conclude=0)
 user defined stop commando More...
 
 bulk (const endpoint &endpoint, unsigned int launch=0, unsigned int conclude=0)
 
 bulk (const struct stream::desc< dx::usb::endpoint >::stream &stream)
 
std::string describe () const
 describes config as channels*format/[in|out] #idx:plug More...
 
bool in () const
 

Static Public Member Functions

static bool in (unsigned int address)
 

Public Attributes

unsigned int address
 USB endpoint address. More...
 
unsigned int conclude =0
 
unsigned int interface
 USB interface #. More...
 
unsigned int launch =0
 user defined start commando More...
 
bool master =false
 is computer stream sync master More...
 
unsigned int setting
 USB interface setting selection. More...
 

Detailed Description

Todo:
templatize launch/conclude

Member Typedef Documentation

Constructor & Destructor Documentation

dx::usb::bulk::bulk ( const endpoint endpoint,
bool  master,
unsigned int  launch = 0,
unsigned int  conclude = 0 
)
inline

user defined stop commando

default constructor

needed for devices inheriting from bulk (i.e. coremidi/coreaudio), which cant be initialized during construction

dx::usb::bulk::bulk ( const endpoint endpoint,
unsigned int  launch = 0,
unsigned int  conclude = 0 
)
inline
dx::usb::bulk::bulk ( const struct stream::desc< dx::usb::endpoint >::stream &  stream)
inline

Member Function Documentation

std::string dx::usb::endpoint::describe ( ) const
inlineinherited

describes config as channels*format/[in|out] #idx:plug

static bool dx::usb::endpoint::in ( unsigned int  address)
inlinestaticinherited
bool dx::usb::endpoint::in ( ) const
inlineinherited

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

unsigned int dx::usb::endpoint::address
inherited

USB endpoint address.

unsigned int dx::usb::bulk::conclude =0
unsigned int dx::usb::endpoint::interface
inherited

USB interface #.

unsigned int dx::usb::bulk::launch =0

user defined start commando

bool dx::usb::bulk::master =false

is computer stream sync master

unsigned int dx::usb::endpoint::setting
inherited

USB interface setting selection.


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

(c) copyright 2009 dynamic acoustics e.U. generated on Thu Sep 12 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.