dxd - dynax driver framework  2711
cross platform open source driver development framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
dx::test::usb::device Class Reference

#include <dx_test_usb.h>

+ Inheritance diagram for dx::test::usb::device:
+ Collaboration diagram for dx::test::usb::device:

Public Member Functions

 catchall () virtual ~device() noexcept
 the device class destructor More...
 
virtual void conclude () noexcept
 conclude notification: device will be removed from tree More...
 
void configuration (unsigned char configuration) throw (exception_t)
 
unsigned char configuration () const throw (exception_t)
 
unsigned char configurations () const throw (exception_t)
 
template<typename desc_t >
void enumerate (desc_t &desc) const throw (os_result)
 
virtual void exception (const exception_t &) noexcept try
 
void initialize (::IOCFPlugInInterface **cf_interface,::CFUUIDRef uuid) throw (exception_t)
 
void initialize (io_object_t io_object,::CFUUIDRef type,::CFUUIDRef uuid) throw (exception_t)
 
virtual void launch () throw (exception_t)
 launch notification: device mounted in tree and ready to use More...
 
 operator const ::io_service_t & () const
 auto converter into const object More...
 
 operator struct dx::usb::descriptor::device () const throw (os_result)
 
::IOUSBDeviceInterface650 * operator-> () const
 
 operator::io_service_t & ()
 auto converter into object More...
 
 operator::io_service_t * ()
 auto converter into object pointer More...
 
 operator::IOUSBDeviceInterface650 ** () const
 
bool operator== (::io_service_t io_service) const noexcept
 
void reenumerate () throw (exception_t)
 
void reset () throw (exception_t)
 
template<int length>
std::string string (unsigned char idx)
 
std::string string (unsigned char idx) const throw (exception_t)
 
void submit (const request< data_t > &request) const throw (exception_t)
 
data_t submit (const control &control) const throw (exception_t)
 
int unsigned version () const noexcept
 

Public Attributes

typedef::io_service_t creator
 
std::deque< interface
< exception_t > > 
interface
 

Member Function Documentation

dx::usb::device< exception_t >::catchall ( )
inlinenoexceptinherited

the device class destructor

the underlaying IOUSB API is USBDeviceClose().

remark: The io_service reference itself is managed by inherited io::reference

for detailed information see

virtual void dx::usb::device< exception_t >::conclude ( )
inlinevirtualnoexceptinherited

conclude notification: device will be removed from tree

void dx::usb::device< exception_t >::configuration ( unsigned char  configuration)
throw (exception_t
)
inlineinherited

+ Here is the call graph for this function:

unsigned char dx::usb::device< exception_t >::configuration ( ) const
throw (exception_t
)
inlineinherited
unsigned char dx::usb::device< exception_t >::configurations ( ) const
throw (exception_t
)
inlineinherited
template<typename desc_t >
void dx::test::usb::device::enumerate ( desc_t &  desc) const
throw (os_result
)
inline

+ Here is the call graph for this function:

virtual void dx::usb::device< exception_t >::exception ( const exception_t &  )
inlinevirtualnoexceptinherited
void dx::cf::interface< ::IOUSBDeviceInterface650 , exception_t >::initialize ( ::IOCFPlugInInterface **  cf_interface,
::CFUUIDRef  uuid 
)
throw (exception_t
)
inlineinherited
void dx::cf::interface< ::IOUSBDeviceInterface650 , exception_t >::initialize ( io_object_t  io_object,
::CFUUIDRef  type,
::CFUUIDRef  uuid 
)
throw (exception_t
)
inlineinherited
virtual void dx::usb::device< exception_t >::launch ( )
throw (exception_t
)
inlinevirtualinherited

launch notification: device mounted in tree and ready to use

dx::io::reference< ::io_service_t >::operator const ::io_service_t & ( ) const
inlineinherited

auto converter into const object

dx::test::usb::device::operator struct dx::usb::descriptor::device ( ) const
throw (os_result
)
inline
::IOUSBDeviceInterface650 * dx::cf::interface< ::IOUSBDeviceInterface650 , exception_t >::operator-> ( ) const
inlineinherited
dx::io::reference< ::io_service_t >::operator ::io_service_t & ( )
inlineinherited

auto converter into object

dx::io::reference< ::io_service_t >::operator ::io_service_t * ( )
inlineinherited

auto converter into object pointer

dx::cf::interface< ::IOUSBDeviceInterface650 , exception_t >::operator ::IOUSBDeviceInterface650 ** ( ) const
inlineinherited
bool dx::usb::device< exception_t >::operator== ( ::io_service_t  io_service) const
inlinenoexceptinherited
void dx::usb::device< exception_t >::reenumerate ( )
throw (exception_t
)
inlineinherited
void dx::usb::device< exception_t >::reset ( )
throw (exception_t
)
inlineinherited
template<int length>
std::string dx::test::usb::device::string ( unsigned char  idx)
inline
std::string dx::usb::device< exception_t >::string ( unsigned char  idx) const
throw (exception_t
)
inlineinherited

+ Here is the call graph for this function:

void dx::usb::device< exception_t >::submit ( const request< data_t > &  request) const
throw (exception_t
)
inlineinherited
data_t dx::usb::device< exception_t >::submit ( const control control) const
throw (exception_t
)
inlineinherited
int unsigned dx::test::usb::device::version ( ) const
inlinenoexcept

Member Data Documentation

typedef::io_service_t dx::usb::device< exception_t >::creator
inherited
std::deque<interface<exception_t> > dx::usb::device< exception_t >::interface
inherited

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

(c) copyright 2009 dynamic acoustics e.U. generated on Mon Feb 25 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.