dxd - dynax driver framework  3213
cross platform open source driver development framework
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

templatize launch/conclude

Member Typedef Documentation

◆ target

Constructor & Destructor Documentation

◆ bulk() [1/3]

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

user defined stop commando

default constructor

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

◆ bulk() [2/3]

dx::usb::bulk::bulk ( const endpoint endpoint,
unsigned int  launch = 0,
unsigned int  conclude = 0 

◆ bulk() [3/3]

dx::usb::bulk::bulk ( const struct stream::desc< dx::usb::endpoint >::stream &  stream)

Member Function Documentation

◆ describe()

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

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

+ Here is the caller graph for this function:

◆ in() [1/2]

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

◆ in() [2/2]

bool dx::usb::endpoint::in ( ) const
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ address

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

USB endpoint address.

◆ conclude

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

◆ interface

unsigned int dx::usb::endpoint::interface

USB interface #.

◆ launch

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

user defined start commando

◆ master

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

is computer stream sync master

◆ setting

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

USB interface setting selection.

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

(c) copyright 2009 dynamic acoustics e.U. generated on Wed Nov 18 2020

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.