Base class of the positioning systems, that is APRS and DMR position reporting system.
More...
#include <gpssystem.hh>
|
void | modified () |
| Gets emitted if the GPS system is modified.
|
|
|
virtual | ~PositioningSystem () |
| Destructor.
|
|
template<class System > |
bool | is () const |
| Returns true if this positioning system is an instance of the specified system.
|
|
template<class System > |
System * | as () |
| Casts this positioning system to an instance of the specified system.
|
|
template<class System > |
const System * | as () const |
| Casts this positioning system to an instance of the specified system.
|
|
const QString & | name () const |
| Returns the name of the GPS system.
|
|
void | setName (const QString &name) |
| Sets the name of the GPS system.
|
|
uint | period () const |
| Returns the update period in seconds.
|
|
void | setPeriod (uint period) |
| Sets the update period in seconds.
|
|
|
QString | _name |
| Holds the name of the GPS system.
|
|
uint | _period |
| Holds the update period in seconds.
|
|
Base class of the positioning systems, that is APRS and DMR position reporting system.
◆ PositioningSystem()
PositioningSystem::PositioningSystem |
( |
const QString & |
name, |
|
|
uint |
period = 300 , |
|
|
QObject * |
parent = nullptr |
|
) |
| |
|
explicitprotected |
Hidden constructor.
The PositioningSystem class is not instantiated directly, use either GPSSystem
or APRSSystem
instead.
- Parameters
-
name | Specifies the name of the system. |
period | Specifies the auto-update period in seconds. |
parent | Specified the QObject parent object. |
The documentation for this class was generated from the following files:
- /home/hannes/Software/qdmr/lib/gpssystem.hh
- /home/hannes/Software/qdmr/lib/gpssystem.cc