Configure the network (enable network interfaces, set IP addresses, add new network interfaces, ...)
More...
#include "plugins/network/Network.h"
Configure the network (enable network interfaces, set IP addresses, add new network interfaces, ...)
This class is the "low level class" that implements INetwork.h
- Note
- Copy contructor, copy-assignment operator, move constructor and move-assignment operator are defined to be compliant with the "Rule of five"
- See also
- https://en.cppreference.com/w/cpp/language/rule_of_three
- Author
- Boubacar DIENE bouba.nosp@m.car..nosp@m.diene.nosp@m.@gma.nosp@m.il.co.nosp@m.m
- Date
- April 2020
◆ Network() [1/3]
Class constructor
- Parameters
-
| executor | Command executor to use |
| writer | Writer object to write into files |
◆ ~Network()
| service::plugins::network::Network::~Network |
( |
| ) |
|
|
override |
Class destructor
- Note
- The override specifier aims at making the compiler warn if the base class's destructor is not virtual.
◆ Network() [2/3]
| service::plugins::network::Network::Network |
( |
const Network & |
| ) |
|
|
delete |
◆ Network() [3/3]
| service::plugins::network::Network::Network |
( |
Network && |
| ) |
|
|
delete |
◆ applyInterfaceCommands()
| void service::plugins::network::Network::applyInterfaceCommands |
( |
const std::vector< std::string > & |
interfaceCommands | ) |
const |
|
overridevirtual |
◆ applyLayerCommands()
◆ hasInterface()
| bool service::plugins::network::Network::hasInterface |
( |
const std::string & |
interfaceName | ) |
const |
|
overridevirtual |
◆ operator=() [1/2]
| Network& service::plugins::network::Network::operator= |
( |
const Network & |
| ) |
|
|
delete |
Class copy-assignment operator
◆ operator=() [2/2]
Class move-assignment operator
◆ m_internal
| std::unique_ptr<Internal> service::plugins::network::Network::m_internal |
|
private |
The documentation for this class was generated from the following file: