|
libdrmconf 0.13.3
A library to program DMR radios.
|
Extends the OrbitalElement to include transponder information for a satellite.
More...
#include <satellitedatabase.hh>


Public Member Functions | |
| Satellite () | |
| Default constructor. | |
| Satellite (const OrbitalElement &orbit) | |
| Constructor from orbital element. | |
| Satellite (const Satellite &sat)=default | |
| Copy constructor. | |
| Satellite & | operator= (const Satellite &other)=default |
| Copy assignment. | |
| const QString & | name () const |
| Returns the name of the satellite. | |
| void | setName (const QString &name) |
| Sets the name of the satellite. | |
| const Frequency & | fmUplink () const |
| Returns the FM uplink frequency. | |
| void | setFMUplink (const Frequency &f) |
| Sets the FM uplink frequency. | |
| const Frequency & | fmDownlink () const |
| Returns the FM downlink frequency. | |
| void | setFMDownlink (const Frequency &f) |
| Sets the FM downlink frequency. | |
| const SelectiveCall & | fmUplinkTone () const |
| Returns the FM uplink tone (i.e., TX tone). | |
| void | setFMUplinkTone (const SelectiveCall &tone) |
| Sets the FM uplink sub tone. | |
| const SelectiveCall & | fmDownlinkTone () const |
| Returns the FM downlink tone (i.e., RX tone). | |
| void | setFMDownlinkTone (const SelectiveCall &tone) |
| Sets the FM downlink sub tone. | |
| const Frequency & | aprsUplink () const |
| Returns the APRS uplink frequency. | |
| void | setAPRSUplink (const Frequency &f) |
| Sets the APRS uplink frequency. | |
| const Frequency & | aprsDownlink () const |
| Returns the APRS downlink frequency. | |
| void | setAPRSDownlink (const Frequency &f) |
| Sets the APRS downlink frequency. | |
| const SelectiveCall & | aprsUplinkTone () const |
| Returns the APRS uplink tone (i.e., TX tone). | |
| void | setAPRSUplinkTone (const SelectiveCall &tone) |
| Sets the APRS uplink sub tone. | |
| const SelectiveCall & | aprsDownlinkTone () const |
| Returns the APRS downlink tone (i.e., RX tone). | |
| void | setAPRSDownlinkTone (const SelectiveCall &tone) |
| Sets the APRS downlink sub tone. | |
| const Frequency & | beacon () const |
| Returns a beacon frequency. | |
| void | setBeacon (const Frequency &f) |
| Sets a beacon frequency. | |
| QJsonObject | toJson () const |
| Serializes the satellite into a JSON object. | |
Public Member Functions inherited from OrbitalElement | |
| OrbitalElement () | |
| Default constructor. | |
| OrbitalElement (unsigned int id) | |
| Constructor from ID. | |
| OrbitalElement (const OrbitalElement &other)=default | |
| Copy constructor. | |
| OrbitalElement & | operator= (const OrbitalElement &other)=default |
| Copy assignment. | |
| bool | isValid () const |
Returns true, if this represents a valid satellite information. | |
| unsigned int | id () const |
| Returns the NORAD catalog id. | |
| const QString & | name () const |
| Returns the name of the satellite. | |
| const Epoch & | epoch () const |
| Epoch of the orbital elements. | |
| double | meanMotion () const |
| Returns the mean motion. | |
| double | meanMotionDerivative () const |
| Returns the first derivative of the mean motion. | |
| double | inclination () const |
| Returns the inclination. | |
| double | ascension () const |
| Returns the right ascension of the ascending node. | |
| double | eccentricity () const |
| Returns the eccentricity. | |
| double | perigee () const |
| Returns the argument of perigee. | |
| double | meanAnomaly () const |
| Returns the mean anomaly. | |
| unsigned int | revolutionNumber () const |
| Returns the revolution number. | |
Static Public Member Functions | |
| static Satellite | fromJson (const QJsonObject &obj, const OrbitalElementsDatabase &db) |
| Constructs a satellite from the given JSON object and orbital element database. | |
Static Public Member Functions inherited from OrbitalElement | |
| static OrbitalElement | fromCelesTrak (const QJsonObject &obj) |
| Constructs a orbital element from a CelesTrak JSON object. | |
Protected Attributes | |
| QString | _name |
| Holds the name of the satellite. | |
| Frequency | _fmUplink |
| Holds the FM uplink frequency. | |
| Frequency | _fmDownlink |
| Holds the FM downlink frequency. | |
| SelectiveCall | _fmUplinkTone |
| Holds the FM uplink tone. | |
| SelectiveCall | _fmDownlinkTone |
| Holds the FM downlink tone. | |
| Frequency | _aprsUplink |
| Holds the APRS uplink frequency. | |
| Frequency | _aprsDownlink |
| Holds the APRS downlink frequency. | |
| SelectiveCall | _aprsUplinkTone |
| Holds the APRS uplink tone. | |
| SelectiveCall | _aprsDownlinkTone |
| Holds the APRS downlink tone. | |
| Frequency | _beacon |
| Holds a beacon frequency. | |
Protected Attributes inherited from OrbitalElement | |
| unsigned int | _id |
| NORAD id of the satellite. | |
| QString | _name |
| Descriptive name of the satellite. | |
| Epoch | _epoch |
| The epoch. | |
| double | _meanMotion |
| Mean motion. | |
| double | _meanMotionDerivative |
| First derivative of the mean motion. | |
| double | _inclination |
| Inclination. | |
| double | _ascension |
| Right ascension of the ascending node. | |
| double | _eccentricity |
| Eccentricity. | |
| double | _perigee |
| Argument of perigee. | |
| double | _meanAnomaly |
| Mean anomaly. | |
| unsigned int | _revolutionNumber |
| The revolution number. | |
Extends the OrbitalElement to include transponder information for a satellite.
This represents a single user-curated satellite. The orbital elements are updated automatically, while the transponder information remains set by the user.