dxd - dynax driver framework 3.0.1d223
cross platform open source driver development framework
Loading...
Searching...
No Matches
dx::stream::driver< driver_t > Class Template Reference

stream driver interface class More...

#include <dx_stream_driver.h>

Inheritance diagram for dx::stream::driver< driver_t >:
Collaboration diagram for dx::stream::driver< driver_t >:

Public Member Functions

bool contains (const std::string &id) noexcept
virtual driver & create (const std::string &id, const typename super::device_t::desc_t &)
virtual driver & destroy (const std::string &id)
void info (std::ostream &os) noexcept override
std::shared_ptr< typename super::device_t > wait (const std::string &id) noexcept

Protected Member Functions

void arrived (super::device_t &device) override

Detailed Description

template<class driver_t>
class dx::stream::driver< driver_t >

stream driver interface class

This is the stream interface to a driver identified by a set of matching dictionaries. The driver class is a helper to create device objects and to bind the device to the driver identified by the set of matching dictionaries.

Exceptions
incase of an error returned by the underlaying API the driver class throws a dx::exception.

Member Function Documentation

◆ arrived()

template<class driver_t>
void dx::stream::driver< driver_t >::arrived ( super::device_t & device)
inlineoverrideprotected

◆ contains()

template<class driver_t>
bool dx::stream::driver< driver_t >::contains ( const std::string & id)
inlinenoexcept

◆ create()

template<class driver_t>
virtual driver & dx::stream::driver< driver_t >::create ( const std::string & id,
const typename super::device_t::desc_t &  )
inlinevirtual

Reimplemented in dx::proxy::driver< device_t >.

◆ destroy()

◆ info()

template<class driver_t>
void dx::stream::driver< driver_t >::info ( std::ostream & os)
inlineoverridenoexcept

◆ wait()

template<class driver_t>
std::shared_ptr< typename super::device_t > dx::stream::driver< driver_t >::wait ( const std::string & id)
inlinenoexcept

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.