satdump/src-core/dsp/flowgraph/dsp_flowgraph_handler.h

38 lines
848 B
C
Raw Permalink Normal View History

2025-03-09 10:16:40 +01:00
#pragma once
2025-04-21 23:17:21 +02:00
#include "dsp/flowgraph/flowgraph.h"
#include "handlers/handler.h"
2025-03-09 10:16:40 +01:00
2025-04-22 19:56:59 +02:00
#include "dsp/device/dev.h"
2025-03-09 10:16:40 +01:00
// TODOREWORK, move into plugin? Or Core?
namespace satdump
{
namespace handlers
2025-03-09 10:16:40 +01:00
{
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"; }
};
2025-04-21 23:17:21 +02:00
struct RegisterNodesEvent
{
std::map<std::string, ndsp::Flowgraph::NodeInternalReg> &r;
};
} // namespace handlers
2025-04-15 19:06:12 +01:00
} // namespace satdump