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