LibDMRConf  0.5.0
A library to program DMR radios.
Public Member Functions | Public Attributes | List of all members
OpenGD77Codeplug::zone_t Struct Reference

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.
 
ZonetoZoneObj () 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.
 

Detailed Description

Represents a single zone within the codeplug.

Member Function Documentation

◆ linkZoneObj()

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.


The documentation for this struct was generated from the following files: