#include <datastream_zmq.h>
Public Member Functions | |
DataStreamZMQ () | |
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 | ~DataStreamZMQ () override |
Public Member Functions inherited from PJ::DataStreamer | |
MessageParserFactory * | availableParsers () |
PlotDataMapRef & | dataMap () |
const PlotDataMapRef & | dataMap () const |
DataStreamer () | |
std::mutex & | mutex () |
void | setAvailableParsers (MessageParserFactory *parsers) |
void | setMaximumRange (double range) |
virtual | ~DataStreamer ()=default |
Public Member Functions inherited from PJ::PlotJugglerPlugin | |
virtual const std::vector< QAction * > & | availableActions () |
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 Member Functions | |
void | receiveLoop () |
Private Attributes | |
PJ::MessageParserPtr | _parser |
std::thread | _receive_thread |
bool | _running |
std::string | _socket_address |
zmq::context_t | _zmq_context |
zmq::socket_t | _zmq_socket |
Additional Inherited Members | |
Signals inherited from PJ::DataStreamer | |
void | clearBuffers () |
void | closed () |
void | dataReceived () |
Definition at line 24 of file datastream_zmq.h.
DataStreamZMQ::DataStreamZMQ | ( | ) |
Definition at line 29 of file datastream_zmq.cpp.
|
overridevirtual |
Definition at line 36 of file datastream_zmq.cpp.
|
inlineoverridevirtual |
Reimplemented from PJ::PlotJugglerPlugin.
Definition at line 49 of file datastream_zmq.h.
|
inlineoverridevirtual |
Implements PJ::DataStreamer.
Definition at line 39 of file datastream_zmq.h.
|
inlineoverridevirtual |
Implements PJ::PlotJugglerPlugin.
Definition at line 44 of file datastream_zmq.h.
|
private |
Definition at line 148 of file datastream_zmq.cpp.
|
overridevirtual |
Implements PJ::DataStreamer.
Definition at line 134 of file datastream_zmq.cpp.
|
overridevirtual |
Implements PJ::DataStreamer.
Definition at line 41 of file datastream_zmq.cpp.
|
private |
Definition at line 58 of file datastream_zmq.h.
|
private |
Definition at line 60 of file datastream_zmq.h.
|
private |
Definition at line 55 of file datastream_zmq.h.
|
private |
Definition at line 59 of file datastream_zmq.h.
|
private |
Definition at line 56 of file datastream_zmq.h.
|
private |
Definition at line 57 of file datastream_zmq.h.