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;
|
|
|
|
};
|
|
|
|
}
|
|
|