libdrmconf 0.12.1
A library to program DMR radios.
Loading...
Searching...
No Matches
OrbitalElementsDatabase Class Reference
Inheritance diagram for OrbitalElementsDatabase:
Collaboration diagram for OrbitalElementsDatabase:

Public Slots

void download ()
 Starts the download of the orbital elements.

Signals

void loaded ()
 Gets emitted once the satellite orbitals has been loaded.
void error (const QString &msg)
 Gets emitted if the loading one of the sources fails.

Public Member Functions

 OrbitalElementsDatabase (bool autoLoad, unsigned int updatePeriodDays=7, QObject *parent=nullptr)
bool contains (unsigned int id) const
OrbitalElement getById (unsigned int id) const
const OrbitalElement & getAt (unsigned int idx) const
OrbitalElement & getAt (unsigned int idx)
unsigned int dbAge () const
void load ()
int rowCount (const QModelIndex &parent=QModelIndex()) const
int columnCount (const QModelIndex &parent=QModelIndex()) const
QVariant data (const QModelIndex &index, int role) const

Protected Member Functions

bool load (const QString &filename)

The documentation for this class was generated from the following files:
  • /builddir/build/BUILD/qdmr-0.12.1-build/qdmr-0.12.1/lib/orbitalelementsdatabase.hh
  • /builddir/build/BUILD/qdmr-0.12.1-build/qdmr-0.12.1/lib/orbitalelementsdatabase.cc