libdrmconf 0.13.3
A library to program DMR radios.
Loading...
Searching...
No Matches
d878uv2_callsigndb.hh
1#ifndef D878UV2CALLSIGNDB_HH
2#define D878UV2CALLSIGNDB_HH
3
4#include "d868uv_callsigndb.hh"
5
22{
23 Q_OBJECT
24
25public:
29
30public:
32 explicit D878UV2CallsignDB(QObject *parent=nullptr);
33
35 bool encode(UserDatabase *db, const Flags &selection=Flags(),
36 const ErrorStack &err=ErrorStack());
37
38public:
42 static constexpr unsigned int entries() { return 500000; }
43 };
44
45protected:
49 static constexpr unsigned int callsigns() { return 0x05500000; }
50 static constexpr unsigned int limits() { return 0x04840000; }
51
53 };
54};
55
56#endif // D868UVCALLSIGNDB_HH
Represents the base class for entries to the contact indices in all AnyTone codeplugs.
Definition anytone_codeplug.hh:3323
Controls the selection of callsigns from the UserDatabase to be encoded into the callsign db.
Definition callsigndb.hh:22
D868UVCallsignDB(QObject *parent=nullptr)
Constructor, does not allocate any memory yet.
Definition d868uv_callsigndb.cc:137
D878UV2CallsignDB(QObject *parent=nullptr)
Constructor, does not allocate any memory yet.
Definition d878uv2_callsigndb.cc:10
D868UVCodeplug::ContactMapElement IndexEntryElement
Same index entry used by the codeplug to map normal digital contacts to an contact index.
Definition d878uv2_callsigndb.hh:28
bool encode(UserDatabase *db, const Flags &selection=Flags(), const ErrorStack &err=ErrorStack())
Tries to encode as many entries of the given user-database.
Definition d878uv2_callsigndb.cc:17
Implements a stack of error messages to provide a pretty formatted error traceback.
Definition errorstack.hh:43
Auto-updating DMR user database.
Definition userdatabase.hh:24
Some limits for the call-sign DB.
Definition d868uv_callsigndb.hh:207
Some internal used offsets within the DB.
Definition d868uv_callsigndb.hh:214
Some limits of the call-sign DB.
Definition d878uv2_callsigndb.hh:40
static constexpr unsigned int entries()
Specifies the max number of entries in the call-sign DB. *‍/.
Definition d878uv2_callsigndb.hh:42
Some internal offsets within the call-sign DB.
Definition d878uv2_callsigndb.hh:47