nngn
Loading...
Searching...
No Matches
PlotWorker Class Referencefinal

#include <worker.h>

Inheritance diagram for PlotWorker:
Collaboration diagram for PlotWorker:

Signals

void new_size (std::size_t n)
 
void new_frame (qreal timestamp_ms)
 
void new_graph (Graph::Type type, QString title)
 
void new_data (Graph::Type type, qreal value)
 
void new_graph (QString title)
 
void new_data (const QVector< qreal > &v)
 
- Signals inherited from Worker
void finished (void)
 

Private Types

enum class  Command : uint8_t {
  QUIT = 'q' , SIZE = 's' , GRAPH = 'g' , FRAME = 'f' ,
  DATA = 'd' , QUIT = 'q' , GRAPH = 'g' , DATA = 'd'
}
 
enum class  Command : uint8_t {
  QUIT = 'q' , SIZE = 's' , GRAPH = 'g' , FRAME = 'f' ,
  DATA = 'd' , QUIT = 'q' , GRAPH = 'g' , DATA = 'd'
}
 

Private Member Functions

bool cmd (std::string_view s) final
 
bool cmd_size (std::stringstream *ss)
 
bool cmd_graph (std::stringstream *ss)
 
bool cmd_frame (std::stringstream *ss)
 
bool cmd_data (std::stringstream *ss)
 
bool cmd (std::string_view s) final
 
void cmd_graph (std::stringstream *ss)
 
bool cmd_data (std::stringstream *ss)
 

Additional Inherited Members

- Public Slots inherited from Worker
void finish (void)
 
- Public Member Functions inherited from Worker
bool init (int fd)
 
bool destroy (void)
 
void run (void) final
 
constexpr bool ok (void) const
 
- Protected Member Functions inherited from Worker
template<typename ... Ts>
auto read_values (std::stringstream *s, Ts *...ts)
 
void err (void)
 

Member Enumeration Documentation

◆ Command [1/2]

enum class PlotWorker::Command : uint8_t
strongprivate
Enumerator
QUIT 
SIZE 
GRAPH 
FRAME 
DATA 
QUIT 
GRAPH 
DATA 

◆ Command [2/2]

enum class PlotWorker::Command : uint8_t
strongprivate
Enumerator
QUIT 
SIZE 
GRAPH 
FRAME 
DATA 
QUIT 
GRAPH 
DATA 

Member Function Documentation

◆ cmd() [1/2]

bool PlotWorker::cmd ( std::string_view s)
finalprivatevirtual

Implements Worker.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ cmd() [2/2]

bool PlotWorker::cmd ( std::string_view s)
finalprivatevirtual

Implements Worker.

◆ cmd_data() [1/2]

bool PlotWorker::cmd_data ( std::stringstream * ss)
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ cmd_data() [2/2]

bool PlotWorker::cmd_data ( std::stringstream * ss)
private

◆ cmd_frame()

bool PlotWorker::cmd_frame ( std::stringstream * ss)
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ cmd_graph() [1/2]

void PlotWorker::cmd_graph ( std::stringstream * ss)
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ cmd_graph() [2/2]

void PlotWorker::cmd_graph ( std::stringstream * ss)
private

◆ cmd_size()

bool PlotWorker::cmd_size ( std::stringstream * ss)
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ new_data [1/2]

void PlotWorker::new_data ( const QVector< qreal > & v)
signal

◆ new_data [2/2]

void PlotWorker::new_data ( Graph::Type type,
qreal value )
signal
Here is the caller graph for this function:

◆ new_frame

void PlotWorker::new_frame ( qreal timestamp_ms)
signal
Here is the caller graph for this function:

◆ new_graph [1/2]

void PlotWorker::new_graph ( Graph::Type type,
QString title )
signal
Here is the caller graph for this function:

◆ new_graph [2/2]

void PlotWorker::new_graph ( QString title)
signal

◆ new_size

void PlotWorker::new_size ( std::size_t n)
signal
Here is the caller graph for this function:

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