Initial commit
This commit is contained in:
commit
b7d90b9afe
16245 files changed
+3396666
No files matched your search
Executable
+70
@@ -0,0 +1,70 @@
|
||||
|
||||
// **************************************************************************
|
||||
//
|
||||
// (C) Copyright 2009 Swiss SIMTEC AG
|
||||
//
|
||||
// **************************************************************************
|
||||
//
|
||||
// $HeadURL$
|
||||
// $LastChangedBy$
|
||||
// $LastChangedDate$
|
||||
// $LastChangedRevision$
|
||||
//
|
||||
// **************************************************************************
|
||||
|
||||
// manual class headers
|
||||
#include "GeoPairingImplDted.hpp"
|
||||
#include "GeoPairingImplFiredBulletDted.hpp"
|
||||
|
||||
namespace N_GeoPairingImpl
|
||||
{
|
||||
|
||||
// ---------------------------------------------------------------
|
||||
GeoPairingImplDted::GeoPairingImplDted()
|
||||
: GeoPairingImplBalistic("GeoPairingImplDted")
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
// ---------------------------------------------------------------
|
||||
// Creates a new fired bulled according to the given SensorData
|
||||
// ---------------------------------------------------------------
|
||||
GeoPairingImplFiredBullet *GeoPairingImplDted::createFiredBullet(GeoPairingImplSensorData &a_sensorData)
|
||||
{
|
||||
GeoPairingImplFiredBulletDted *p_firedBullet = new GeoPairingImplFiredBulletDted(a_sensorData);
|
||||
p_firedBullet->setMeteoData(m_MeteoData);
|
||||
return p_firedBullet;
|
||||
}
|
||||
|
||||
|
||||
// ---------------------------------------------------------------
|
||||
// Initialize the GeoPairing implementation
|
||||
// ---------------------------------------------------------------
|
||||
bool GeoPairingImplDted::initialize(const QString &filePath)
|
||||
{
|
||||
GeoPairingImplBalistic::initialize(filePath);
|
||||
|
||||
if (!GeoPairingImplFiredBulletDted::initStatic())
|
||||
{
|
||||
ERROR_LOG(m_logger) << "Couldn't initialize DTED Version";
|
||||
return false;
|
||||
}
|
||||
|
||||
std::cout << "initialized" << std::endl;
|
||||
|
||||
m_Initialized = true;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
// ---------------------------------------------------------------
|
||||
// Pupulates a SensorData instance according to the given
|
||||
// transparent datastream
|
||||
// ---------------------------------------------------------------
|
||||
SInt32 GeoPairingImplDted::createSensorData(GeoPairingImplSensorData *a_sensorData, const QByteArray& a_transparendData)
|
||||
{
|
||||
int isDefault;
|
||||
return GeoPairingImpl::createSensorData(a_sensorData, a_transparendData, isDefault);
|
||||
}
|
||||
|
||||
} // namespace N_GeoPairingImpl
|
||||
Reference in new issue
Block a user