SatDump 2.0.0-alpha-76a915210
Loading...
Searching...
No Matches
dsp_flowgraph_handler.h
1#pragma once
2
3#include "dsp/flowgraph/flowgraph.h"
4#include "handlers/handler.h"
5
6#include "dsp/device/dev.h"
7
8// TODOREWORK, move into plugin? Or Core?
9namespace satdump
10{
11 namespace handlers
12 {
13 class DSPFlowGraphHandler : public Handler
14 {
15 public:
16 DSPFlowGraphHandler();
17 ~DSPFlowGraphHandler();
18
19 ndsp::Flowgraph flowgraph;
20
21 std::thread flow_thread;
22
23 // The Rest
24 void drawMenu();
25 void drawContents(ImVec2 win_size);
26
27 std::string getName() { return "Flowgraph"; }
28
29 std::string getID() { return "dsp_flowgraph_handler"; }
30 };
31
33 {
34 std::map<std::string, ndsp::Flowgraph::NodeInternalReg> &r;
35 };
36 } // namespace handlers
37} // namespace satdump
void drawMenu()
Render explorer menu left sidebar.
Definition dsp_flowgraph_handler.cpp:177
void drawContents(ImVec2 win_size)
Render explorer contents (center/left)
Definition dsp_flowgraph_handler.cpp:241
std::string getName()
Get this handler's readable name.
Definition dsp_flowgraph_handler.h:27
SatDump's handler base class.
Definition handler.h:32
Definition flowgraph.h:26
Definition dsp_flowgraph_handler.h:33