libdrmconf 0.13.3
A library to program DMR radios.
Loading...
Searching...
No Matches
AnytoneSatelliteConfig::SatelliteElement Class Reference
Inheritance diagram for AnytoneSatelliteConfig::SatelliteElement:
Collaboration diagram for AnytoneSatelliteConfig::SatelliteElement:

Classes

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

Public Member Functions

 SatelliteElement (uint8_t *ptr)
 Constructor.
void clear ()
 Abstract method to reset the element within the codeplug.
void setName (const QString &name)
 Sets the satellite name.
void setEpoch (const OrbitalElement::Epoch &epoch)
 Sets the epoch of the orbital element.
void setMeanMotionDerivative (double dmm)
 Sets the derivative of the mean motion.
void setInclination (double incl)
 Sets the inclination.
void setAscension (double asc)
 Sets the right ascension of the ascending node.
void setEccentricity (double ecc)
 Sets the eccentricity.
void setPerigee (double peri)
 Sets the argument of perigee.
void setAnomaly (double ma)
 Sets the mean anomaly.
void setMeanMotion (double mm)
 Sets the mean motion.
void setRevolution (unsigned int num)
 Sets the revolution number.
void setDownlink (const Frequency &f)
 Sets the downlink frequency.
void setDownlinkTone (const SelectiveCall &tone)
 Sets the downlink sub tone.
void setUplink (const Frequency &f)
 Sets the uplink frequency.
void setUplinkTone (const SelectiveCall &tone)
 Sets the uplink sub tone.
bool encode (const Satellite &sat, const ErrorStack &err=ErrorStack())
 Encodes the given satellite.

Static Public Member Functions

static constexpr unsigned int size ()

Protected Types

enum class  ToneType { None = 0 , CTCSS = 1 , DCS = 2 }
 Internal encoding of sub tone type.

Protected Member Functions

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

Member Function Documentation

◆ clear()

void AnytoneSatelliteConfig::SatelliteElement::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.13.3-build/qdmr-0.13.3/lib/anytone_satelliteconfig.hh
  • /builddir/build/BUILD/qdmr-0.13.3-build/qdmr-0.13.3/lib/anytone_satelliteconfig.cc