dxd - dynax driver framework 3.0.2
cross platform open source driver development framework
Loading...
Searching...
No Matches
dxd::device::client Class Reference

an open of a device, created by device::client_create(): what it does not answer itself goes to its device More...

#include <dxd_device_client.h>

Inheritance diagram for dxd::device::client:
Collaboration diagram for dxd::device::client:

Public Member Functions

 client(class device& device)
virtual void conclude()
virtual os_result ioctl(unsigned int ioctl, const void* in, size_t size_in, void* out, size_t size_out, size_t& size)
virtual os_result launch()
virtual const map<dx::user, dx::circular>* mapped(uint64_t)
 the mapping of a buffer the client maps by type - the id it was opened with -, where a platform asks for it (DriverKit)
virtual ~client()= default

Public Attributes

bool privileged{}
 the platform's word on the opener, settled ahead of launch(): may change the device for every client

Protected Attributes

class device& device

Detailed Description

an open of a device, created by device::client_create(): what it does not answer itself goes to its device

Constructor & Destructor Documentation

◆ client()

dxd::device::client::client(class device& device)
inline

◆ ~client()

virtual dxd::device::client::~client()
virtualdefault

Member Function Documentation

◆ conclude()

virtual void dxd::device::client::conclude()
inlinevirtual
Here is the caller graph for this function:

◆ ioctl()

virtual os_result dxd::device::client::ioctl(unsigned int ioctl, const void* in, size_t size_in, void* out, size_t size_out, size_t& size)
inlinevirtual
Here is the call graph for this function:
Here is the caller graph for this function:

◆ launch()

virtual os_result dxd::device::client::launch()
inlinevirtual
Here is the caller graph for this function:

◆ mapped()

virtual const map<dx::user, dx::circular>* dxd::device::client::mapped(uint64_t)
inlinevirtual

the mapping of a buffer the client maps by type - the id it was opened with -, where a platform asks for it (DriverKit)

Here is the caller graph for this function:

Member Data Documentation

◆ device

class device& dxd::device::client::device
protected

◆ privileged

bool dxd::device::client::privileged{}

the platform's word on the opener, settled ahead of launch(): may change the device for every client


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