mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-13 07:35:41 +08:00
Ref T171, set object name for driver
This commit is contained in:
@@ -37,11 +37,11 @@ namespace BlackMisc
|
||||
namespace Simulation
|
||||
{
|
||||
template <typename Derived>
|
||||
CInterpolator<Derived>::CInterpolator(const QString &objectName, const BlackMisc::Aviation::CCallsign &callsign, QObject *parent) :
|
||||
CInterpolator<Derived>::CInterpolator(const QString &objectName, const CCallsign &callsign, QObject *parent) :
|
||||
QObject(parent),
|
||||
m_callsign(callsign)
|
||||
{
|
||||
this->setObjectName(objectName);
|
||||
this->setObjectName(objectName + " for " + callsign.asString());
|
||||
}
|
||||
|
||||
template <typename Derived>
|
||||
|
||||
@@ -31,7 +31,10 @@ namespace BlackMisc
|
||||
{
|
||||
public:
|
||||
//! Constructor
|
||||
CInterpolatorDummy(const BlackMisc::Aviation::CCallsign &, QObject *parent) : QObject(parent) {}
|
||||
CInterpolatorDummy(const BlackMisc::Aviation::CCallsign &callsign, QObject *parent) : QObject(parent)
|
||||
{
|
||||
this->setObjectName("CInterpolatorDummy for " + callsign.asString());
|
||||
}
|
||||
|
||||
//! \copydoc CInterpolator::getInterpolatedSituation
|
||||
BlackMisc::Aviation::CAircraftSituation getInterpolatedSituation(
|
||||
|
||||
Reference in New Issue
Block a user