dxd - dynax driver framework 2.2.0d85
cross platform open source driver development framework
Loading...
Searching...
No Matches
dx::stream::engine< device_t, pin_t, driver_t, io_t, circular_t > Class Template Referenceabstract

generic streaming engine More...

#include <dx_stream_engine.h>

+ Inheritance diagram for dx::stream::engine< device_t, pin_t, driver_t, io_t, circular_t >:
+ Collaboration diagram for dx::stream::engine< device_t, pin_t, driver_t, io_t, circular_t >:

Public Types

typedef device_t::desc desc
 
typedef decltype(matching_idsmatch
 
typedef decltype(matching_idsmatch
 

Public Member Functions

dx_catchall_rethrow() using super void add (const std::string &id, const typename device_t::desc &desc)
 
 catch (...)
 
 catch (...)
 
 catch (...)
 
 catch (...)
 
 catch (const dx::exception &__dx_exception)
 
 catch (const dx::exception &__dx_exception)
 
 catch (const dx::exception &__dx_exception)
 
 catch (const dx::exception &__dx_exception)
 
 catch (const std::exception &__std_exception)
 
 catch (const std::exception &__std_exception)
 
 catch (const std::exception &__std_exception)
 
 catch (const std::exception &__std_exception)
 
virtual void detach () noexcept
 
void exception (const class exception &exception, bool filtered=false) const noexcept override try
 notification exception handler
 
virtual void exception (const exception &exception, bool filtered=false) const noexcept=0
 notification exception handler
 
virtual void free () noexcept
 
void halt () noexcept override
 stop streaming engine
 
void info (std::ostream &os) noexcept override
 log object class information
 
template<unsigned int max_channels>
void initialize (uint32_t iosize, uint64_t channel_map[2][(max_channels+63)/64]) try
 
void launch () override try
 launch notification: object mounted and ready to use
 
virtual void launch () try
 launch notification: object mounted and ready to use
 
void remove (const device_id_t &device_id) override try
 finds and removes a device from the device list
 
void remove (const std::string &id)
 
void run () override try
 start streaming engine
 
uint32_t samplerate () const try
 
void samplerate (uint32_t samplerate) try
 

Public Attributes

elements
 STL member.
 
keys
 STL member.
 
bool launched {}
 
log log
 
const charproduct_id
 
io::registry registry
 
std::deque< setup > setup
 
uint32_t version
 

Protected Member Functions

void add (const device_id_t &device_id) override try
 adds a new device to the device list
 
dx_catchall_handler(this,) using super void arrived () override try
 notify device arrivals completed stub
 
virtual void arrived (device_t &)
 notify specific device arrival stub
 
 catch (...)
 
 catch (...)
 
 catch (...)
 
 catch (const dx::exception &__dx_exception)
 
 catch (const dx::exception &__dx_exception)
 
 catch (const dx::exception &__dx_exception)
 
 catch (const std::exception &__std_exception)
 
 catch (const std::exception &__std_exception)
 
 catch (const std::exception &__std_exception)
 
void clear () noexcept try
 replaces std::map::clear to call virtual notification methods
 
void conclude () noexcept override try
 conclude notification: object will be removed. If you overwrite conclude() you also need to overwrite destructor and check if its needed to be called from there.
 
 engine (const typename super::match &matching_ids, const char *id)
 
virtual void notify (uint32_t) noexcept
 notify sample rate change from device
 
virtual void overload () noexcept
 
virtual void process (int64_t timestamp) noexcept=0
 
virtual void removed () noexcept
 notify device removals completed stub
 
void removed (device_t &device) noexcept override
 notify specific device removal stub
 
void sync (const std::chrono::high_resolution_clock::time_point &now) override try
 
void tick () override try
 
void update () noexcept try
 
virtual ~engine () noexcept
 

Protected Attributes

struct { 
 
   circular_t *   circular [direction::directions
 
   force_read   force_read 
 
   force_write   force_write 
 
   struct { 
 
      volatile uint32_t *   samplerate 
 
   }   observer 
 
   struct { 
 
      bool   engine_driven 
 pins do not provide any means of driving streaming More...
 
      struct { 
 
         uint32_t   interval 
 clock resolution: HW stream frame size in samples More...
 
         uint32_t   linesize 
 
         uint32_t   safety_offset 
 
      }   io [direction::directions
 
      direction::direction   reference 
 
      uint32_t   samplerate 
 
      int64_t   trigger 
 resync condition More...
 
   }   sync 
 
cache 
 
std::shared_ptr< device_t > device
 
uint64_t frame = 0
 
bool hw_clock = false
 
io_t ** io [direction::directions][2] {}
 
uint32_t iosize = 0
 
bool kernel_streaming = false
 
std::vector<::GUID > matching_ids
 
dx::stream::clock::monitormonitor = nullptr
 io[directions][double buffer][channel][sample]
 
struct dx::proxy::driver::notification notification
 
std::shared_ptr< pin_t > pin [direction::directions]
 

Detailed Description

template<typename device_t, typename pin_t, typename driver_t = proxy::driver<device_t>, typename io_t = int32_t, typename circular_t = typename pin_t::circular_t>
class dx::stream::engine< device_t, pin_t, driver_t, io_t, circular_t >

generic streaming engine

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

Member Typedef Documentation

◆ desc

template<typename device_t , typename pin_t , typename driver_t = proxy::driver<device_t>, typename io_t = int32_t, typename circular_t = typename pin_t::circular_t>
typedef device_t::desc dx::stream::engine< device_t, pin_t, driver_t, io_t, circular_t >::desc

◆ match [1/2]

template<class device_t = device>
typedef decltype(matching_ids) dx::proxy::driver< device_t >::match
inherited

◆ match [2/2]

template<class device_t = device>
typedef decltype(matching_ids) dx::proxy::driver< device_t >::match
inherited

Constructor & Destructor Documentation

◆ engine()

template<typename device_t , typename pin_t , typename driver_t = proxy::driver<device_t>, typename io_t = int32_t, typename circular_t = typename pin_t::circular_t>
dx::stream::engine< device_t, pin_t, driver_t, io_t, circular_t >::engine ( const typename super::match & matching_ids,
const char * id )
inlineprotected
+ Here is the call graph for this function:

◆ ~engine()

template<typename device_t , typename pin_t , typename driver_t = proxy::driver<device_t>, typename io_t = int32_t, typename circular_t = typename pin_t::circular_t>
virtual dx::stream::engine< device_t, pin_t, driver_t, io_t, circular_t >::~engine ( )
inlineprotectedvirtualnoexcept
+ Here is the call graph for this function:

Member Function Documentation

◆ add() [1/2]

template<typename device_t >
void dx::map::driver< device_t >::add ( const device_id_t & device_id)
inlineoverrideprotectedvirtualinherited

adds a new device to the device list

Exceptions
dx::exception

Implements dx::driver< decltype(device_t::id)>.

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

+ Here is the call graph for this function:

◆ add() [2/2]

template<class device_t = device>
dx_catchall_rethrow() using super void dx::proxy::driver< device_t >::add ( const std::string & id,
const typename device_t::desc & desc )
inlineinherited
+ Here is the caller graph for this function:

◆ arrived() [1/2]

template<typename device_t , typename pin_t , typename driver_t = proxy::driver<device_t>, typename io_t = int32_t, typename circular_t = typename pin_t::circular_t>
dx_catchall_handler(this,) using super void dx::stream::engine< device_t, pin_t, driver_t, io_t, circular_t >::arrived ( )
inlineoverrideprotectedvirtual

notify device arrivals completed stub

pin creation exception caught here to allow device inspection even if streaming is not possible - most likely due to exclusive access.

Todo
forward pin creation exception to be thrown at engine::start()

Reimplemented from dx::map::driver< device_t >.

+ Here is the call graph for this function:

◆ arrived() [2/2]

template<typename device_t >
virtual void dx::map::driver< device_t >::arrived ( device_t & )
inlineprotectedvirtualinherited

◆ catch() [1/21]

template<typename device_t , typename pin_t , typename driver_t = proxy::driver<device_t>, typename io_t = int32_t, typename circular_t = typename pin_t::circular_t>
dx::stream::engine< device_t, pin_t, driver_t, io_t, circular_t >::catch ( ...)
inlineprotected

◆ catch() [2/21]

template<typename device_t , typename pin_t , typename driver_t = proxy::driver<device_t>, typename io_t = int32_t, typename circular_t = typename pin_t::circular_t>
dx::stream::engine< device_t, pin_t, driver_t, io_t, circular_t >::catch ( ...)
inlineprotected

◆ catch() [3/21]

template<typename device_t , typename pin_t , typename driver_t = proxy::driver<device_t>, typename io_t = int32_t, typename circular_t = typename pin_t::circular_t>
dx::stream::engine< device_t, pin_t, driver_t, io_t, circular_t >::catch ( ...)
inlineprotected

◆ catch() [4/21]

template<typename device_t , typename pin_t , typename driver_t = proxy::driver<device_t>, typename io_t = int32_t, typename circular_t = typename pin_t::circular_t>
dx::stream::engine< device_t, pin_t, driver_t, io_t, circular_t >::catch ( ...)
inline

◆ catch() [5/21]

template<typename device_t , typename pin_t , typename driver_t = proxy::driver<device_t>, typename io_t = int32_t, typename circular_t = typename pin_t::circular_t>
dx::stream::engine< device_t, pin_t, driver_t, io_t, circular_t >::catch ( ...)
inline

◆ catch() [6/21]

template<typename device_t , typename pin_t , typename driver_t = proxy::driver<device_t>, typename io_t = int32_t, typename circular_t = typename pin_t::circular_t>
dx::stream::engine< device_t, pin_t, driver_t, io_t, circular_t >::catch ( ...)
inline

◆ catch() [7/21]

template<typename device_t , typename pin_t , typename driver_t = proxy::driver<device_t>, typename io_t = int32_t, typename circular_t = typename pin_t::circular_t>
dx::stream::engine< device_t, pin_t, driver_t, io_t, circular_t >::catch ( ...)
inline

◆ catch() [8/21]

template<typename device_t , typename pin_t , typename driver_t = proxy::driver<device_t>, typename io_t = int32_t, typename circular_t = typename pin_t::circular_t>
dx::stream::engine< device_t, pin_t, driver_t, io_t, circular_t >::catch ( const dx::exception & __dx_exception)
inlineprotected

◆ catch() [9/21]

template<typename device_t , typename pin_t , typename driver_t = proxy::driver<device_t>, typename io_t = int32_t, typename circular_t = typename pin_t::circular_t>
dx::stream::engine< device_t, pin_t, driver_t, io_t, circular_t >::catch ( const dx::exception & __dx_exception)
inlineprotected

◆ catch() [10/21]

template<typename device_t , typename pin_t , typename driver_t = proxy::driver<device_t>, typename io_t = int32_t, typename circular_t = typename pin_t::circular_t>
dx::stream::engine< device_t, pin_t, driver_t, io_t, circular_t >::catch ( const dx::exception & __dx_exception)
inlineprotected

◆ catch() [11/21]

template<typename device_t , typename pin_t , typename driver_t = proxy::driver<device_t>, typename io_t = int32_t, typename circular_t = typename pin_t::circular_t>
dx::stream::engine< device_t, pin_t, driver_t, io_t, circular_t >::catch ( const dx::exception & __dx_exception)
inline

◆ catch() [12/21]

template<typename device_t , typename pin_t , typename driver_t = proxy::driver<device_t>, typename io_t = int32_t, typename circular_t = typename pin_t::circular_t>
dx::stream::engine< device_t, pin_t, driver_t, io_t, circular_t >::catch ( const dx::exception & __dx_exception)
inline

◆ catch() [13/21]

template<typename device_t , typename pin_t , typename driver_t = proxy::driver<device_t>, typename io_t = int32_t, typename circular_t = typename pin_t::circular_t>
dx::stream::engine< device_t, pin_t, driver_t, io_t, circular_t >::catch ( const dx::exception & __dx_exception)
inline

◆ catch() [14/21]

template<typename device_t , typename pin_t , typename driver_t = proxy::driver<device_t>, typename io_t = int32_t, typename circular_t = typename pin_t::circular_t>
dx::stream::engine< device_t, pin_t, driver_t, io_t, circular_t >::catch ( const dx::exception & __dx_exception)
inline

◆ catch() [15/21]

template<typename device_t , typename pin_t , typename driver_t = proxy::driver<device_t>, typename io_t = int32_t, typename circular_t = typename pin_t::circular_t>
dx::stream::engine< device_t, pin_t, driver_t, io_t, circular_t >::catch ( const std::exception & __std_exception)
inlineprotected

◆ catch() [16/21]

template<typename device_t , typename pin_t , typename driver_t = proxy::driver<device_t>, typename io_t = int32_t, typename circular_t = typename pin_t::circular_t>
dx::stream::engine< device_t, pin_t, driver_t, io_t, circular_t >::catch ( const std::exception & __std_exception)
inlineprotected

◆ catch() [17/21]

template<typename device_t , typename pin_t , typename driver_t = proxy::driver<device_t>, typename io_t = int32_t, typename circular_t = typename pin_t::circular_t>
dx::stream::engine< device_t, pin_t, driver_t, io_t, circular_t >::catch ( const std::exception & __std_exception)
inlineprotected

◆ catch() [18/21]

template<typename device_t , typename pin_t , typename driver_t = proxy::driver<device_t>, typename io_t = int32_t, typename circular_t = typename pin_t::circular_t>
dx::stream::engine< device_t, pin_t, driver_t, io_t, circular_t >::catch ( const std::exception & __std_exception)
inline

◆ catch() [19/21]

template<typename device_t , typename pin_t , typename driver_t = proxy::driver<device_t>, typename io_t = int32_t, typename circular_t = typename pin_t::circular_t>
dx::stream::engine< device_t, pin_t, driver_t, io_t, circular_t >::catch ( const std::exception & __std_exception)
inline

◆ catch() [20/21]

template<typename device_t , typename pin_t , typename driver_t = proxy::driver<device_t>, typename io_t = int32_t, typename circular_t = typename pin_t::circular_t>
dx::stream::engine< device_t, pin_t, driver_t, io_t, circular_t >::catch ( const std::exception & __std_exception)
inline

◆ catch() [21/21]

template<typename device_t , typename pin_t , typename driver_t = proxy::driver<device_t>, typename io_t = int32_t, typename circular_t = typename pin_t::circular_t>
dx::stream::engine< device_t, pin_t, driver_t, io_t, circular_t >::catch ( const std::exception & __std_exception)
inline

◆ clear()

template<typename device_t >
void dx::map::driver< device_t >::clear ( )
inlineprotectednoexceptinherited

replaces std::map::clear to call virtual notification methods

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

◆ conclude()

template<typename device_t >
void dx::map::driver< device_t >::conclude ( )
inlineoverrideprotectedvirtualnoexceptinherited

conclude notification: object will be removed. If you overwrite conclude() you also need to overwrite destructor and check if its needed to be called from there.

Reimplemented from dx::object.

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

◆ detach()

template<typename device_t , typename pin_t , typename driver_t = proxy::driver<device_t>, typename io_t = int32_t, typename circular_t = typename pin_t::circular_t>
virtual void dx::stream::engine< device_t, pin_t, driver_t, io_t, circular_t >::detach ( )
inlinevirtualnoexcept
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ exception() [1/2]

void dx::driver< decltype(device_t::id) >::exception ( const class exception & exception,
bool filtered = false ) const
inlineoverridenoexceptinherited

notification exception handler

◆ exception() [2/2]

virtual void dx::object::exception ( const exception & exception,
bool filtered = false ) const
pure virtualnoexceptinherited

◆ free()

template<typename device_t , typename pin_t , typename driver_t = proxy::driver<device_t>, typename io_t = int32_t, typename circular_t = typename pin_t::circular_t>
virtual void dx::stream::engine< device_t, pin_t, driver_t, io_t, circular_t >::free ( )
inlinevirtualnoexcept
Todo
replace test for valid pin by overwise keeping track of allocated channels
+ Here is the caller graph for this function:

◆ halt()

template<typename device_t , typename pin_t , typename driver_t = proxy::driver<device_t>, typename io_t = int32_t, typename circular_t = typename pin_t::circular_t>
void dx::stream::engine< device_t, pin_t, driver_t, io_t, circular_t >::halt ( )
inlineoverridenoexcept

stop streaming engine

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

◆ info()

template<class device_t = device>
void dx::proxy::driver< device_t >::info ( std::ostream & os)
inlineoverridevirtualnoexceptinherited

log object class information

Reimplemented from dx::object.

+ Here is the call graph for this function:

◆ initialize()

template<typename device_t , typename pin_t , typename driver_t = proxy::driver<device_t>, typename io_t = int32_t, typename circular_t = typename pin_t::circular_t>
template<unsigned int max_channels>
void dx::stream::engine< device_t, pin_t, driver_t, io_t, circular_t >::initialize ( uint32_t iosize,
uint64_t channel_map[2][(max_channels+63)/64] )
inline
Todo
clock already runnning with different iosize: check if engine should be initialized with current iosize
Todo
stream::engine::initialize(): define sync reference pin
+ Here is the call graph for this function:

◆ launch() [1/2]

template<class device_t = device>
void dx::proxy::driver< device_t >::launch ( )
inlineoverridevirtualinherited

launch notification: object mounted and ready to use

Reimplemented from dx::object.

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

◆ launch() [2/2]

template<class device_t = device>
virtual void dx::proxy::driver< device_t >::launch ( )
inlinevirtualinherited

launch notification: object mounted and ready to use

Reimplemented from dx::object.

+ Here is the call graph for this function:

◆ notify()

template<typename device_t , typename pin_t , typename driver_t = proxy::driver<device_t>, typename io_t = int32_t, typename circular_t = typename pin_t::circular_t>
virtual void dx::stream::engine< device_t, pin_t, driver_t, io_t, circular_t >::notify ( uint32_t )
inlineprotectedvirtualnoexcept

notify sample rate change from device

Reimplemented in dx::asio< device_t, pin_t, driver_t >.

+ Here is the caller graph for this function:

◆ overload()

template<typename device_t , typename pin_t , typename driver_t = proxy::driver<device_t>, typename io_t = int32_t, typename circular_t = typename pin_t::circular_t>
virtual void dx::stream::engine< device_t, pin_t, driver_t, io_t, circular_t >::overload ( )
inlineprotectedvirtualnoexcept

Reimplemented in dx::asio< device_t, pin_t, driver_t >.

+ Here is the caller graph for this function:

◆ process()

template<typename device_t , typename pin_t , typename driver_t = proxy::driver<device_t>, typename io_t = int32_t, typename circular_t = typename pin_t::circular_t>
virtual void dx::stream::engine< device_t, pin_t, driver_t, io_t, circular_t >::process ( int64_t timestamp)
protectedpure virtualnoexcept

Implemented in dx::asio< device_t, pin_t, driver_t >, dx::test::driver< super_device_t, audio_pin_t, int32_t, dx::test::device< typename audio_pin_t::circular_t, super_device_t >, dx::proxy::driver< dx::test::device< typename audio_pin_t::circular_t, super_device_t > >, dx::stream::engine< dx::test::device< typename audio_pin_t::circular_t, super_device_t >, audio_pin_t, int32_t, typename audio_pin_t::circular_t, dx::proxy::driver< dx::test::device< typename audio_pin_t::circular_t, super_device_t > > > >, dx::test::driver< super_device_t, audio_pin_t, int32_t, dx::test::device< typename audio_pin_t::circular_t, super_device_t >, dx::virtuel::driver< dx::test::device< typename audio_pin_t::circular_t, super_device_t > >, dx::stream::engine< dx::test::device< typename audio_pin_t::circular_t, super_device_t >, audio_pin_t, dx::virtuel::driver< dx::test::device< typename audio_pin_t::circular_t, super_device_t > >, int32_t > >, dx::test::driver< super_device_t, audio_pin_t, int32_t, dx::test::midi::device< typename audio_pin_t::circular_t, super_device_t, typename midi_pin_t::circular_t >, dx::proxy::driver< dx::test::midi::device< typename audio_pin_t::circular_t, super_device_t, typename midi_pin_t::circular_t > >, dx::stream::engine< dx::test::midi::device< typename audio_pin_t::circular_t, super_device_t, typename midi_pin_t::circular_t >, audio_pin_t, dx::proxy::driver< dx::test::midi::device< typename audio_pin_t::circular_t, super_device_t, typename midi_pin_t::circular_t > >, int32_t > >, and dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >.

+ Here is the caller graph for this function:

◆ remove() [1/2]

template<class device_t = device>
void dx::map::driver< device_t >::remove ( const device_id_t & device_id)
inlineoverridevirtualinherited

finds and removes a device from the device list

Exceptions
dx::exception

Reimplemented from dx::map::driver< device_t >.

◆ remove() [2/2]

template<class device_t = device>
void dx::proxy::driver< device_t >::remove ( const std::string & id)
inlineinherited

◆ removed() [1/2]

template<typename device_t >
virtual void dx::driver< device_id_t >::removed ( )
inlineprotectedvirtualnoexceptinherited

notify device removals completed stub

Reimplemented from dx::driver< decltype(device_t::id)>.

+ Here is the caller graph for this function:

◆ removed() [2/2]

template<typename device_t , typename pin_t , typename driver_t = proxy::driver<device_t>, typename io_t = int32_t, typename circular_t = typename pin_t::circular_t>
void dx::stream::engine< device_t, pin_t, driver_t, io_t, circular_t >::removed ( device_t & )
inlineoverrideprotectedvirtualnoexcept

notify specific device removal stub

Reimplemented from dx::map::driver< device_t >.

+ Here is the call graph for this function:

◆ run()

template<typename device_t , typename pin_t , typename driver_t = proxy::driver<device_t>, typename io_t = int32_t, typename circular_t = typename pin_t::circular_t>
void dx::stream::engine< device_t, pin_t, driver_t, io_t, circular_t >::run ( )
inlineoverride

start streaming engine

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

◆ samplerate() [1/2]

template<typename device_t , typename pin_t , typename driver_t = proxy::driver<device_t>, typename io_t = int32_t, typename circular_t = typename pin_t::circular_t>
uint32_t dx::stream::engine< device_t, pin_t, driver_t, io_t, circular_t >::samplerate ( ) const
inline
+ Here is the call graph for this function:

◆ samplerate() [2/2]

template<typename device_t , typename pin_t , typename driver_t = proxy::driver<device_t>, typename io_t = int32_t, typename circular_t = typename pin_t::circular_t>
void dx::stream::engine< device_t, pin_t, driver_t, io_t, circular_t >::samplerate ( uint32_t samplerate)
inline
+ Here is the call graph for this function:

◆ sync()

template<typename device_t , typename pin_t , typename driver_t = proxy::driver<device_t>, typename io_t = int32_t, typename circular_t = typename pin_t::circular_t>
void dx::stream::engine< device_t, pin_t, driver_t, io_t, circular_t >::sync ( const std::chrono::high_resolution_clock::time_point & now)
inlineoverrideprotected
+ Here is the call graph for this function:

◆ tick()

template<typename device_t , typename pin_t , typename driver_t = proxy::driver<device_t>, typename io_t = int32_t, typename circular_t = typename pin_t::circular_t>
void dx::stream::engine< device_t, pin_t, driver_t, io_t, circular_t >::tick ( )
inlineoverrideprotected
Todo
enable re-sync with correct rx/tx position dependent clock event time point
+ Here is the call graph for this function:

◆ update()

template<typename device_t , typename pin_t , typename driver_t = proxy::driver<device_t>, typename io_t = int32_t, typename circular_t = typename pin_t::circular_t>
void dx::stream::engine< device_t, pin_t, driver_t, io_t, circular_t >::update ( )
inlineprotectednoexcept
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ [struct]

struct { ... } dx::stream::engine< device_t, pin_t, driver_t, io_t, circular_t >::cache

◆ circular

template<typename device_t , typename pin_t , typename driver_t = proxy::driver<device_t>, typename io_t = int32_t, typename circular_t = typename pin_t::circular_t>
circular_t* dx::stream::engine< device_t, pin_t, driver_t, io_t, circular_t >::circular[direction::directions]

◆ device

template<typename device_t , typename pin_t , typename driver_t = proxy::driver<device_t>, typename io_t = int32_t, typename circular_t = typename pin_t::circular_t>
std::shared_ptr<device_t> dx::stream::engine< device_t, pin_t, driver_t, io_t, circular_t >::device
protected

◆ elements

T std::map< K, T >::elements
inherited

STL member.

◆ engine_driven

template<typename device_t , typename pin_t , typename driver_t = proxy::driver<device_t>, typename io_t = int32_t, typename circular_t = typename pin_t::circular_t>
bool dx::stream::engine< device_t, pin_t, driver_t, io_t, circular_t >::engine_driven

pins do not provide any means of driving streaming

◆ force_read

template<typename device_t , typename pin_t , typename driver_t = proxy::driver<device_t>, typename io_t = int32_t, typename circular_t = typename pin_t::circular_t>
force_read dx::stream::engine< device_t, pin_t, driver_t, io_t, circular_t >::force_read

◆ force_write

template<typename device_t , typename pin_t , typename driver_t = proxy::driver<device_t>, typename io_t = int32_t, typename circular_t = typename pin_t::circular_t>
force_write dx::stream::engine< device_t, pin_t, driver_t, io_t, circular_t >::force_write

◆ frame

template<typename device_t , typename pin_t , typename driver_t = proxy::driver<device_t>, typename io_t = int32_t, typename circular_t = typename pin_t::circular_t>
uint64_t dx::stream::engine< device_t, pin_t, driver_t, io_t, circular_t >::frame = 0
protected

◆ hw_clock

template<typename device_t , typename pin_t , typename driver_t = proxy::driver<device_t>, typename io_t = int32_t, typename circular_t = typename pin_t::circular_t>
bool dx::stream::engine< device_t, pin_t, driver_t, io_t, circular_t >::hw_clock = false
protected

◆ interval

template<typename device_t , typename pin_t , typename driver_t = proxy::driver<device_t>, typename io_t = int32_t, typename circular_t = typename pin_t::circular_t>
uint32_t dx::stream::engine< device_t, pin_t, driver_t, io_t, circular_t >::interval

clock resolution: HW stream frame size in samples

◆ [struct] [1/2]

struct { ... } dx::stream::engine< device_t, pin_t, driver_t, io_t, circular_t >::io[direction::directions]

◆ io [2/2]

template<typename device_t , typename pin_t , typename driver_t = proxy::driver<device_t>, typename io_t = int32_t, typename circular_t = typename pin_t::circular_t>
io_t** dx::stream::engine< device_t, pin_t, driver_t, io_t, circular_t >::io[direction::directions][2] {}
protected

◆ iosize

template<typename device_t , typename pin_t , typename driver_t = proxy::driver<device_t>, typename io_t = int32_t, typename circular_t = typename pin_t::circular_t>
uint32_t dx::stream::engine< device_t, pin_t, driver_t, io_t, circular_t >::iosize = 0
protected

◆ kernel_streaming

template<typename device_t , typename pin_t , typename driver_t = proxy::driver<device_t>, typename io_t = int32_t, typename circular_t = typename pin_t::circular_t>
bool dx::stream::engine< device_t, pin_t, driver_t, io_t, circular_t >::kernel_streaming = false
protected

◆ keys

K std::map< K, T >::keys
inherited

STL member.

◆ launched

bool dx::object::launched {}
inherited

◆ linesize

template<typename device_t , typename pin_t , typename driver_t = proxy::driver<device_t>, typename io_t = int32_t, typename circular_t = typename pin_t::circular_t>
uint32_t dx::stream::engine< device_t, pin_t, driver_t, io_t, circular_t >::linesize

◆ log

log dx::driver< decltype(device_t::id) >::log
inherited

◆ matching_ids

template<class device_t = device>
std::vector<::GUID> dx::proxy::driver< device_t >::matching_ids
protectedinherited

◆ monitor

template<typename device_t , typename pin_t , typename driver_t = proxy::driver<device_t>, typename io_t = int32_t, typename circular_t = typename pin_t::circular_t>
dx::stream::clock::monitor* dx::stream::engine< device_t, pin_t, driver_t, io_t, circular_t >::monitor = nullptr
protected

io[directions][double buffer][channel][sample]

◆ notification

template<class device_t = device>
struct dx::proxy::driver::notification dx::proxy::driver< device_t >::notification
protectedinherited

◆ [struct]

struct { ... } dx::stream::engine< device_t, pin_t, driver_t, io_t, circular_t >::observer

◆ pin

template<typename device_t , typename pin_t , typename driver_t = proxy::driver<device_t>, typename io_t = int32_t, typename circular_t = typename pin_t::circular_t>
std::shared_ptr<pin_t> dx::stream::engine< device_t, pin_t, driver_t, io_t, circular_t >::pin[direction::directions]
protected

◆ product_id

const char* dx::driver< decltype(device_t::id) >::product_id
inherited

◆ reference

template<typename device_t , typename pin_t , typename driver_t = proxy::driver<device_t>, typename io_t = int32_t, typename circular_t = typename pin_t::circular_t>
direction::direction dx::stream::engine< device_t, pin_t, driver_t, io_t, circular_t >::reference

◆ registry

template<class device_t = device>
io::registry dx::proxy::driver< device_t >::registry
inherited

◆ safety_offset

template<typename device_t , typename pin_t , typename driver_t = proxy::driver<device_t>, typename io_t = int32_t, typename circular_t = typename pin_t::circular_t>
uint32_t dx::stream::engine< device_t, pin_t, driver_t, io_t, circular_t >::safety_offset {}

◆ samplerate [1/2]

template<typename device_t , typename pin_t , typename driver_t = proxy::driver<device_t>, typename io_t = int32_t, typename circular_t = typename pin_t::circular_t>
volatile uint32_t* dx::stream::engine< device_t, pin_t, driver_t, io_t, circular_t >::samplerate

◆ samplerate [2/2]

template<typename device_t , typename pin_t , typename driver_t = proxy::driver<device_t>, typename io_t = int32_t, typename circular_t = typename pin_t::circular_t>
uint32_t dx::stream::engine< device_t, pin_t, driver_t, io_t, circular_t >::samplerate

◆ setup

template<class device_t = device>
std::deque<setup> dx::proxy::driver< device_t >::setup
inherited

◆ [struct]

struct { ... } dx::stream::engine< device_t, pin_t, driver_t, io_t, circular_t >::sync

◆ trigger

template<typename device_t , typename pin_t , typename driver_t = proxy::driver<device_t>, typename io_t = int32_t, typename circular_t = typename pin_t::circular_t>
int64_t dx::stream::engine< device_t, pin_t, driver_t, io_t, circular_t >::trigger

resync condition

◆ version

uint32_t dx::driver< decltype(device_t::id) >::version
inherited

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

(c) copyright 2009 dynamic acoustics e.U. generated on Thu Jan 23 2025

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.