satdump/src-core/modules/spacex/module_falcon_decoder.h
2021-03-31 18:15:26 +02:00

29 lines
No EOL
862 B
C++

#pragma once
#include "module.h"
#include <complex>
#include <fstream>
#include <dsp/random.h>
namespace spacex
{
class FalconDecoderModule : public ProcessingModule
{
protected:
std::ifstream data_in;
std::ofstream data_out;
std::atomic<size_t> filesize;
std::atomic<size_t> progress;
public:
FalconDecoderModule(std::string input_file, std::string output_file_hint, std::map<std::string, std::string> parameters);
~FalconDecoderModule();
void process();
void drawUI(bool window);
public:
static std::string getID();
static std::vector<std::string> getParameters();
static std::shared_ptr<ProcessingModule> getInstance(std::string input_file, std::string output_file_hint, std::map<std::string, std::string> parameters);
};
} // namespace falcon