|
XVector
|
C++ configuration management API for the XVECTOR library. More...
#include <cstdint>#include <memory>#include <optional>#include <string>#include <utility>Go to the source code of this file.
Classes | |
| class | xvec::host::ConfigManager |
| Thread-safe singleton for centralized configuration management. More... | |
Namespaces | |
| xvec | |
| xvec::host | |
C++ configuration management API for the XVECTOR library.
This header provides a C++ API for centralized configuration management. Configuration values are loaded from multiple sources with the following priority order (highest to lowest):
Supported environment variables:
The former NUMSUB and TASKCOUNT environment names are no longer read. Numeric settings require a complete unsigned decimal value within uint32 range. Defaults apply only when unset. Empty or malformed numeric/log values cause instance() to throw std::invalid_argument before device discovery. Contexts always use the embedded production kernel. Configuration contains no kernel path or file discovery settings.
Example usage:
Definition in file xvec_config.hpp.