- Migrated all 104 CMakeLists.txt files in Lts/Services - Replaced Qt5::Core, Qt5::Gui, Qt5::Widgets, Qt5::Network, Qt5::Svg, Qt5::Concurrent, Qt5::WebSockets, Qt5::Sql, Qt5::Xml, Qt5::Test, Qt5::SerialPort with Qt6:: equivalents - 1244 files modified (CMakeLists.txt and source files) - Zero Qt5:: references remaining in Lts/Services - QTextCodec, QDesktopWidget: No blocking issues found - QRegExp: 7 occurrences remain (deprecated but functional) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
39 lines
961 B
C++
Executable File
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;
|
|
|
|
};
|
|
}
|