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

43 lines
858 B
C++
Executable File

/**
* @RDE_HEADER@
* Login Dialog
* $Id$
* $HeadURL$
* $Author$
* Created by Chrsitian Roeskens, NLSE, 2018-01-18
*/
#pragma once
#include <QObject>
#include <QMap>
#include "dds_handler.h"
#include "logger.h"
class QTimer;
namespace AssetManagement
{
class MainHandler;
class HandlerWorkstationLogout final : public QObject
, protected Interface::Fts::WorkstationLogoutRequestHandler
{
Q_OBJECT
public:
explicit HandlerWorkstationLogout(MainHandler *mainHandler,
QObject *parent = nullptr);
~HandlerWorkstationLogout();
bool init();
void onWorkstationLogoutRequest(const rti::core::SampleIdentity &cookie, const WorkstationLogout &request) override final;
private:
NGL::INGLLogger &m_logger;
MainHandler *m_mainHandler;
QMap<int, QTimer*> m_logoutRequestMap;
};
}