|
libdrmconf 0.15.1
A library to program DMR radios.
|


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. | |
|
virtual |
Abstract method to reset the element within the codeplug.
Any device specific element should implement this method.
Reimplemented from Codeplug::Element.