dxd - dynax driver framework 3.0.0d222
cross platform open source driver development framework
Loading...
Searching...
No Matches
dx::asio::device< _device_t, _engine_t > Class Template Reference

the ASIO driver's device: the bus device plus the streaming engine the host session runs on - attached in launch(), released in conclude(), so the engine's lifetime is the device's own and a host call holding the device holds the engine More...

#include <dx_asio_device.h>

Inheritance diagram for dx::asio::device< _device_t, _engine_t >:
Collaboration diagram for dx::asio::device< _device_t, _engine_t >:

Public Types

typedef _engine_t engine_t

Public Member Functions

void conclude () noexcept override
 the pins go while their device still stands: their streams reach its pipe on the way out
void halt () noexcept
void launch () override
void run ()
 starting this device's pins is what starts their group's streaming session

Public Attributes

engine_tengine {}
 guarded by this device, as its group guards pin[] and cache
bool streaming {}
 the host session's start/stop state of this device's pins

Detailed Description

template<typename _device_t, typename _engine_t = typename _device_t::group_t>
class dx::asio::device< _device_t, _engine_t >

the ASIO driver's device: the bus device plus the streaming engine the host session runs on - attached in launch(), released in conclude(), so the engine's lifetime is the device's own and a host call holding the device holds the engine

Member Typedef Documentation

◆ engine_t

template<typename _device_t, typename _engine_t = typename _device_t::group_t>
typedef _engine_t dx::asio::device< _device_t, _engine_t >::engine_t

Member Function Documentation

◆ conclude()

template<typename _device_t, typename _engine_t = typename _device_t::group_t>
void dx::asio::device< _device_t, _engine_t >::conclude ( )
inlineoverridenoexcept

the pins go while their device still stands: their streams reach its pipe on the way out

◆ halt()

template<typename _device_t, typename _engine_t = typename _device_t::group_t>
void dx::asio::device< _device_t, _engine_t >::halt ( )
inlinenoexcept

◆ launch()

template<typename _device_t, typename _engine_t = typename _device_t::group_t>
void dx::asio::device< _device_t, _engine_t >::launch ( )
inlineoverride

◆ run()

template<typename _device_t, typename _engine_t = typename _device_t::group_t>
void dx::asio::device< _device_t, _engine_t >::run ( )
inline

starting this device's pins is what starts their group's streaming session

Member Data Documentation

◆ engine

template<typename _device_t, typename _engine_t = typename _device_t::group_t>
engine_t* dx::asio::device< _device_t, _engine_t >::engine {}

guarded by this device, as its group guards pin[] and cache

◆ streaming

template<typename _device_t, typename _engine_t = typename _device_t::group_t>
bool dx::asio::device< _device_t, _engine_t >::streaming {}

the host session's start/stop state of this device's pins


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

(c) copyright 2009 dynamic acoustics e.U. generated on

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.