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

Implements the satellite config bank. More...

#include <opengd77base_satelliteconfig.hh>

Inheritance diagram for OpenGD77BaseSatelliteConfig::SatelliteBankElement:
Collaboration diagram for OpenGD77BaseSatelliteConfig::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.
 

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 OpenGD77BaseSatelliteConfig::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: