Aufgrund einer Wartung wird GitLab am 18.01. zwischen 8:00 und 9:00 Uhr kurzzeitig nicht zur Verfügung stehen. / Due to maintenance, GitLab will be temporarily unavailable on 18.01. between 8:00 and 9:00 am.

Commit 86ba153e authored by Markus Mirz's avatar Markus Mirz
Browse files

remove constructor from data logger

parent 10bfdbde
......@@ -38,7 +38,6 @@ namespace DPsim {
std::ofstream mLogFile;
Bool mEnabled;
std::map<String, CPS::AttributeBase::Ptr> mAttributes;
void logDataLine(Real time, Real data);
......@@ -48,7 +47,6 @@ namespace DPsim {
public:
using Ptr = std::shared_ptr<DataLogger>;
DataLogger(Bool enabled = true);
DataLogger(String name, Bool enabled = true);
~DataLogger();
......
......@@ -27,12 +27,6 @@ namespace fs = std::experimental::filesystem;
using namespace DPsim;
DataLogger::DataLogger(Bool enabled) :
mLogFile(),
mEnabled(enabled) {
mLogFile.setstate(std::ios_base::badbit);
}
DataLogger::DataLogger(String name, Bool enabled) :
mEnabled(enabled) {
if (!mEnabled)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment