Adds NmeaManagement tests, fixes codegen includes and Qt6 SerialPort CMake target.
34 lines
741 B
C++
Executable File
34 lines
741 B
C++
Executable File
|
|
|
|
|
|
#pragma once
|
|
#include <ParticipantManagement/ppm.hpp>
|
|
#include <QtCore/QObject>
|
|
#include <QtCore/QHash>
|
|
#include "logger.h"
|
|
#include <bld_fts.h>
|
|
|
|
namespace Buildings
|
|
{
|
|
class MainHandler;
|
|
|
|
class RelayInfoHandler : public QObject
|
|
, protected Interface::Fts::SetRelayInfoRequestHandler
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit RelayInfoHandler(MainHandler *mainHandler);
|
|
~RelayInfoHandler();
|
|
|
|
bool init();
|
|
|
|
private Q_SLOTS:
|
|
private:
|
|
NGL::INGLLogger &m_logger;
|
|
void onSetRelayInfoRequest(const rti::core::SampleIdentity &cookie,
|
|
const SetRelayInfoRequest &request) override;
|
|
Core::FunctionReplyObject onSetRelayInfoRequestInternal(const SetRelayInfoRequest &data);
|
|
MainHandler *m_mainHandler;
|
|
};
|
|
}
|