2022-12-07 10:35:41 +01:00
|
|
|
#include "core/plugin.h"
|
|
|
|
|
#include "logger.h"
|
|
|
|
|
#include "core/module.h"
|
|
|
|
|
|
|
|
|
|
#include "orbcomm/module_orbcomm_stx_demod.h"
|
2024-03-09 15:38:41 +01:00
|
|
|
#include "orbcomm/module_orbcomm_stx_auto_demod.h"
|
2024-04-26 14:38:06 +02:00
|
|
|
#include "orbcomm/module_orbcomm_plotter.h"
|
2022-12-07 10:35:41 +01:00
|
|
|
|
|
|
|
|
class OrbcommSupport : public satdump::Plugin
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
std::string getID()
|
|
|
|
|
{
|
|
|
|
|
return "orbcomm_support";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void init()
|
|
|
|
|
{
|
|
|
|
|
satdump::eventBus->register_handler<RegisterModulesEvent>(registerPluginsHandler);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
static void registerPluginsHandler(const RegisterModulesEvent &evt)
|
|
|
|
|
{
|
|
|
|
|
REGISTER_MODULE_EXTERNAL(evt.modules_registry, orbcomm::OrbcommSTXDemodModule);
|
2024-03-09 15:38:41 +01:00
|
|
|
REGISTER_MODULE_EXTERNAL(evt.modules_registry, orbcomm::OrbcommSTXAutoDemodModule);
|
2024-04-26 14:38:06 +02:00
|
|
|
REGISTER_MODULE_EXTERNAL(evt.modules_registry, orbcomm::OrbcommPlotterModule);
|
2022-12-07 10:35:41 +01:00
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
PLUGIN_LOADER(OrbcommSupport)
|