refs #364, changed mapper to Simulation::CAircraftModel

This commit is contained in:
Klaus Basan
2015-01-18 21:59:58 +01:00
parent 799b640379
commit 000f9db3a4
2 changed files with 3 additions and 2 deletions

View File

@@ -12,6 +12,7 @@
#include <utility> #include <utility>
using namespace BlackMisc; using namespace BlackMisc;
using namespace BlackMisc::Simulation;
using namespace BlackMisc::Network; using namespace BlackMisc::Network;
namespace BlackSim namespace BlackSim
@@ -147,7 +148,7 @@ namespace BlackSim
} }
} }
simObjectsSize = this->m_entries.size(); simObjectsSize = this->m_entries.size();
CLogMessage(this).info("Read %1 from %2") << simObjectsSize << m_entries.getRootDirectory(); CLogMessage(this).info("Read %1 SimObjects from %2") << simObjectsSize << m_entries.getRootDirectory();
// sync // sync
this->synchronize(); this->synchronize();

View File

@@ -92,7 +92,7 @@ namespace BlackSim
bool containsModelWithTitle(const QString &title, Qt::CaseSensitivity caseSensitivity = Qt::CaseInsensitive); bool containsModelWithTitle(const QString &title, Qt::CaseSensitivity caseSensitivity = Qt::CaseInsensitive);
//! Model with title //! Model with title
BlackMisc::Network::CAircraftModel getModelWithTitle(const QString &title, Qt::CaseSensitivity caseSensitivity = Qt::CaseInsensitive) const; BlackMisc::Simulation::CAircraftModel getModelWithTitle(const QString &title, Qt::CaseSensitivity caseSensitivity = Qt::CaseInsensitive) const;
//! Synchronize models and mappings //! Synchronize models and mappings
//! \remarks after this step, we only have mappings for which we have models //! \remarks after this step, we only have mappings for which we have models