nlsr::ConfFileProcessor Class Reference

A class containing methods to parse an NLSR configuration file. More...

#include <conf-file-processor.hpp>

Public Member Functions

 ConfFileProcessor (ConfParameter &confParam)
 
bool processConfFile ()
 Load and parse the configuration file, then populate NLSR. More...
 

Detailed Description

A class containing methods to parse an NLSR configuration file.

This class contains methods to parse an NLSR configuration file and set all the parameters in NLSR to the received values. There are defaults for any unconfigured settings.

This is currently called by the wrapper class NlsrRunner to populate the NLSR object with its configuration before NLSR is started.

See also
nlsr::ConfParameter
NlsrRunner::run

Definition at line 49 of file conf-file-processor.hpp.

Constructor & Destructor Documentation

◆ ConfFileProcessor()

nlsr::ConfFileProcessor::ConfFileProcessor ( ConfParameter confParam)

Definition at line 135 of file conf-file-processor.cpp.

Member Function Documentation

◆ processConfFile()

bool nlsr::ConfFileProcessor::processConfFile ( )

Load and parse the configuration file, then populate NLSR.

Entry-point function that chains all the necessary steps together to configure an NLSR object.

Returns
A boolean for whether configuration was successful.

Definition at line 142 of file conf-file-processor.cpp.

Here is the call graph for this function:
Here is the caller graph for this function: