Files
qt5-legatus-legacy/Lts/Services/WarehouseGuez/handler_injury_model.h
T
2026-08-13 18:33:10 +02:00

39 lines
961 B
C++
Executable File

/**
* Handler for all Language HMI objects
* $Id$
* $HeadURL$
* $Author$
* Created by Hanna E. Rathje, SLSE, 2015-09-03
*/
#pragma once
#include <QHash>
#include "main_handler.h"
#include "logger.h"
namespace WarehouseGuez
{
class ObjectInjuryModel;
class HandlerInjuryModel final
: protected Interface::Fts::ModifyInjuryModelAgdusWhRequestHandler
, protected Interface::Fts::RemoveInjuryModelAgdusWhRequestHandler
{
public:
explicit HandlerInjuryModel(MainHandler *mainHandler);
~HandlerInjuryModel();
bool init();
private:
void onModifyInjuryModelAgdusWhRequest(const rti::core::SampleIdentity &cookie, const InjuryModelAgdusWh &request);
void onRemoveInjuryModelAgdusWhRequest(const rti::core::SampleIdentity &cookie, const Core::RemoveElementRequest &request);
private:
QHash<int, ObjectInjuryModel*> m_injurymodelObjMap;
MainHandler* m_mainHandler;
NGL::INGLLogger &m_logger;
};
}