140 std::optional<uint32_t>
getUint32(
const std::string& key)
const;
147 std::optional<uint64_t>
getUint64(
const std::string& key)
const;
154 std::optional<bool>
getBool(
const std::string& key)
const;
161 std::unique_ptr<Impl> impl_;
Thread-safe singleton for centralized configuration management.
bool isHostLogEnabled() const
Check if host logging is enabled.
uint32_t getHostLogLevel() const
Get the host runtime log level (0=NONE, 1=ERROR, 2=WARN, 3=INFO, 4=DEBUG, 5=TRACE).
ConfigManager(const ConfigManager &)=delete
ConfigManager & operator=(const ConfigManager &)=delete
bool isDeviceLogEnabled() const
Check if device logging is enabled.
ConfigManager(ConfigManager &&)=delete
std::optional< uint32_t > getUint32(const std::string &key) const
Get a uint32 configuration value by key.
uint32_t getDeviceId() const
Get the device ID.
uint32_t getDeviceLogLevel() const
Get the device runtime log level (0=NONE, 1=ERROR, 2=WARN, 3=INFO, 4=DEBUG, 5=TRACE).
static ConfigManager & instance()
Get the singleton instance.
uint32_t getNumSub() const
Get the number of Subs to build device Jobs from.
uint32_t getTaskCount() const
Get the task count.
ConfigManager & operator=(ConfigManager &&)=delete
std::optional< uint64_t > getUint64(const std::string &key) const
Get a uint64 configuration value by key.
std::optional< bool > getBool(const std::string &key) const
Get a boolean configuration value by key.