Initial commit

This commit is contained in:
torsten committed 2026-08-13 18:33:10 +02:00
commit b7d90b9afe
16245 files changed
+3396666

No files matched your search

@@ -0,0 +1,51 @@
/**
* @RDE_HEADER@
* The DataManager class is a convenience class for managing structure data
* $Id$
* $HeadURL$
* $Author$
* Created by Philipp Dassow, SLST, 2017-12-05
*/
#pragma once
#include "WebSocketInterface/Messages/reply_message.h"
#include "logger.h"
namespace ServiceManagement
{
class MainHandler;
class GroupHandler;
namespace WebSocketInterface
{
/**
* @brief The DataManager class is a convenience class for managing structure data
*/
class DataManager final
{
public:
/**
* @brief DataManager Constructor
* @param mainHandler Source for needed handlers
*/
explicit DataManager(MainHandler *mainHandler);
/**
* @brief init Initialises a DataManager object
* @return True on sucess, otherwise false
*/
bool init();
LtsWebSocket::ReplyMessage *servicesInformation(const QString &uuid) const;
private: // attributes
MainHandler *m_mainHandler;
std::shared_ptr <GroupHandler> m_groupHandler;
LOGGER_T m_logger;
}; // class DataManager
} // namespace WebSocketInterface
} // namespace ServiceManagement