Class that helps configuring the network.
More...
#include <networkconfig.hpp>
|
| static constexpr const char * | NetCfgFile = "interfaces" |
| |
Class that helps configuring the network.
- See also
- Network Configuration for end-user documentation.
Definition at line 40 of file networkconfig.hpp.
◆ NetworkConfig() [1/2]
| NetworkConfig::NetworkConfig |
( |
const Kernel & |
k, |
|
|
const boost::property_tree::ptree & |
cfg |
|
) |
| |
|
explicit |
◆ ~NetworkConfig()
| Leosac::NetworkConfig::~NetworkConfig |
( |
| ) |
|
|
default |
◆ NetworkConfig() [2/2]
| Leosac::NetworkConfig::NetworkConfig |
( |
const NetworkConfig & |
other | ) |
|
|
delete |
◆ operator=()
◆ reload()
| void NetworkConfig::reload |
( |
| ) |
|
◆ setCustomIP()
| void NetworkConfig::setCustomIP |
( |
bool |
enabled | ) |
|
◆ setDHCP()
| void NetworkConfig::setDHCP |
( |
bool |
enabled | ) |
|
◆ setEnabled()
| void NetworkConfig::setEnabled |
( |
bool |
state | ) |
|
◆ _defaultIp
| std::string Leosac::NetworkConfig::_defaultIp |
|
private |
◆ _dhcpEnabled
| bool Leosac::NetworkConfig::_dhcpEnabled |
|
private |
◆ _enabled
| bool Leosac::NetworkConfig::_enabled |
|
private |
◆ _gateway
| std::string Leosac::NetworkConfig::_gateway |
|
private |
◆ _interface
| std::string Leosac::NetworkConfig::_interface |
|
private |
◆ _ip
| std::string Leosac::NetworkConfig::_ip |
|
private |
◆ _netmask
| std::string Leosac::NetworkConfig::_netmask |
|
private |
◆ config_
| boost::property_tree::ptree Leosac::NetworkConfig::config_ |
|
private |
◆ kernel_
| const Kernel& Leosac::NetworkConfig::kernel_ |
|
private |
◆ NetCfgFile
| constexpr const char* Leosac::NetworkConfig::NetCfgFile = "interfaces" |
|
staticprivate |
The documentation for this class was generated from the following files: