dxd - dynax driver framework 2.2.0d81
cross platform open source driver development framework
Loading...
Searching...
No Matches
dx::proxy::stream::device< desc_t > Class Template Reference

#include <dx_proxy_stream_device.h>

+ Inheritance diagram for dx::proxy::stream::device< desc_t >:
+ Collaboration diagram for dx::proxy::stream::device< desc_t >:

Public Types

typedef desc_t desc
 

Public Member Functions

virtual uint32_t clocksource ()
 
virtual uint32_t clocksource (uint32_t clocksource) try
 
unsigned char configuration (unsigned char configuration) try
 
 device (decltype(super::driver)&driver, decltype(super::id)&id)
 
 dx_catchall_rethrow () uint32_t samplerate() const override try
 
 dx_catchall_rethrow () uint32_t samplerate(uint32_t samplerate) override try
 
 dx_catchall_rethrow () unsigned char configuration() const try
 
 dx_catchall_rethrow () unsigned char configurations() const try
 
 dx_catchall_rethrow (, "iosize: %d (current: %d)", iosize, hw.iosize) virtual int32_t iosize() const try
 
virtual int32_t iosize (uint32_t iosize, dx::event< user > &hw_clock) try
 
virtual bool monitor () noexcept
 
template<typename monitor_t = dx::stream::clock::monitor>
monitor_t * monitor (bool force=false)
 
virtual devicereset ()
 
virtual uint32_t samplerate () const
 
virtual uint32_t samplerate (uint32_t samplerate) try
 
virtual void start ()
 
virtual void stop (bool=false)
 

Public Attributes

struct { 
 
   dx::event< user > *   clock 
 
   std::atomic< size_t >   counter 
 
   uint32_t   iosize 
 
hw 
 
std::string puid
 persistent UID (i.e. serial number)
 
std::string puuid
 persistent universal UID
 
shared::memory< dx::stream::clock::monitorshared_monitor
 
std::map< uint8_t, std::weak_ptr< dx::stream::stream< device > > > streams
 

Member Typedef Documentation

◆ desc

template<typename super_device_t , typename desc_t >
typedef desc_t dx::stream::device< super_device_t, desc_t >::desc
inherited

Constructor & Destructor Documentation

◆ device()

template<typename desc_t = dx::stream::desc<>>
dx::proxy::stream::device< desc_t >::device ( decltype(super::driver)& driver,
decltype(super::id)& id )
inline
+ Here is the call graph for this function:

Member Function Documentation

◆ clocksource() [1/2]

template<typename super_device_t , typename desc_t >
virtual uint32_t dx::stream::device< super_device_t, desc_t >::clocksource ( )
inlinevirtualinherited

◆ clocksource() [2/2]

template<typename super_device_t , typename desc_t >
virtual uint32_t dx::stream::device< super_device_t, desc_t >::clocksource ( uint32_t clocksource)
inlinevirtualinherited

◆ configuration()

template<typename desc_t = dx::stream::desc<>>
unsigned char dx::proxy::stream::device< desc_t >::configuration ( unsigned char configuration)
inline
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ dx_catchall_rethrow() [1/5]

template<typename desc_t = dx::stream::desc<>>
dx::proxy::stream::device< desc_t >::dx_catchall_rethrow ( ) const
inlineoverride

◆ dx_catchall_rethrow() [2/5]

template<typename desc_t = dx::stream::desc<>>
dx::proxy::stream::device< desc_t >::dx_catchall_rethrow ( )
inlineoverride

◆ dx_catchall_rethrow() [3/5]

template<typename desc_t = dx::stream::desc<>>
dx::proxy::stream::device< desc_t >::dx_catchall_rethrow ( ) const
inline

◆ dx_catchall_rethrow() [4/5]

template<typename desc_t = dx::stream::desc<>>
dx::proxy::stream::device< desc_t >::dx_catchall_rethrow ( ) const
inline

◆ dx_catchall_rethrow() [5/5]

template<typename super_device_t , typename desc_t >
dx::stream::device< super_device_t, desc_t >::dx_catchall_rethrow ( "iosize: %d (current: %d)" ,
iosize ,
hw. iosize ) const
inlineinherited

<

Todo
stream::device calculate default iosize from desc

◆ iosize()

template<typename super_device_t , typename desc_t >
virtual int32_t dx::stream::device< super_device_t, desc_t >::iosize ( uint32_t iosize,
dx::event< user > & hw_clock )
inlinevirtualinherited

◆ monitor() [1/2]

template<typename super_device_t , typename desc_t >
virtual bool dx::stream::device< super_device_t, desc_t >::monitor ( )
inlinevirtualnoexceptinherited
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ monitor() [2/2]

template<typename super_device_t , typename desc_t >
template<typename monitor_t = dx::stream::clock::monitor>
monitor_t * dx::stream::device< super_device_t, desc_t >::monitor ( bool force = false)
inlineinherited
+ Here is the call graph for this function:

◆ reset()

template<typename super_device_t , typename desc_t >
virtual device & dx::stream::device< super_device_t, desc_t >::reset ( )
inlinevirtualinherited
+ Here is the caller graph for this function:

◆ samplerate() [1/2]

template<typename super_device_t , typename desc_t >
virtual uint32_t dx::stream::device< super_device_t, desc_t >::samplerate ( ) const
inlinevirtualinherited
Todo
dedicated stream::device::clock class

Reimplemented in dx::usb::stream::device< desc_t >, dx::virtuel::stream::device< desc_t >, and dx::virtuel::stream::device< desc_t >.

+ Here is the caller graph for this function:

◆ samplerate() [2/2]

template<typename super_device_t , typename desc_t >
virtual uint32_t dx::stream::device< super_device_t, desc_t >::samplerate ( uint32_t samplerate)
inlinevirtualinherited

◆ start()

template<typename super_device_t , typename desc_t >
virtual void dx::stream::device< super_device_t, desc_t >::start ( )
inlinevirtualinherited

Reimplemented in dx::coreaudio::device< desc_t >.

+ Here is the caller graph for this function:

◆ stop()

template<typename super_device_t , typename desc_t >
virtual void dx::stream::device< super_device_t, desc_t >::stop ( bool = false)
inlinevirtualinherited

Reimplemented in dx::coreaudio::device< desc_t >.

+ Here is the caller graph for this function:

Member Data Documentation

◆ clock

template<typename super_device_t , typename desc_t >
dx::event<user>* dx::stream::device< super_device_t, desc_t >::clock
inherited

◆ counter

template<typename super_device_t , typename desc_t >
std::atomic<size_t> dx::stream::device< super_device_t, desc_t >::counter
inherited

◆ [struct]

struct { ... } dx::stream::device< super_device_t, desc_t >::hw

◆ iosize

template<typename super_device_t , typename desc_t >
uint32_t dx::stream::device< super_device_t, desc_t >::iosize
inherited

◆ puid

template<typename super_device_t , typename desc_t >
std::string dx::stream::device< super_device_t, desc_t >::puid
inherited

persistent UID (i.e. serial number)

◆ puuid

template<typename super_device_t , typename desc_t >
std::string dx::stream::device< super_device_t, desc_t >::puuid
inherited

persistent universal UID

◆ shared_monitor

template<typename super_device_t , typename desc_t >
shared::memory<dx::stream::clock::monitor> dx::stream::device< super_device_t, desc_t >::shared_monitor
inherited

◆ streams

template<typename super_device_t , typename desc_t >
std::map<uint8_t, std::weak_ptr<dx::stream::stream<device> > > dx::stream::device< super_device_t, desc_t >::streams
inherited

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

(c) copyright 2009 dynamic acoustics e.U. generated on Fri Dec 20 2024

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.