|
LibDMRConf
0.5.0
A library to program DMR radios.
|
Represents a single zone within the codeplug. More...
#include <opengd77_codeplug.hh>
Public Member Functions | |
| zone_t () | |
| Constructor. | |
| bool | isValid () const |
Returns true if the zone entry is valid. | |
| void | clear () |
| Resets and invalidates the zone entry. | |
| QString | getName () const |
| Retruns the zone name. | |
| void | setName (const QString &name) |
| Sets the zone name. | |
| Zone * | toZoneObj () const |
Constructs a generic Zone object from this codeplug zone. | |
| bool | linkZoneObj (Zone *zone, const CodeplugContext &ctx) const |
Links a previously constructed Zone object to the rest of the configuration. More... | |
| void | fromZoneObjA (const Zone *zone, const Config *conf) |
Resets this codeplug zone representation from the given generic Zone object. | |
| void | fromZoneObjB (const Zone *zone, const Config *conf) |
Resets this codeplug zone representation from the given generic Zone object. | |
Public Attributes | |
| uint8_t | name [16] |
| Zone name ASCII, 0xff terminated. | |
| uint16_t | member [80] |
| Member channel indices+1, 0=empty/not used. | |
Represents a single zone within the codeplug.
| bool OpenGD77Codeplug::zone_t::linkZoneObj | ( | Zone * | zone, |
| const CodeplugContext & | ctx | ||
| ) | const |
Links a previously constructed Zone object to the rest of the configuration.
That is linking to the referred channels.
1.8.17