stores internal and user configuration
More...
#include <configuration.hpp>
|
static constexpr std::string_view | internal {"internal"} |
| the name of the SubTable the contains the list of internal values, like the following
|
static constexpr std::string_view | luaStartNewThreadTime {"luaStartNewThreadTime"} |
| stores a double value in seconds that is used to decide after which non-idle time an agent replicates, i. e. creates another hardware thread to distribute work load.
|
static constexpr std::string_view | logMessages {"logMessages"} |
| stores a bool value (default false); if true, all nexuslua messages are logged to "nexuslua.log" in the user folder (see cbeam::filesystem::get_user_data_dir)
|
static constexpr std::string_view | logReplication {"logReplication"} |
| stores a bool value (default false); if true, each time an agent is replicated a corresponding log entry is created in file "nexuslua.log" in the user folder (see cbeam::filesystem::get_user_data_dir)
|
stores internal and user configuration
The configuration be accessed via nexuslua setconfig and getconfig or via C++.
◆ Configuration()
nexuslua::Configuration::Configuration |
( |
| ) |
|
|
inline |
◆ ~Configuration()
virtual nexuslua::Configuration::~Configuration |
( |
| ) |
|
|
virtualdefault |
◆ GetInternal()
template<typename T>
T nexuslua::Configuration::GetInternal |
( |
const std::string_view & | key | ) |
|
|
inline |
- Parameters
-
key | get the given configuration value |
◆ GetTable()
LuaTable nexuslua::Configuration::GetTable |
( |
| ) |
|
|
inline |
◆ SetTable()
void nexuslua::Configuration::SetTable |
( |
const LuaTable & | t | ) |
|
|
inline |
- Parameters
-
t | replace the configuration table, including the internal configuration |
◆ internal
std::string_view nexuslua::Configuration::internal {"internal"} |
|
staticconstexpr |
the name of the SubTable the contains the list of internal values, like the following
◆ logMessages
std::string_view nexuslua::Configuration::logMessages {"logMessages"} |
|
staticconstexpr |
stores a bool value (default false); if true, all nexuslua messages are logged to "nexuslua.log" in the user folder (see cbeam::filesystem::get_user_data_dir)
◆ logReplication
std::string_view nexuslua::Configuration::logReplication {"logReplication"} |
|
staticconstexpr |
stores a bool value (default false); if true, each time an agent is replicated a corresponding log entry is created in file "nexuslua.log" in the user folder (see cbeam::filesystem::get_user_data_dir)
◆ luaStartNewThreadTime
std::string_view nexuslua::Configuration::luaStartNewThreadTime {"luaStartNewThreadTime"} |
|
staticconstexpr |
stores a double value in seconds that is used to decide after which non-idle time an agent replicates, i. e. creates another hardware thread to distribute work load.
The documentation for this class was generated from the following file: