libdrmconf 0.12.3
A library to program DMR radios.
 
Loading...
Searching...
No Matches
opengd77_satelliteconfig.hh
1#ifndef OPENGD77_SATELLITECONFIG_HH
2#define OPENGD77_SATELLITECONFIG_HH
3
4#include "opengd77base_satelliteconfig.hh"
5
6
8{
9 Q_OBJECT
10
11public:
13 explicit OpenGD77SatelliteConfig(QObject *parent = nullptr);
14
16 virtual bool encode(SatelliteDatabase *db, const ErrorStack &err=ErrorStack());
17
18public:
20 struct Limit {
22 static constexpr unsigned int satellites() {
24 }
25 };
26
27protected:
29 struct Offset {
31 static constexpr unsigned int satellites() { return 0x000000; }
33 };
34};
35
36#endif // OPENGD77_SATELLITECONFIG_HH
Implements a stack of error messages to provide a pretty formatted error traceback.
Definition errorstack.hh:41
OpenGD77BaseSatelliteConfig(QObject *parent=nullptr)
Default constructor.
Definition opengd77base_satelliteconfig.cc:287
virtual bool encode(SatelliteDatabase *db, const ErrorStack &err=ErrorStack())
Encodes the given satellite database.
Definition opengd77_satelliteconfig.cc:13
OpenGD77SatelliteConfig(QObject *parent=nullptr)
Default constructor.
Definition opengd77_satelliteconfig.cc:5
A table holding all known satellites.
Definition satellitedatabase.hh:108
static constexpr unsigned int satellites()
The maximum number of satellites.
Definition opengd77base_satelliteconfig.hh:166
Some limits for the satellite config.
Definition opengd77_satelliteconfig.hh:20
static constexpr unsigned int satellites()
The maximum number of satellites.
Definition opengd77_satelliteconfig.hh:22
Some internal offsets.
Definition opengd77_satelliteconfig.hh:29