Initial commit
This commit is contained in:
commit
b7d90b9afe
16245 files changed
+3396666
No files matched your search
@@ -0,0 +1,39 @@
|
||||
/**
|
||||
* Handler for one indirect fire single object
|
||||
* $Id$
|
||||
* $HeadURL$
|
||||
* $Author$
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include <QObject>
|
||||
#include "aes_db.h"
|
||||
#include "object_base.h"
|
||||
|
||||
namespace AreaEffectSimulation
|
||||
{
|
||||
class ObjectAirSupportImpact final : public ObjectBaseTmpl<Database::AesAirSupportImpact>
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit ObjectAirSupportImpact(MainHandler *mainHandler,
|
||||
QObject *parent = nullptr);
|
||||
~ObjectAirSupportImpact();
|
||||
|
||||
Core::FunctionReplyObject updateObject(const Database::AesAirSupportImpact &data) override;
|
||||
|
||||
std::vector<Core::GeoPosition> form() const override { return m_aiv.form(); }
|
||||
QPolygonF generateForm() override;
|
||||
AesType aesType() const override { return AesType::AtAirSupportImpact; }
|
||||
bool isCentral() const override { return m_data.isCentral; }
|
||||
void removeTopics();
|
||||
|
||||
protected Q_SLOTS:
|
||||
void onPublishData() override;
|
||||
protected:
|
||||
double chargeRadius() const;
|
||||
void publishAiv();
|
||||
private:
|
||||
AesItemView m_aiv;
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user