21#ifndef INCLUDE_SATNOGS_METADATA_H_
22#define INCLUDE_SATNOGS_METADATA_H_
26#include <nlohmann/json.hpp>
38 typedef std::shared_ptr<metadata> metadata_sptr;
71 static void add_pdu(pmt::pmt_t& m,
const uint8_t* in,
size_t len);
87 static void add_snr(pmt::pmt_t& m,
float snr);
90 add_decoder(pmt::pmt_t& m,
const std::string& name,
const std::string& version);
106 static nlohmann::json
to_json(
const pmt::pmt_t& m);
122 virtual void to_file(
const std::string& filename) = 0;
#define SATNOGS_API
Definition: api.h:19
Abstract class that provided the API for the c decoders.
Definition: decoder.h:71
int k
Definition: decode_rs.h:73
CONSTDATA date::month dec
Definition: date.h:1831
Definition: amsat_duv_decoder.h:29