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

a device's outline: its line with icon and name, its identity, its desc (dx::gui::describe) - the clock's rate, source and sync reference and a stream's source among its lines -, its I/O size, its transport and its clients More...

#include <dx_gui_model.h>

Public Member Functions

 model (device_t &device)
node operator() (std::function< void()> &&destroy)
 the device's outline, its first line the icon, the name and, for a virtual device, the button destroy() stands behind

Static Public Attributes

static constexpr bool pod {requires(device_t& device){device.device_t::desc= device;}}
 a virtual device, its desc its own: the panel creates, edits and destroys it - a hardware device's desc is its bus'

Detailed Description

template<typename device_t>
class dx::gui::model< device_t >

a device's outline: its line with icon and name, its identity, its desc (dx::gui::describe) - the clock's rate, source and sync reference and a stream's source among its lines -, its I/O size, its transport and its clients

What the device's host keeps (dx::stream::setting) is reached through the device's mirror of it (device_t::mirror), which the model owns; a device of no host shows what it keeps itself. A virtual device's desc is its own and editable, a hardware device's the bus', shown with its controls disabled.

Constructor & Destructor Documentation

◆ model()

template<typename device_t>
dx::gui::model< device_t >::model ( device_t & device)
inline

Member Function Documentation

◆ operator()()

template<typename device_t>
node dx::gui::model< device_t >::operator() ( std::function< void()> && destroy)
inline

the device's outline, its first line the icon, the name and, for a virtual device, the button destroy() stands behind

Member Data Documentation

◆ pod

template<typename device_t>
bool dx::gui::model< device_t >::pod {requires(device_t& device){device.device_t::desc= device;}}
staticconstexpr

a virtual device, its desc its own: the panel creates, edits and destroys it - a hardware device's desc is its bus'


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.