16 #include <QWebSocketServer> 30 Q_PLUGIN_METADATA(IID
"facontidavide.PlotJuggler3.DataStreamer")
36 virtual bool start(QStringList*)
override;
38 virtual void shutdown()
override;
47 virtual const char*
name()
const override 49 return "WebSocket Server";
65 void onNewConnection();
66 void processMessage(QString message);
67 void socketDisconnected();
The DataStreamer base class to create your own plugin.
PJ::MessageParserPtr _parser
std::shared_ptr< MessageParser > MessageParserPtr
virtual bool isRunning() const override
QList< QWebSocket * > _clients
virtual const char * name() const override
virtual bool isDebugPlugin() override