Initial commit
This commit is contained in:
commit
b7d90b9afe
16245 files changed
+3396666
No files matched your search
@@ -0,0 +1,38 @@
|
||||
/**
|
||||
* Handler for all indirect fire single objects
|
||||
* $Id$
|
||||
* $HeadURL$
|
||||
* $Author$
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include <AreaEffectSimulation/aes_db.h>
|
||||
#include "handler_base.h"
|
||||
#include "object_air_support_impact.h"
|
||||
|
||||
namespace AreaEffectSimulation
|
||||
{
|
||||
class ObjectAirSupport;
|
||||
class HandlerAirSupportImpact final : public HandlerBaseTmpl<ObjectAirSupportImpact>
|
||||
, protected Interface::Fts::AirSupportImpactModifyRequestHandler
|
||||
, protected Interface::Fts::AirSupportImpactRemoveRequestHandler
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit HandlerAirSupportImpact(MainHandler *mainHandler);
|
||||
~HandlerAirSupportImpact() = default;
|
||||
|
||||
bool init();
|
||||
|
||||
private:
|
||||
Core::FunctionReplyObject airSupportImpactCreateRequest(const AirSupportImpactModifyRequest &request);
|
||||
Core::FunctionReplyObject airSupportImpactModifyRequest(const AirSupportImpactModifyRequest &request);
|
||||
void onAirSupportImpactModifyRequest(const rti::core::SampleIdentity &cookie,
|
||||
const AirSupportImpactModifyRequest &request) override;
|
||||
void onAirSupportImpactRemoveRequest(const rti::core::SampleIdentity &cookie,
|
||||
const Core::RemoveElementRequest &request) override;
|
||||
|
||||
int totalAreas() const override;
|
||||
int totalAreasCentral() const override;
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user