49 lines
1.5 KiB
C++
Executable File
49 lines
1.5 KiB
C++
Executable File
|
|
// **************************************************************************
|
|
//
|
|
// (C) Copyright 2009 Swiss SIMTEC AG
|
|
//
|
|
// **************************************************************************
|
|
//
|
|
// $HeadURL$
|
|
// $LastChangedBy$
|
|
// $LastChangedDate$
|
|
// $LastChangedRevision$
|
|
//
|
|
// **************************************************************************
|
|
|
|
#include "GeoPairingImplBalistic.hpp"
|
|
#include "GeoPairingImplFiredBulletBalistic.hpp"
|
|
|
|
namespace N_GeoPairingImpl
|
|
{
|
|
|
|
// ---------------------------------------------------------------
|
|
GeoPairingImplBalistic::GeoPairingImplBalistic(const char *loggerName)
|
|
: GeoPairingImpl(loggerName ? loggerName : "GeoPairingImplBalistic")
|
|
{}
|
|
|
|
|
|
// ---------------------------------------------------------------
|
|
// Creates a new fired bulled according to the given SensorData
|
|
// ---------------------------------------------------------------
|
|
GeoPairingImplFiredBullet *GeoPairingImplBalistic::createFiredBullet(GeoPairingImplSensorData &a_sensorData)
|
|
{
|
|
GeoPairingImplFiredBulletBalistic *p_firedBullet = new GeoPairingImplFiredBulletBalistic(a_sensorData);
|
|
p_firedBullet->setMeteoData(m_MeteoData);
|
|
return p_firedBullet;
|
|
}
|
|
|
|
|
|
// ---------------------------------------------------------------
|
|
// Initialize the GeoPairing implementation
|
|
// ---------------------------------------------------------------
|
|
bool GeoPairingImplBalistic::initialize(const QString &a_config)
|
|
{
|
|
Q_UNUSED(a_config)
|
|
m_Initialized = true;
|
|
return true;
|
|
}
|
|
|
|
} // namespace N_GeoPairingImpl
|