Continues migration with DDS, Common
This commit is contained in:
1 parent
9b15cee841
commit
fa48db111e
668 files changed
+111841
-2
No files matched your search
@@ -0,0 +1,30 @@
|
||||
#pragma once
|
||||
|
||||
#include <LtsWebSocket/client_message_factory.h>
|
||||
#include <LtsProjectionWorkstation/logger.h>
|
||||
|
||||
#include <LtsProjectionWorkstation/lts_projection_workstation_export.h>
|
||||
|
||||
namespace LtsProjectionWorkstation
|
||||
{
|
||||
|
||||
class AbstractMessageHandler;
|
||||
|
||||
class LTSPROJECTIONWORKSTATION_EXPORT MessageFactory
|
||||
: public LtsWebSocket::AbstractClientMessageFactory
|
||||
{
|
||||
|
||||
public:
|
||||
MessageFactory(AbstractMessageHandler *handler, LOGGER_T &logger)
|
||||
: LtsWebSocket::AbstractClientMessageFactory(logger)
|
||||
, m_handler(handler)
|
||||
{}
|
||||
|
||||
|
||||
LtsWebSocket::AbstractClientMessage *createMessage(LtsWebSocket::ReplyHandler *client, const QString &message) override final;
|
||||
|
||||
private:
|
||||
AbstractMessageHandler *m_handler;
|
||||
};
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user