#include "core/plugin.h" #include "logger.h" #include "saral/argos/module_saral_argos.h" #include "angels/argos/module_angels_argos.h" #include "cryosat/instruments/siral/module_cryosat_siral.h" #include "coriolis/instruments/windsat/module_coriolis_windsat.h" #include "cloudsat/instruments/cpr/module_cloudsat_cpr.h" #include "scisat1/module_scisat1_instruments.h" #include "orb/module_orb_decoder.h" class OthersSupport : public satdump::Plugin { public: std::string getID() { return "others_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, saral::argos::SaralArgosDecoderModule); REGISTER_MODULE_EXTERNAL(evt.modules_registry, angels::argos::AngelsArgosDecoderModule); REGISTER_MODULE_EXTERNAL(evt.modules_registry, cryosat::siral::CryoSatSIRALDecoderModule); REGISTER_MODULE_EXTERNAL(evt.modules_registry, coriolis::windsat::CoriolisWindSatDecoderModule); REGISTER_MODULE_EXTERNAL(evt.modules_registry, cloudsat::cpr::CloudSatCPRDecoderModule); REGISTER_MODULE_EXTERNAL(evt.modules_registry, scisat1::instruments::SciSat1InstrumentsDecoderModule); REGISTER_MODULE_EXTERNAL(evt.modules_registry, orb::ORBDecoderModule); } // static void provideImageCalibratorHandler(const satdump::ImageProducts::RequestCalibratorEvent &evt) // { // } }; PLUGIN_LOADER(OthersSupport)