libdrmconf 0.12.1
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#include "signaling.hh"
8
9class Channel;
10class DMRContact;
11class Zone;
12class RXGroupList;
13class ScanList;
14class GPSSystem;
15
16
197{
198 Q_OBJECT
199
200protected:
202 explicit D878UV2Codeplug(const QString &label, QObject *parent = nullptr);
203
204public:
206 explicit D878UV2Codeplug(QObject *parent = nullptr);
207
208protected:
209 void allocateContacts();
210 bool encodeContacts(const Flags &flags, Context &ctx, const ErrorStack &err=ErrorStack());
211
212protected:
216 static constexpr unsigned int contactIdTable() { return 0x04800000; }
218 };
219};
220
221#endif // D878UVCODEPLUG_HH
The base class of all channels (analog and digital) of a codeplug configuration.
Definition channel.hh:34
Base class for all codeplug contexts.
Definition codeplug.hh:273
Certain flags passed to CodePlug::encode to control the transfer and encoding of the codeplug.
Definition codeplug.hh:26
Represents the device specific binary codeplug for Anytone AT-D878UVII radios.
Definition d878uv2_codeplug.hh:197
bool encodeContacts(const Flags &flags, Context &ctx, const ErrorStack &err=ErrorStack())
Encode contacts into codeplug.
Definition d878uv2_codeplug.cc:58
void allocateContacts()
Allocate contacts from bitmaps.
Definition d878uv2_codeplug.cc:33
D878UV2Codeplug(const QString &label, QObject *parent=nullptr)
Hidden constructor.
Definition d878uv2_codeplug.cc:18
Represents the device specific binary codeplug for Anytone AT-D878UV radios.
Definition d878uv_codeplug.hh:232
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:41
This class represents a GPS signalling system within the codeplug.
Definition gpssystem.hh:64
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:214
Internal offsets within the codeplug.
Definition d878uv_codeplug.hh:1937