libdrmconf 0.15.0
A library to program DMR radios.
Loading...
Searching...
No Matches
d168uv_satelliteconfig.hh
1#ifndef D168UV_SATELLITECONFIG_HH
2#define D168UV_SATELLITECONFIG_HH
3
4#include "anytone_satelliteconfig.hh"
5
9{
10Q_OBJECT
11
12public:
14 explicit D168UVSatelliteConfig(QObject *parent = nullptr);
15
17 SatelliteElement satellite(unsigned int idx);
18 bool encode(SatelliteDatabase *db, const ErrorStack &err) override;
19
23 static constexpr unsigned int satellites() { return 25; }
24 };
25
26protected:
30 static constexpr unsigned int satellites() { return 0x2d40000; }
32 };
33};
34
35
36#endif //D168UV_SATELLITECONFIG_HH
Definition anytone_satelliteconfig.hh:24
AnytoneSatelliteConfig(QObject *parent=nullptr)
Default constructor.
Definition anytone_satelliteconfig.cc:198
D168UVSatelliteConfig(QObject *parent=nullptr)
Default constructor.
Definition d168uv_satelliteconfig.cc:9
SatelliteElement satellite(unsigned int idx)
Returns the satellite element at the specified index.
Definition d168uv_satelliteconfig.cc:17
bool encode(SatelliteDatabase *db, const ErrorStack &err) override
Encodes the given satellite db into the device specific satellite configuration.
Definition d168uv_satelliteconfig.cc:23
Implements a stack of error messages to provide a pretty formatted error traceback.
Definition errorstack.hh:43
A table holding all known satellites.
Definition satellitedatabase.hh:108
Some limits for the satellite config.
Definition anytone_satelliteconfig.hh:120
Some internal offsets.
Definition anytone_satelliteconfig.hh:126
Some limits for the satellite config.
Definition d168uv_satelliteconfig.hh:21
static constexpr unsigned int satellites()
Number of satellites.
Definition d168uv_satelliteconfig.hh:23
Some internal offsets.
Definition d168uv_satelliteconfig.hh:28