libdrmconf 0.13.3
A library to program DMR radios.
Loading...
Searching...
No Matches
Transponder Struct Reference

Represents a single transponder of a satellite. More...

#include <transponderdatabase.hh>

Collaboration diagram for Transponder:

Public Types

enum class  Type { Transponder , Transmitter }
 Possible transponder types. More...
enum class  Mode { FM , CW , APRS , BPSK }
 Possible transponder modes. More...

Public Member Functions

 Transponder ()
 Default constructor.
bool isValid () const
 Returns true, if the transponder is valid.
unsigned int satellite () const
 Returns the NORAD id of the associated satellite.
Type type () const
 Returns the transponder type.
Mode mode () const
 Returns the transponder mode.
const QString & name () const
 Returns a descriptive name of the transponder.
const Frequencyuplink () const
 Returns the uplink frequency, if there is one.
const Frequencydownlink () const
 Returns the downlink frequency.

Static Public Member Functions

static Transponder fromSATNOGS (const QJsonObject &obj)
 Parses a transponder from the given SatNOGS JSON object.

Protected Attributes

unsigned int _satellite
 Holds the NORAD id of the satellite.
Type _type
 Holds the transponder type.
Mode _mode
 Holds the transponder mode.
QString _name
 Holds the name.
Frequency _downlink
 Holds the downlink frequency.
Frequency _uplink
 Holds the uplink frequency.

Detailed Description

Represents a single transponder of a satellite.

Member Enumeration Documentation

◆ Mode

enum class Transponder::Mode
strong

Possible transponder modes.

Enumerator
FM 

Plain FM.

CW 

Simple CW.

APRS 

AFSK APRS.

BPSK 

BPSK.

◆ Type

enum class Transponder::Type
strong

Possible transponder types.

Enumerator
Transponder 

Proper transponder (repeater).

Transmitter 

Just a transmitter (beacon).

Member Function Documentation

◆ isValid()

bool Transponder::isValid ( ) const

Returns true, if the transponder is valid.

I.e., it is associated with a satellite.

◆ uplink()

const Frequency & Transponder::uplink ( ) const

Returns the uplink frequency, if there is one.

An upload frequency is usually missing, if the type is Type::Transmitter.


The documentation for this struct was generated from the following files:
  • /builddir/build/BUILD/qdmr-0.13.3-build/qdmr-0.13.3/lib/transponderdatabase.hh
  • /builddir/build/BUILD/qdmr-0.13.3-build/qdmr-0.13.3/lib/transponderdatabase.cc