- Migrated all 104 CMakeLists.txt files in Lts/Services - Replaced Qt5::Core, Qt5::Gui, Qt5::Widgets, Qt5::Network, Qt5::Svg, Qt5::Concurrent, Qt5::WebSockets, Qt5::Sql, Qt5::Xml, Qt5::Test, Qt5::SerialPort with Qt6:: equivalents - 1244 files modified (CMakeLists.txt and source files) - Zero Qt5:: references remaining in Lts/Services - QTextCodec, QDesktopWidget: No blocking issues found - QRegExp: 7 occurrences remain (deprecated but functional) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
70 lines
1.4 KiB
C++
Executable File
70 lines
1.4 KiB
C++
Executable File
|
|
// **************************************************************************
|
|
//
|
|
// (C) Copyright 2009 Swiss SIMTEC AG
|
|
//
|
|
// **************************************************************************
|
|
//
|
|
// $HeadURL$
|
|
// $LastChangedBy$
|
|
// $LastChangedDate$
|
|
// $LastChangedRevision$
|
|
//
|
|
// **************************************************************************
|
|
|
|
#pragma once
|
|
|
|
// from stereotyped includes
|
|
#include "GeoPairingImplAirTarget.hpp"
|
|
#include <vector>
|
|
|
|
namespace N_GeoPairingImpl
|
|
{
|
|
|
|
/**
|
|
* This class can be used to update the position of AirTargets
|
|
*
|
|
* @author Daniel.Schmid
|
|
* @version 1.0
|
|
* @created 22-Dez-2011 10:49:53
|
|
*/
|
|
class GeoPairingImplAirTargetUpdater
|
|
{
|
|
public:
|
|
|
|
virtual ~GeoPairingImplAirTargetUpdater();
|
|
|
|
|
|
/**
|
|
* Constructor
|
|
*
|
|
* @param a_listTargets
|
|
*/
|
|
explicit GeoPairingImplAirTargetUpdater(std::vector<GeoPairingImplAirTarget *> *a_listTargets);
|
|
|
|
/**
|
|
* update position of a particular air target
|
|
*
|
|
* @param a_playerID
|
|
* @param a_positionLat
|
|
* @param a_positionLon
|
|
* @param a_positionAlt
|
|
* @param a_positionTime
|
|
* @param a_state
|
|
*/
|
|
void update(SInt32 a_playerID, Float64 a_positionLat, Float64 a_positionLon, Float64 a_positionAlt, UInt32 a_positionTime, SInt32 a_state);
|
|
|
|
protected:
|
|
|
|
std::vector<GeoPairingImplAirTarget *> *m_List;
|
|
|
|
private:
|
|
|
|
SInt32 m_UpdateCount = 0;
|
|
NGL::INGLLogger &m_logger;
|
|
|
|
};
|
|
|
|
}
|
|
|