dxd - dynax driver framework 3.0.2
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 through its mirror type, each born with the transport that asks the host More...

#include <dx_stream_group.h>

Inheritance diagram for dx::stream::settings< device_t, store >:
Collaboration 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 settings_promoted<device_t, store>::type promoted

Public Member Functions

 settings(device_t& device)
 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 through its mirror type, each born with the transport that asks the host

Member Typedef Documentation

◆ promoted

template<typename device_t, bool store= true>
typedef settings_promoted<device_t,store>::type 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(device_t& device)
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: