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

#include <dx_service_driver.h>

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

Classes

class  app
 

Public Member Functions

void launch () override try
 
virtual operator bool () const noexcept
 

Public Attributes

dx::service::driver::appthis
 

Protected Attributes

pipe< service::request >::server pipe
 

Member Function Documentation

◆ launch()

template<class driver_t >
void dx::service::driver< driver_t >::launch ( )
inlineoverride
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ operator bool()

template<class driver_t >
virtual dx::service::driver< driver_t >::operator bool ( ) const
inlinevirtualnoexcept

Member Data Documentation

◆ pipe

template<class driver_t >
pipe<service::request>::server dx::service::driver< driver_t >::pipe
protected
Initial value:
{this->product_id, [this](class pipe<service::request>::server::instance&, const service::request& request){
switch(request.id){
std::clog<< class_name<< "::pipe::listen: "<< fourchar::to::string(static_cast<const uint32_t>(request.id))<< std::endl;
for(auto& device: *this){
service::request request{.id= service::request::id::arrived, .size= sizeof(service::request::string)};
::strncpy(request.string, device.second->puid.c_str(), request.size);
break;}
break;
};
}}
std::string puid
persistent UID - system unique - could change with location
Definition dx_device.h:52
Definition windows/dx_sync.h:353
Definition macOS/dx_proxy_device.h:35
stream::request< typename super_device_t::desc_t > request
Definition dx_service_device.h:46
pipe< service::request >::server pipe
Definition dx_service_driver.h:67
dx::service::driver::app * this
#define device
IOKit: generic device.
Definition iokit/dxd_device.h:84
std::string string(uint32_t fourchar)
Definition dx_common.h:539
Definition dx_service_stream.h:29
char string[MAX_PATH]
Definition dx_service_stream.h:39
size_t size
Definition dx_service_stream.h:36
unsigned int uint32_t
Definition wdk/dxd_platform.h:111

◆ this

template<class driver_t >
dx::service::driver::app* dx::service::driver< driver_t >::this

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

(c) copyright 2009 dynamic acoustics e.U. generated on Tue Mar 3 2026

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.