Classes | Public Member Functions | Private Member Functions | Private Attributes | List of all members
DataStreamSample Class Reference

#include <datastream_sample.h>

Inheritance diagram for DataStreamSample:
Inheritance graph
[legend]

Classes

struct  Parameters
 

Public Member Functions

 DataStreamSample ()
 
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 bool xmlLoadState (const QDomElement &parent_element) override
 
virtual bool xmlSaveState (QDomDocument &doc, QDomElement &parent_element) const override
 
virtual ~DataStreamSample ()
 
- 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 ()
 
QDomElement xmlSaveState (QDomDocument &doc) const
 

Private Member Functions

void loop ()
 
void pushSingleCycle ()
 

Private Attributes

std::map< std::string, Parameters_parameters
 
bool _running
 
std::thread _thread
 

Additional Inherited Members

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

Detailed Description

Definition at line 9 of file datastream_sample.h.

Constructor & Destructor Documentation

DataStreamSample::DataStreamSample ( )

Definition at line 12 of file datastream_sample.cpp.

DataStreamSample::~DataStreamSample ( )
virtual

Definition at line 66 of file datastream_sample.cpp.

Member Function Documentation

virtual bool DataStreamSample::isDebugPlugin ( )
inlineoverridevirtual

Reimplemented from PlotJugglerPlugin.

Definition at line 29 of file datastream_sample.h.

bool DataStreamSample::isRunning ( ) const
overridevirtual

Implements DataStreamer.

Definition at line 64 of file datastream_sample.cpp.

void DataStreamSample::loop ( )
private

Definition at line 103 of file datastream_sample.cpp.

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

Implements PlotJugglerPlugin.

Definition at line 27 of file datastream_sample.h.

void DataStreamSample::pushSingleCycle ( )
private

Definition at line 81 of file datastream_sample.cpp.

void DataStreamSample::shutdown ( )
overridevirtual

Implements DataStreamer.

Definition at line 58 of file datastream_sample.cpp.

bool DataStreamSample::start ( QStringList *  )
overridevirtual

Implements DataStreamer.

Definition at line 50 of file datastream_sample.cpp.

bool DataStreamSample::xmlLoadState ( const QDomElement &  parent_element)
overridevirtual

Reimplemented from PlotJugglerPlugin.

Definition at line 76 of file datastream_sample.cpp.

bool DataStreamSample::xmlSaveState ( QDomDocument &  doc,
QDomElement &  parent_element 
) const
overridevirtual

Reimplemented from PlotJugglerPlugin.

Definition at line 71 of file datastream_sample.cpp.

Member Data Documentation

std::map<std::string,Parameters> DataStreamSample::_parameters
private

Definition at line 47 of file datastream_sample.h.

bool DataStreamSample::_running
private

Definition at line 45 of file datastream_sample.h.

std::thread DataStreamSample::_thread
private

Definition at line 43 of file datastream_sample.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