refs #849, simulator context

* detect when network is connected (to receive data for statistics)
* function to get statistics
* also added function to re-initialize last model set (unrelated, but in same class)
This commit is contained in:
Klaus Basan
2017-01-05 02:28:44 +01:00
committed by Mathew Sutcliffe
parent 928dd9f34a
commit 44d7e3cca9
6 changed files with 91 additions and 25 deletions

View File

@@ -216,13 +216,20 @@ namespace BlackCore
}
//! \copydoc IContextSimulator::parseCommandLine
virtual bool parseCommandLine(const QString &commandLine, const BlackMisc::CIdentifier &originator)
virtual bool parseCommandLine(const QString &commandLine, const BlackMisc::CIdentifier &originator) override
{
Q_UNUSED(commandLine);
Q_UNUSED(originator);
logEmptyContextWarning(Q_FUNC_INFO);
return false;
}
//! \copydoc IContextSimulator::getCurrentMatchingStatistics
virtual BlackMisc::Simulation::CMatchingStatistics getCurrentMatchingStatistics(bool missingOnly) const override
{
Q_UNUSED(missingOnly);
return BlackMisc::Simulation::CMatchingStatistics();
}
};
} // namespace
} // namespace