Raspberry Pi Weighting Control System
This project serves as a simple weighting control system, that was realized as a Bachelor Thesis
Namespaces | Macros | Functions
config_loader.h File Reference
#include <string>

Go to the source code of this file.

Namespaces

 config_loader
 

Macros

#define OPT_CFG_REF_UNIT_KEY   "ref_unit"
 
#define OPT_CFG_OFFSET_KEY   "offset"
 

Functions

int config_loader::load_main_config_ini (const char *cfg_path)
 This funciton loads main configuration. _ini symobolizes that the expected format is .ini. More...
 
int config_loader::exist_opt_config (const char *cfg_path)
 Checks if optional config exists. More...
 
int config_loader::load_opt_config (const char *cfg_path)
 Loads the optional config. More...
 
int config_loader::replace_opt_in_opt_config (const char *cfg_path, std::string key, std::string value)
 This is used to replace a values in optional config. More...
 

Macro Definition Documentation

◆ OPT_CFG_OFFSET_KEY

#define OPT_CFG_OFFSET_KEY   "offset"

Definition at line 7 of file config_loader.h.

◆ OPT_CFG_REF_UNIT_KEY

#define OPT_CFG_REF_UNIT_KEY   "ref_unit"

Definition at line 6 of file config_loader.h.