Skip to content
Snippets Groups Projects
Commit 2dc40d13 authored by matta's avatar matta
Browse files

Put the constructor and destructor of the Calibration Manager as protected to...

Put the constructor and destructor of the Calibration Manager as protected to prevent multi-instantiation of the CalibrationManager
 - Destructor and COnstructor are now protected
parent 293dc565
No related branches found
No related tags found
No related merge requests found
......@@ -33,7 +33,7 @@ using namespace std ;
class CalibrationManager
{
public: // Constructor and Destructor
protected: // Constructor and Destructor are protected because the class is a singleton
CalibrationManager(string configFileName);
~CalibrationManager();
......@@ -61,9 +61,9 @@ class CalibrationManager
double ApplyCalibration(string ParameterPath , double RawValue);
public: // To be called after initialisation
// Loop over the file list and catch the file used for calibration
void LoadParameterFromFile();
public: // To be called after initialisation
// Loop over the file list and catch the file used for calibration
void LoadParameterFromFile();
private:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment