nngn
Loading...
Searching...
No Matches
nngn::AudioWorker Class Reference

#include <worker.h>

Inheritance diagram for nngn::AudioWorker:
Collaboration diagram for nngn::AudioWorker:

Signals

void new_graph (std::vector< std::byte > v)
 
void new_pos (std::size_t i, std::size_t p)
 
- Signals inherited from Worker
void finished (void)
 

Private Types

enum class  Command : u8 { QUIT = 'q' , GRAPH = 'g' , POS = 'p' }
 

Private Member Functions

bool cmd (std::string_view s) final
 
bool cmd_graph (std::stringstream *ss)
 
bool cmd_pos (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

enum class nngn::AudioWorker::Command : u8
strongprivate
Enumerator
QUIT 
GRAPH 
POS 

Member Function Documentation

◆ cmd()

bool nngn::AudioWorker::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_graph()

bool nngn::AudioWorker::cmd_graph ( std::stringstream * ss)
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ cmd_pos()

bool nngn::AudioWorker::cmd_pos ( std::stringstream * ss)
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ new_graph

void nngn::AudioWorker::new_graph ( std::vector< std::byte > v)
signal
Here is the caller graph for this function:

◆ new_pos

void nngn::AudioWorker::new_pos ( std::size_t i,
std::size_t p )
signal
Here is the caller graph for this function:

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