dxd - dynax driver framework 2.3.0d132
cross platform open source driver development framework
Loading...
Searching...
No Matches
dx::proxy::__hide_if_scalar< type_t > Struct Template Reference

OS proxy device interface class. More...

#include <dx_proxy_device.h>

+ Inheritance diagram for dx::proxy::__hide_if_scalar< type_t >:
+ Collaboration diagram for dx::proxy::__hide_if_scalar< type_t >:

Detailed Description

template<typename type_t>
struct dx::proxy::__hide_if_scalar< type_t >

OS proxy device interface class.

This is the OS proxy device interface class. This class is used for a platform independent way of accessing kernel/driverkit devices. The device class uses the driver interface helper class to construct the device object and to bind the device to the driver identified by the io_service.

example:

try() { // guard the block
// choose a driver
// enumerate devices
std::cout<< driver.size()<< " device(s) found:"<< std::endl;
// go thru all devices; you have to lock the driver if this multi-threaded
for (auto device: driver){
// return an int32_t from an IOCTL served by the driver
int32_t my_data= device.ioctl<int32_t>(kMyIoctl);
}
} cd_catchall()
abstract base driver interface class This is the abstract base interface to a driver.
Definition dx_driver.h:61
OS proxy device interface class.
Definition macOS/dx_proxy_device.h:72
size_t ioctl(uint32_t ioctl, const tx_t &tx, rx_t &rx) const
Definition macOS/dx_proxy_device.h:212
Definition macOS/dx_proxy_driver.h:54
int int32_t
Definition dxd_base.h:109
Exceptions
Incase of an error returned by the underlaying API the device class throws a dx::exception.

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

(c) copyright 2009 dynamic acoustics e.U. generated on Fri Jul 4 2025

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.