|
networkservice
|
Load the configuration used by the service to set up the network. More...
#include "service/plugins/IConfig.h"
Public Member Functions | |
| IConfig ()=default | |
| virtual | ~IConfig ()=default |
| IConfig (const IConfig &)=delete | |
| IConfig & | operator= (const IConfig &)=delete |
| IConfig (IConfig &&)=delete | |
| IConfig & | operator= (IConfig &&)=delete |
| virtual std::unique_ptr< ConfigData > | load (const std::string &configFile) const =0 |
| Load the the provided configuration file into memory. More... | |
Load the configuration used by the service to set up the network.
This class is the high level interface that must be implemented by config plugin. The core service depends on it and not on its implementation(s) to respect the Dependency Inversion Principle. It is possible to retrieve the network configuration in various means that just need to be implemented if required:
|
default |
Class constructor
|
virtualdefault |
Class destructor made virtual because it is used as base class by derived classes in config plugin
|
delete |
Class copy constructor
|
delete |
Class move constructor
|
pure virtual |
Load the the provided configuration file into memory.
| configFile | Configuration file to load |
Implemented in service::plugins::config::Config.
Class copy-assignment operator
Class move-assignment operator
1.8.13