#include "core/plugin.h" #include "logger.h" #include "msg/module_msg_instruments_decoder.h" class MeteosatSupport : public satdump::Plugin { public: std::string getID() { return "meteosat_support"; } void init() { satdump::eventBus->register_handler(registerPluginsHandler); // satdump::eventBus->register_handler(provideImageCalibratorHandler); } static void registerPluginsHandler(const satdump::pipeline::RegisterModulesEvent &evt) { REGISTER_MODULE_EXTERNAL(evt.modules_registry, meteosat::MSGInstrumentsDecoderModule); } // static void provideImageCalibratorHandler(const satdump::ImageProducts::RequestCalibratorEvent &evt) // { // // if (evt.id == "metop_mhs_nat") // // evt.calibrators.push_back(std::make_shared(evt.calib, evt.products)); // } }; PLUGIN_LOADER(MeteosatSupport)