#include <datastream_sample.h>
Classes | |
struct | Parameters |
Public Member Functions | |
DataStreamSample () | |
virtual void | enableStreaming (bool enable) override |
virtual PlotDataMap & | getDataMap () override |
virtual bool | isDebugPlugin () override |
virtual bool | isStreamingEnabled () const override |
virtual const char * | name () const override |
virtual void | shutdown () override |
virtual bool | start (QString &default_configuration) override |
virtual | ~DataStreamSample () |
Private Member Functions | |
void | loop () |
void | pushSingleCycle () |
Private Attributes | |
bool | _enabled |
std::map< std::string, Parameters > | _parameters |
PlotDataMap | _plot_data |
bool | _running |
std::thread | _thread |
Definition at line 9 of file datastream_sample.h.
Definition at line 12 of file datastream_sample.cpp.
DataStreamSample::~DataStreamSample | ( | ) | [virtual] |
Definition at line 69 of file datastream_sample.cpp.
void DataStreamSample::enableStreaming | ( | bool | enable | ) | [override, virtual] |
Implements DataStreamer.
Definition at line 65 of file datastream_sample.cpp.
virtual PlotDataMap& DataStreamSample::getDataMap | ( | ) | [inline, override, virtual] |
Implements DataStreamer.
Definition at line 19 of file datastream_sample.h.
virtual bool DataStreamSample::isDebugPlugin | ( | ) | [inline, override, virtual] |
Reimplemented from DataStreamer.
Definition at line 33 of file datastream_sample.h.
bool DataStreamSample::isStreamingEnabled | ( | ) | const [override, virtual] |
Implements DataStreamer.
Definition at line 67 of file datastream_sample.cpp.
void DataStreamSample::loop | ( | ) | [private] |
Definition at line 94 of file datastream_sample.cpp.
virtual const char* DataStreamSample::name | ( | ) | const [inline, override, virtual] |
Implements DataStreamer.
Definition at line 31 of file datastream_sample.h.
void DataStreamSample::pushSingleCycle | ( | ) | [private] |
Definition at line 74 of file datastream_sample.cpp.
void DataStreamSample::shutdown | ( | ) | [override, virtual] |
Implements DataStreamer.
Definition at line 59 of file datastream_sample.cpp.
bool DataStreamSample::start | ( | QString & | default_configuration | ) | [override, virtual] |
Implements DataStreamer.
Definition at line 51 of file datastream_sample.cpp.
bool DataStreamSample::_enabled [private] |
Definition at line 44 of file datastream_sample.h.
std::map<std::string,Parameters> DataStreamSample::_parameters [private] |
Definition at line 51 of file datastream_sample.h.
PlotDataMap DataStreamSample::_plot_data [private] |
Definition at line 43 of file datastream_sample.h.
bool DataStreamSample::_running [private] |
Definition at line 48 of file datastream_sample.h.
std::thread DataStreamSample::_thread [private] |
Definition at line 46 of file datastream_sample.h.