libdrmconf 0.15.0
A library to program DMR radios.
Loading...
Searching...
No Matches
OpenGD77BaseCodeplug::SatelliteBankElement Class Reference

Implements the satellite config bank. More...

#include <opengd77base_codeplug.hh>

Inheritance diagram for OpenGD77BaseCodeplug::SatelliteBankElement:
Collaboration diagram for OpenGD77BaseCodeplug::SatelliteBankElement:

Classes

struct  Limit
 Some limits for the satellite config. More...
struct  Offset
 Some internal offsets. More...

Public Member Functions

 SatelliteBankElement (uint8_t *ptr)
 Constructor.
void clear ()
 Abstract method to reset the element within the codeplug.
SatelliteElement satellite (unsigned int idx)
 Returns the i-th satellite.
bool encode (SatelliteDatabase *db, const ErrorStack &err=ErrorStack())
 Encodes the given satellite database.

Static Public Member Functions

static constexpr unsigned int size ()
 The size of the element.
static constexpr unsigned int magic ()
 The magic number of the element.

Protected Member Functions

 SatelliteBankElement (uint8_t *ptr, size_t size)
 Hidden constructor.

Detailed Description

Implements the satellite config bank.

Holding all satellites to track.

Member Function Documentation

◆ clear()

void OpenGD77BaseCodeplug::SatelliteBankElement::clear ( )
virtual

Abstract method to reset the element within the codeplug.

Any device specific element should implement this method.

Reimplemented from Codeplug::Element.


The documentation for this class was generated from the following files:
  • /builddir/build/BUILD/qdmr-0.15.0-build/qdmr-0.15.0/lib/opengd77base_codeplug.hh
  • /builddir/build/BUILD/qdmr-0.15.0-build/qdmr-0.15.0/lib/opengd77base_codeplug.cc