|
dxd - dynax driver framework 3.0.2
cross platform open source driver development framework
|
Classes | |
| struct | dx::log |
| the whole log setting in two 32 bit words: the level - a dx::log::level per dx::log::scope per dx::log::module, four bits each - and the pipes (dx::log::pipe), where the lines go. The words are what a driver, a kernel, a host and a firmware exchange and compare; the named members are the same bits, and to/from name them for a preference, a command line or a property. The serialization macro hands the member list to the tree sink of dx_serialize.h, so a store - the plugin property's dictionary as a cf::store among them - holds the log resolved rather than the words. More... | |
| struct | dx::log::circular |
| the log's lines from any number of writers, lock free: a writer reserves its entry at tx - a length word and the line, padded to the word - and writes the length word last; the one reader takes the entries whose length word stands and clears them behind it, so a zero length is a line not written yet The ring's size is a multiple of the word, so a length word never wraps. More... | |
| struct | dx::log::from |
| struct | dx::log::module |
| the parts of a driver a message is attributed to, each with its own dx::log::scope More... | |
| struct | dx::log::module::from |
| struct | dx::log::module::to |
| union | dx::log::pipe |
| where the std streams' lines go: the dx::log::pipe::sinks of each - a stream naming no sink of the process drops its lines More... | |
| union | dx::log::pipe::sinks |
| a stream's sinks, a bit each in the order of name More... | |
| struct | dx::log::scope |
| the phases a module is logged apart in - a device's setup may be traced while its operation stays quiet More... | |
| struct | dx::log::scope::from |
| struct | dx::log::scope::to |
| struct | dx::log::to |
Namespaces | |
| namespace | dx |
| dynax driver framework interface namespace | |
Macros | |
| #define | DX_MEMBERS_LOG(X) |
| the preference holds the log resolved: a key per module, a value per scope naming the level | |
| #define | DX_MEMBERS_LOG_PIPE(X) |
| #define | DX_MEMBERS_LOG_SCOPE(X) |
| #define | DX_MEMBERS_LOG_SINKS(X) |
| #define DX_MEMBERS_LOG(X) |
| #define DX_MEMBERS_LOG_PIPE(X) |
| #define DX_MEMBERS_LOG_SCOPE(X) |
| #define DX_MEMBERS_LOG_SINKS(X) |