new_docker_build.sh gains Group 12 (212 GUI/Data plugins); fixes LtsUtilsGuiDds visibility (LTO-stripped exports), LtsProjectionWorkstation unity name shadow, 6 unity-off dirs (dup file-scope statics, ddsftc INTERFACE sources) and reconfigures BUILD_FILTERMANAGEMENT/BUILD_PLUGINS_SERVICEMONITOR=ON
77 lines
880 B
C++
77 lines
880 B
C++
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
#include <QtCore/QThread>
|
|
#include "logger.h"
|
|
|
|
class QTcpSocket;
|
|
class QTimer;
|
|
|
|
|
|
namespace N_LogView
|
|
{
|
|
class LogViewTelegram;
|
|
|
|
|
|
|
|
class LogViewInjectionThread : public QThread
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
|
|
LogViewInjectionThread();
|
|
|
|
void run();
|
|
|
|
void setPort(uint16_t port);
|
|
|
|
bool isSendingPossible() const;
|
|
|
|
|
|
|
|
void sendTelegram(LogViewTelegram* a_telegram, const bool a_doSendAsCentralTelegram);
|
|
|
|
protected:
|
|
|
|
bool m_DoStartConnection;
|
|
bool m_SendingPossible;
|
|
QString m_Hostname;
|
|
int m_Port;
|
|
QTcpSocket *m_Socket;
|
|
|
|
QTimer *m_Timer;
|
|
|
|
private:
|
|
NGL::INGLLogger &m_logger;
|
|
protected:
|
|
protected slots:
|
|
void tryToConnect();
|
|
|
|
|
|
void doConnect();
|
|
|
|
|
|
void doDisconnect();
|
|
|
|
public:
|
|
signals:
|
|
|
|
|
|
void updateStatus(const QString& a_picName, const QString& a_toolTipText);
|
|
|
|
};
|
|
|
|
}
|