mirror of
https://github.com/SatDump/SatDump
synced 2026-08-13 17:47:30 -04:00
37 lines
848 B
C++
37 lines
848 B
C++
#pragma once
|
|
|
|
#include "dsp/flowgraph/flowgraph.h"
|
|
#include "handlers/handler.h"
|
|
|
|
#include "dsp/device/dev.h"
|
|
|
|
// TODOREWORK, move into plugin? Or Core?
|
|
namespace satdump
|
|
{
|
|
namespace handlers
|
|
{
|
|
class DSPFlowGraphHandler : public Handler
|
|
{
|
|
public:
|
|
DSPFlowGraphHandler();
|
|
~DSPFlowGraphHandler();
|
|
|
|
ndsp::Flowgraph flowgraph;
|
|
|
|
std::thread flow_thread;
|
|
|
|
// The Rest
|
|
void drawMenu();
|
|
void drawContents(ImVec2 win_size);
|
|
|
|
std::string getName() { return "Flowgraph"; }
|
|
|
|
std::string getID() { return "dsp_flowgraph_handler"; }
|
|
};
|
|
|
|
struct RegisterNodesEvent
|
|
{
|
|
std::map<std::string, ndsp::Flowgraph::NodeInternalReg> &r;
|
|
};
|
|
} // namespace handlers
|
|
} // namespace satdump
|