dxd - dynax driver framework 3.0.2
cross platform open source driver development framework
Loading...
Searching...
No Matches
dx::service::driver< driver_t >::peer Class Reference

a client's connection to the driver: what it asks the driver answers More...

#include <dx_service_driver.h>

Inheritance diagram for dx::service::driver< driver_t >::peer:
Collaboration diagram for dx::service::driver< driver_t >::peer:

Public Member Functions

size_t ioctl(uint32_t ioctl, const void* in, size_t size_in, void* out, size_t size_out) override
 peer(class driver& driver, uint32_t pid)
std::vector<uint8_t> reply(const message& request) noexcept
 a checked request answered: ioctl() on its data, the reply bounded by what the request takes back - dx::ioctl::listen, the broadcast's, answers nothing

Public Attributes

const uint32_t pid
 the process on the other side, as the OS states it

Protected Attributes

class driver& driver

Detailed Description

template<class driver_t>
class dx::service::driver< driver_t >::peer

a client's connection to the driver: what it asks the driver answers

Constructor & Destructor Documentation

◆ peer()

template<class driver_t>
dx::service::driver<driver_t>::peer::peer(class driver& driver, uint32_t pid)
inline

Member Function Documentation

◆ ioctl()

template<class driver_t>
size_t dx::service::driver<driver_t>::peer::ioctl(uint32_t ioctl, const void* in, size_t size_in, void* out, size_t size_out)
inlineoverridevirtual

Implements dx::service::peer.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ reply()

std::vector<uint8_t> dx::service::peer::reply(const message& request)
inlinenoexceptinherited

a checked request answered: ioctl() on its data, the reply bounded by what the request takes back - dx::ioctl::listen, the broadcast's, answers nothing

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ driver

template<class driver_t>
class driver& dx::service::driver<driver_t>::peer::driver
protected

◆ pid

const uint32_t dx::service::peer::pid
inherited

the process on the other side, as the OS states it


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