|
dxd - dynax driver framework 3.0.1f223
cross platform open source driver development framework
|
Classes | |
| struct | dx::present::bitmap< names_t > |
| bits each named: names() the (name, bit) pairs More... | |
| struct | dx::present::choice< options_t > |
| one of options(): the (name, value) pairs the struct allows as it stands More... | |
| struct | dx::present::power2 |
| a power of two, and the half-way values, from min to max More... | |
Namespaces | |
| namespace | dx |
| dynax driver framework interface namespace | |
| namespace | dx::present |
Macros | |
| #define | DX_EQUAL_array(id, ids) |
| #define | DX_EQUAL_bitmap(id, names) |
| #define | DX_EQUAL_choice(id, options) |
| #define | DX_EQUAL_cstr(id) |
| #define | DX_EQUAL_direction(id) |
| #define | DX_EQUAL_fourchar(id) |
| #define | DX_EQUAL_level(id) |
| #define | DX_EQUAL_matrix(id) |
| #define | DX_EQUAL_nested(id) |
| #define | DX_EQUAL_power2(id, min, max) |
| #define | DX_EQUAL_value(id) |
| #define | DX_EQUAL_vector(id) |
| #define | DX_TREE_GET_array(id, ids) |
| #define | DX_TREE_GET_bitmap(id, names) |
| #define | DX_TREE_GET_choice(id, options) |
| #define | DX_TREE_GET_cstr(id) |
| #define | DX_TREE_GET_direction(id) |
| #define | DX_TREE_GET_fourchar(id) |
| #define | DX_TREE_GET_level(id) |
| #define | DX_TREE_GET_matrix(id) |
| #define | DX_TREE_GET_nested(id) |
| #define | DX_TREE_GET_power2(id, min, max) |
| #define | DX_TREE_GET_value(id) |
| #define | DX_TREE_GET_vector(id) |
| #define | DX_TREE_SERIALIZE(members) |
| the tree serialization pair a struct's member list expands into, the visit that shows it and the equality | |
| #define | DX_TREE_SET_array(id, ids) |
| #define | DX_TREE_SET_bitmap(id, names) |
| #define | DX_TREE_SET_choice(id, options) |
| #define | DX_TREE_SET_cstr(id) |
| #define | DX_TREE_SET_direction(id) |
| #define | DX_TREE_SET_fourchar(id) |
| #define | DX_TREE_SET_level(id) |
| #define | DX_TREE_SET_matrix(id) |
| #define | DX_TREE_SET_nested(id) |
| #define | DX_TREE_SET_power2(id, min, max) |
| #define | DX_TREE_SET_value(id) |
| member lists and their serialization sinks | |
| #define | DX_TREE_SET_vector(id) |
| #define | DX_VISIT_access(id) |
| #define | DX_VISIT_array(id, ids) |
| #define | DX_VISIT_bitmap(id, names) |
| #define | DX_VISIT_choice(id, options) |
| #define | DX_VISIT_cstr(id) |
| #define | DX_VISIT_direction(id) |
| #define | DX_VISIT_fourchar(id) |
| #define | DX_VISIT_level(id) |
| #define | DX_VISIT_matrix(id) |
| #define | DX_VISIT_nested(id) |
| #define | DX_VISIT_power2(id, min, max) |
| #define | DX_VISIT_value(id) |
| #define | DX_VISIT_vector(id) |
Functions | |
| template<typename names_t> | |
| dx::present::bitmap (names_t) -> bitmap< names_t > | |
| template<typename options_t> | |
| dx::present::choice (options_t) -> choice< options_t > | |
| #define DX_EQUAL_array | ( | id, | |
| ids ) |
| #define DX_EQUAL_bitmap | ( | id, | |
| names ) |
| #define DX_EQUAL_choice | ( | id, | |
| options ) |
| #define DX_EQUAL_cstr | ( | id | ) |
| #define DX_EQUAL_direction | ( | id | ) |
| #define DX_EQUAL_fourchar | ( | id | ) |
| #define DX_EQUAL_level | ( | id | ) |
| #define DX_EQUAL_matrix | ( | id | ) |
| #define DX_EQUAL_nested | ( | id | ) |
| #define DX_EQUAL_power2 | ( | id, | |
| min, | |||
| max ) |
| #define DX_EQUAL_value | ( | id | ) |
The equality sink compares what the list names - an array up to its count, a C string up to its end - so neither the padding nor the unused slots of an array decide it; a nested member compares with its own operator ==, a format with its match against a wish.
| #define DX_EQUAL_vector | ( | id | ) |
| #define DX_TREE_GET_array | ( | id, | |
| ids ) |
| #define DX_TREE_GET_bitmap | ( | id, | |
| names ) |
| #define DX_TREE_GET_choice | ( | id, | |
| options ) |
| #define DX_TREE_GET_cstr | ( | id | ) |
| #define DX_TREE_GET_direction | ( | id | ) |
| #define DX_TREE_GET_fourchar | ( | id | ) |
| #define DX_TREE_GET_level | ( | id | ) |
| #define DX_TREE_GET_matrix | ( | id | ) |
| #define DX_TREE_GET_nested | ( | id | ) |
| #define DX_TREE_GET_power2 | ( | id, | |
| min, | |||
| max ) |
| #define DX_TREE_GET_value | ( | id | ) |
| #define DX_TREE_GET_vector | ( | id | ) |
| #define DX_TREE_SERIALIZE | ( | members | ) |
the tree serialization pair a struct's member list expands into, the visit that shows it and the equality
| #define DX_TREE_SET_array | ( | id, | |
| ids ) |
| #define DX_TREE_SET_bitmap | ( | id, | |
| names ) |
| #define DX_TREE_SET_choice | ( | id, | |
| options ) |
| #define DX_TREE_SET_cstr | ( | id | ) |
| #define DX_TREE_SET_direction | ( | id | ) |
| #define DX_TREE_SET_fourchar | ( | id | ) |
| #define DX_TREE_SET_level | ( | id | ) |
| #define DX_TREE_SET_matrix | ( | id | ) |
| #define DX_TREE_SET_nested | ( | id | ) |
| #define DX_TREE_SET_power2 | ( | id, | |
| min, | |||
| max ) |
| #define DX_TREE_SET_value | ( | id | ) |
member lists and their serialization sinks
Each struct names its members once, as a DX_MEMBERS_<struct> list of X##_<kind>(member[, count]) entries, and hands that list to a sink macro. The store's is the dx::key_value_tree one below, which recurses through named child nodes instead of flattening the struct into one opaque value - into a preference store, the registry, or a property's dictionary held as a cf::store (macOS, where the desc is also the device tree's wire format - see dx::coreaudio::pod::device's desc property).
A scalar rides as uint32_t so it lands in the store's own integer type (REG_DWORD) rather than a sizeof-wide byte copy - bitfields and bool included. An array's elements are the decimal index, read back by the node's own child count, so their order is numeric by construction and never depends on how the store sorts key names.
| #define DX_TREE_SET_vector | ( | id | ) |
| #define DX_VISIT_access | ( | id | ) |
| #define DX_VISIT_array | ( | id, | |
| ids ) |
| #define DX_VISIT_bitmap | ( | id, | |
| names ) |
| #define DX_VISIT_choice | ( | id, | |
| options ) |
| #define DX_VISIT_cstr | ( | id | ) |
| #define DX_VISIT_direction | ( | id | ) |
| #define DX_VISIT_fourchar | ( | id | ) |
| #define DX_VISIT_level | ( | id | ) |
| #define DX_VISIT_matrix | ( | id | ) |
| #define DX_VISIT_nested | ( | id | ) |
| #define DX_VISIT_power2 | ( | id, | |
| min, | |||
| max ) |
| #define DX_VISIT_value | ( | id | ) |
| #define DX_VISIT_vector | ( | id | ) |