SatDump 2.0.0-alpha-76a915210
|
Core Product implementation. More...
#include "nlohmann/json.hpp"
Go to the source code of this file.
Classes | |
class | satdump::products::Product |
Core SatDump product class. More... | |
struct | satdump::products::RegisteredProduct |
Struct holding functions related to products. More... | |
struct | satdump::products::RegisterProductsEvent |
Event to subscribe to in plugins to insert new product loaders. More... |
Macros | |
#define | PRODUCT_LOADER_FUN(TYPE) |
Functions | |
std::shared_ptr< Product > | satdump::products::loadProduct (std::string path) |
Load a product. This will detect the product type and load it appropriately using the registered loader if found. If not, it will return it as the base Product class. | |
void | satdump::products::registerProducts () |
Function to register product loaders. MUST be called before calling any other product function! |
Core Product implementation.
#define PRODUCT_LOADER_FUN | ( | TYPE | ) |
std::shared_ptr< Product > satdump::products::loadProduct | ( | std::string | path | ) |
Load a product. This will detect the product type and load it appropriately using the registered loader if found. If not, it will return it as the base Product class.
file | cbor file to load |
void satdump::products::registerProducts | ( | ) |
Function to register product loaders. MUST be called before calling any other product function!