libdrmconf 0.15.0
A library to program DMR radios.
Loading...
Searching...
No Matches
d878uv2_codeplug.hh
1#ifndef D878UV2_CODEPLUG_HH
2#define D878UV2_CODEPLUG_HH
3
4#include <QDateTime>
5
6#include "d878uv_codeplug.hh"
7
8class Channel;
9class DMRContact;
10class Zone;
11class RXGroupList;
12class ScanList;
13class DMRAPRSSystem;
14
15
23{
24 Q_OBJECT
25
26protected:
28 explicit D878UV2Codeplug(const QString &label, QObject *parent = nullptr);
29
30public:
32 explicit D878UV2Codeplug(QObject *parent = nullptr);
33
34protected:
35 void allocateContacts();
36 bool encodeContacts(const Flags &flags, Context &ctx, const ErrorStack &err=ErrorStack());
37
38protected:
42 static constexpr unsigned int contactIdTable() { return 0x04800000; }
44 };
45};
46
47#endif // D878UVCODEPLUG_HH
The base class of all channels (analog and digital) of a codeplug configuration.
Definition channel.hh:38
Base class for all codeplug contexts.
Definition codeplug.hh:331
Certain flags passed to CodePlug::encode to control the transfer and encoding of the codeplug.
Definition codeplug.hh:24
bool encodeContacts(const Flags &flags, Context &ctx, const ErrorStack &err=ErrorStack())
Encode contacts into codeplug.
Definition d878uv2_codeplug.cc:54
void allocateContacts()
Allocate contacts from bitmaps.
Definition d878uv2_codeplug.cc:29
D878UV2Codeplug(const QString &label, QObject *parent=nullptr)
Hidden constructor.
Definition d878uv2_codeplug.cc:14
D878UVCodeplug(const QString &label, QObject *parent=nullptr)
Hidden constructor.
Definition d878uv_codeplug.cc:3935
This class represents a DMR position reporting system within the codeplug.
Definition gpssystem.hh:69
Represents a digital contact, that is a DMR number.
Definition contact.hh:141
Implements a stack of error messages to provide a pretty formatted error traceback.
Definition errorstack.hh:43
Generic representation of a RX group list.
Definition rxgrouplist.hh:14
Generic representation of a scan list.
Definition scanlist.hh:15
Represents a zone within the generic configuration.
Definition zone.hh:15
Internal used offsets within the codeplug.
Definition d878uv2_codeplug.hh:40
Internal offsets within the codeplug.
Definition d878uv_codeplug.hh:2001