Petit Poucet
 
Loading...
Searching...
No Matches
petitpoucet::utils::filemanipulation::ConfigurationSetup Class Reference

#include <Utils.hh>

Public Member Functions

 ConfigurationSetup ()
 
 ~ConfigurationSetup ()=default
 
void ReadConfigFile (std::string configFileName, std::string *casterName, std::string *serialPortName)
 Reads a configuration files and attibutes values to a caster name and a serial port name.
 

Constructor & Destructor Documentation

◆ ConfigurationSetup()

petitpoucet::utils::filemanipulation::ConfigurationSetup::ConfigurationSetup ( )
inline

◆ ~ConfigurationSetup()

petitpoucet::utils::filemanipulation::ConfigurationSetup::~ConfigurationSetup ( )
default

Member Function Documentation

◆ ReadConfigFile()

void petitpoucet::utils::filemanipulation::ConfigurationSetup::ReadConfigFile ( std::string  configFileName,
std::string *  casterName,
std::string *  serialPortName 
)

Reads a configuration files and attibutes values to a caster name and a serial port name.

Parameters
std::stringconfigFilName The file name where the configration is stored
std::string*casterName the pointer to the caster name variable where the name of the caster stored in the config file will be stored
std::string*serialPortName the pointer to the serial port name variable where the name of the serial port stored in the config file will be stored

The documentation for this class was generated from the following files: