Implementation class for event ID configuration entries.
More...
#include <ConfigEntry.hxx>
|
| template<typename T > |
| constexpr | EventConfigEntry (T t) |
| |
| void | handle_events (const EventOffsetCallback &fn) |
| |
| constexpr unsigned | end_offset () const |
| |
| TR | read (int fd) const |
| | Reads the data from the configuration file.
|
| |
| TR | read_or_write_trimmed (int fd, TR min_value, TR max_value) |
| | Reads data from configuration file obeying a specific trimming.
|
| |
| TR | read_or_write_default (int fd, TR min_value, TR max_value, TR def_value) |
| | Reads data from configuration file if the value is valid.
|
| |
| void | write (int fd, TR d) const |
| | Writes the data to the configuration file.
|
| |
| constexpr | ConfigReference (unsigned offset) |
| | Initializes the config reference from a configuration space offset.
|
| |
| constexpr | ConfigReference (const ConfigReference &ref) |
| | Initializes the config reference from an existing config reference.
|
| |
| constexpr unsigned | offset () const |
| |
|
| template<class T > |
| T | raw_read (int fd) const |
| | Reads a given typed variable from the configuration file.
|
| |
| template<class T > |
| void | raw_write (int fd, const T &value) const |
| | Writes a given typed variable to the configuration file.
|
| |
| void | repeated_read (int fd, void *buf, size_t size) const |
| | Performs a reliable read from the given FD.
|
| |
| void | repeated_write (int fd, const void *buf, size_t size) const |
| | Performs a reliable write to the given FD.
|
| |
| unsigned | offset_ |
| | zero-based offset from the beginning of the configuration file.
|
| |
Implementation class for event ID configuration entries.
Definition at line 340 of file ConfigEntry.hxx.
◆ EventConfigEntry()
template<typename T >
| constexpr openlcb::EventConfigEntry::EventConfigEntry |
( |
T |
t | ) |
|
|
inlineconstexpr |
◆ config_renderer()
◆ handle_events()
The documentation for this class was generated from the following file: