PL::BlackBoxServerConfiguration class
-
class BlackBoxServerConfiguration : public PL::BlackBoxConfiguration
BlackBox server configuration.
Subclassed by PL::BlackBoxModbusServerConfiguration, PL::BlackBoxNetworkServerConfiguration, PL::BlackBoxStreamServerConfiguration
Public Functions
Creates a BlackBox server configuration.
- Parameters:
server – server
nvsNamespaceName – NVS namespace name
-
virtual void Load() override
Loads the configuration.
-
virtual void Save() override
Saves the configuration.
-
virtual void Erase() override
Erases the configuration.
-
virtual void Apply()
Applies the configuration to the server.
Public Members
-
BlackBoxConfigurationParameter<bool> enabled = BlackBoxConfigurationParameter<bool>(true)
enabled parameter
Public Static Attributes
-
static const std::string enabledNvsKey
enabled parameter NVS key