nngn
Loading...
Searching...
No Matches
worker.h
Go to the documentation of this file.
1
#ifndef NNGN_INSPECT_WORKER_H
2
#define NNGN_INSPECT_WORKER_H
3
4
#include "
../worker.h
"
5
6
class
InspectWorker
final :
public
Worker
{
7
Q_OBJECT
8
enum class
Command
: uint8_t {
QUIT
=
'q'
,
CLEAR
=
'c'
,
LINE
=
'l'
};
9
bool
cmd
(std::string_view
s
)
final
;
10
void
cmd_line
(std::stringstream *ss);
11
signals:
12
void
clear
();
13
void
new_line
(QString
s
);
14
};
15
16
#endif
InspectWorker
Definition
worker.h:6
InspectWorker::cmd
bool cmd(std::string_view s) final
Definition
worker.cpp:7
InspectWorker::new_line
void new_line(QString s)
InspectWorker::Command
Command
Definition
worker.h:8
InspectWorker::Command::LINE
@ LINE
InspectWorker::Command::QUIT
@ QUIT
InspectWorker::Command::CLEAR
@ CLEAR
InspectWorker::cmd_line
void cmd_line(std::stringstream *ss)
Definition
worker.cpp:25
InspectWorker::clear
void clear()
Worker
Definition
worker.h:12
s
std::chrono::seconds s
Definition
timing.cpp:6
worker.h
tools
inspect
worker.h
Generated by
1.11.0