dxd - dynax driver framework 3.0.0d222
cross platform open source driver development framework
Loading...
Searching...
No Matches
dx::stream::settings< device_t, store > Struct Template Reference

a group's settings per side of its ring: the side's wait strategy on the clock and its lead per direction. The owner keeps them in its store, keyed and defaulted by role; a hosted device (device_t::hosted) mirrors the transport's as plain promoteds, its chains to the host serve them More...

#include <dx_stream_group.h>

Inheritance diagram for dx::stream::settings< device_t, store >:

Classes

struct  client
 the client side: the group's clients (app engine, service client, ASIO/CoreAudio/WASAPI host) and the ring margin they keep to the transport - the client's own, in its store More...
struct  transport
 the transport side: the tick and the frames it moves data ahead of/behind the device, kept per wait strategy - a strategy switch rebinds the leads to the new strategy's store and reloads them. A bus's own group runs its tick by them; a hosted device's group mirrors its host's, without a store More...

Public Types

typedef std::conditional_t< store, typename dx::promoted< uint32_t >::template preference< decltype(device_t::preference)>, dx::promoted< uint32_t > > promoted

Public Member Functions

 settings ()
 settings (device_t &device, role::role role, const char *strategy, std::string(*key)(direction::direction, uint32_t))

Public Attributes

promoted safety_offset [direction::directions]
promoted sync_strategy

Detailed Description

template<typename device_t, bool store = true>
struct dx::stream::settings< device_t, store >

a group's settings per side of its ring: the side's wait strategy on the clock and its lead per direction. The owner keeps them in its store, keyed and defaulted by role; a hosted device (device_t::hosted) mirrors the transport's as plain promoteds, its chains to the host serve them

Member Typedef Documentation

◆ promoted

template<typename device_t, bool store = true>
typedef std::conditional_t<store, typename dx::promoted<uint32_t>::template preference<decltype(device_t::preference)>, dx::promoted<uint32_t> > dx::stream::settings< device_t, store >::promoted

Constructor & Destructor Documentation

◆ settings() [1/2]

template<typename device_t, bool store = true>
dx::stream::settings< device_t, store >::settings ( )
inline
Here is the caller graph for this function:

◆ settings() [2/2]

template<typename device_t, bool store = true>
dx::stream::settings< device_t, store >::settings ( device_t & device,
role::role role,
const char * strategy,
std::string(* key )(direction::direction, uint32_t) )
inline

Member Data Documentation

◆ safety_offset

template<typename device_t, bool store = true>
promoted dx::stream::settings< device_t, store >::safety_offset[direction::directions]

◆ sync_strategy

template<typename device_t, bool store = true>
promoted dx::stream::settings< device_t, store >::sync_strategy

The documentation for this struct 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.