Adds initial intermediate qt6 porting state
This commit is contained in:
11247 files changed
+1891537
No files matched your search
+39
@@ -0,0 +1,39 @@
|
||||
|
||||
|
||||
|
||||
#include "relay_info_handler.h"
|
||||
#include "main_handler.h"
|
||||
|
||||
namespace Buildings
|
||||
{
|
||||
RelayInfoHandler::RelayInfoHandler(MainHandler *mainHandler)
|
||||
: QObject()
|
||||
, Interface::Fts::SetRelayInfoRequestHandler(mainHandler->ddsHandler()->fts())
|
||||
, m_mainHandler(mainHandler)
|
||||
, m_logger(getLogger("RelayInfoHandler"))
|
||||
{}
|
||||
|
||||
RelayInfoHandler::~RelayInfoHandler()
|
||||
{}
|
||||
|
||||
bool RelayInfoHandler::init()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
void RelayInfoHandler::onSetRelayInfoRequest(const rti::core::SampleIdentity &cookie,
|
||||
const SetRelayInfoRequest &request)
|
||||
{
|
||||
DEBUG_LOG(m_logger) << "onSetRelayInfoRequest " << request;
|
||||
const Core::FunctionReplyObject fro = onSetRelayInfoRequestInternal(request);
|
||||
if (fro.error())
|
||||
WARNING_LOG(m_logger) << fro();
|
||||
m_mainHandler->ddsHandler()->fts()->setRelayInfoReply(cookie, fro);
|
||||
}
|
||||
|
||||
Core::FunctionReplyObject RelayInfoHandler::onSetRelayInfoRequestInternal(const SetRelayInfoRequest &data)
|
||||
{
|
||||
Q_UNUSED(data);
|
||||
return Core::FunctionReplyObject();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user