Public Member Functions | Private Slots | Private Attributes | List of all members
DataStreamServer Class Reference

#include <datastreamserver.h>

Inheritance diagram for DataStreamServer:
Inheritance graph
[legend]

Public Member Functions

 DataStreamServer ()
 
virtual bool isDebugPlugin () override
 
virtual bool isRunning () const override
 
virtual const char * name () const override
 
virtual void shutdown () override
 
virtual bool start (QStringList *) override
 
virtual ~DataStreamServer ()
 
- Public Member Functions inherited from DataStreamer
virtual std::vector< QString > appendData (PlotDataMapRef &destination)
 
PlotDataMapRefdataMap ()
 
const PlotDataMapRefdataMap () const
 
 DataStreamer ()
 
std::mutex & mutex ()
 
void setMaximumRange (double range)
 
virtual ~DataStreamer ()
 
- Public Member Functions inherited from PlotJugglerPlugin
virtual void addActionsToParentMenu (QMenu *menu)
 
virtual QWidget * optionsWidget ()
 
 PlotJugglerPlugin ()
 
virtual bool xmlLoadState (const QDomElement &parent_element)
 
virtual bool xmlSaveState (QDomDocument &doc, QDomElement &parent_element) const
 
QDomElement xmlSaveState (QDomDocument &doc) const
 

Private Slots

void onNewConnection ()
 
void processMessage (QString message)
 
void socketDisconnected ()
 

Private Attributes

QList< QWebSocket * > _clients
 
quint16 _port
 
bool _running
 
QWebSocketServer _server
 

Additional Inherited Members

- Signals inherited from DataStreamer
void clearBuffers ()
 
void connectionClosed ()
 
void dataUpdated ()
 

Detailed Description

Definition at line 20 of file datastreamserver.h.

Constructor & Destructor Documentation

DataStreamServer::DataStreamServer ( )

Definition at line 20 of file datastreamserver.cpp.

DataStreamServer::~DataStreamServer ( )
virtual

Definition at line 28 of file datastreamserver.cpp.

Member Function Documentation

virtual bool DataStreamServer::isDebugPlugin ( )
inlineoverridevirtual

Reimplemented from PlotJugglerPlugin.

Definition at line 40 of file datastreamserver.h.

virtual bool DataStreamServer::isRunning ( ) const
inlineoverridevirtual

Implements DataStreamer.

Definition at line 34 of file datastreamserver.h.

virtual const char* DataStreamServer::name ( ) const
inlineoverridevirtual

Implements PlotJugglerPlugin.

Definition at line 38 of file datastreamserver.h.

void DataStreamServer::onNewConnection ( )
privateslot

Definition at line 67 of file datastreamserver.cpp.

void DataStreamServer::processMessage ( QString  message)
privateslot

Definition at line 78 of file datastreamserver.cpp.

void DataStreamServer::shutdown ( )
overridevirtual

Implements DataStreamer.

Definition at line 58 of file datastreamserver.cpp.

void DataStreamServer::socketDisconnected ( )
privateslot

Definition at line 104 of file datastreamserver.cpp.

bool DataStreamServer::start ( QStringList *  )
overridevirtual

Implements DataStreamer.

Definition at line 33 of file datastreamserver.cpp.

Member Data Documentation

QList<QWebSocket *> DataStreamServer::_clients
private

Definition at line 44 of file datastreamserver.h.

quint16 DataStreamServer::_port
private

Definition at line 43 of file datastreamserver.h.

bool DataStreamServer::_running
private

Definition at line 47 of file datastreamserver.h.

QWebSocketServer DataStreamServer::_server
private

Definition at line 45 of file datastreamserver.h.


The documentation for this class was generated from the following files:


plotjuggler
Author(s): Davide Faconti
autogenerated on Sat Jul 6 2019 03:44:18