|
QGroundControl
Ground Control Station for MAVLink Drones
|
#include <LogReplayLink.h>
Inheritance diagram for LogReplayConfiguration:
Collaboration diagram for LogReplayConfiguration:Signals | |
| void | filenameChanged () |
Signals inherited from LinkConfiguration | |
| void | nameChanged (const QString &name) |
| void | linkChanged () |
| void | dynamicChanged () |
| void | autoConnectChanged () |
| void | highLatencyChanged () |
Public Member Functions | |
| LogReplayConfiguration (const QString &name, QObject *parent=nullptr) | |
| LogReplayConfiguration (const LogReplayConfiguration *copy, QObject *parent=nullptr) | |
| virtual | ~LogReplayConfiguration () |
| LinkType | type () const override |
| void | copyFrom (const LinkConfiguration *source) override |
| void | loadSettings (QSettings &settings, const QString &root) override |
| void | saveSettings (QSettings &settings, const QString &root) const override |
| QString | settingsURL () const override |
| Settings URL, Pure virtual method providing the URL for the (QML) settings dialog. | |
| QString | settingsTitle () const override |
| Settings Title, Pure virtual method providing the Title for the (QML) settings dialog. | |
| QString | logFilenameShort () const |
| QString | logFilename () const |
| void | setLogFilename (const QString &logFilename) |
Public Member Functions inherited from LinkConfiguration | |
| LinkConfiguration (const QString &name, QObject *parent=nullptr) | |
| LinkConfiguration (const LinkConfiguration *copy, QObject *parent=nullptr) | |
| virtual | ~LinkConfiguration () |
| QString | name () const |
| void | setName (const QString &name) |
| LinkInterface * | link () const |
| void | setLink (const std::shared_ptr< LinkInterface > link) |
| bool | isDynamic () const |
| void | setDynamic (bool dynamic=true) |
| Set if this is this a dynamic configuration. (decided at runtime) | |
| bool | isForwarding () const |
| void | setForwarding (bool forwarding=true) |
| Set if this is this a forwarding link configuration. (decided at runtime) | |
| bool | isAutoConnect () const |
| virtual void | setAutoConnect (bool autoc=true) |
| Set if this is this an Auto Connect configuration. | |
| bool | isHighLatency () const |
| void | setHighLatency (bool hl=false) |
| Set if this is this an High Latency configuration. | |
Additional Inherited Members | |
Public Types inherited from LinkConfiguration | |
| enum | LinkType { TypeSerial , TypeUdp , TypeTcp , TypeBluetooth , TypeLogReplay , TypeLast } |
Static Public Member Functions inherited from LinkConfiguration | |
| static LinkConfiguration * | createSettings (int type, const QString &name) |
| static LinkConfiguration * | duplicateSettings (const LinkConfiguration *source) |
| static QString | settingsRoot () |
Protected Attributes inherited from LinkConfiguration | |
| std::weak_ptr< LinkInterface > | _link |
| Link currently using this configuration (if any) | |
Definition at line 16 of file LogReplayLink.h.
|
explicit |
Definition at line 17 of file LogReplayLink.cc.
|
explicit |
Definition at line 23 of file LogReplayLink.cc.
|
virtual |
Definition at line 30 of file LogReplayLink.cc.
|
overridevirtual |
Copy instance data, When manipulating data, you create a copy of the configuration using the copy constructor, edit it and then transfer its content to the original using this method.
| [in] | source | The source instance (the edited copy) |
Reimplemented from LinkConfiguration.
Definition at line 35 of file LogReplayLink.cc.
References LinkConfiguration::copyFrom(), logFilename(), and setLogFilename().
|
signal |
Referenced by setLogFilename().
|
overridevirtual |
Load settings, Pure virtual method telling the instance to load its configuration.
| [in] | settings | The QSettings instance to use |
| [in] | root | The root path of the setting. |
Implements LinkConfiguration.
Definition at line 44 of file LogReplayLink.cc.
References setLogFilename().
|
inline |
Definition at line 36 of file LogReplayLink.h.
Referenced by copyFrom(), and setLogFilename().
| QString LogReplayConfiguration::logFilenameShort | ( | ) | const |
Definition at line 62 of file LogReplayLink.cc.
Referenced by LinkManager::startLogReplay().
|
overridevirtual |
Save settings, Pure virtual method telling the instance to save its configuration.
| [in] | settings | The QSettings instance to use |
| [in] | root | The root path of the setting. |
Implements LinkConfiguration.
Definition at line 53 of file LogReplayLink.cc.
| void LogReplayConfiguration::setLogFilename | ( | const QString & | logFilename | ) |
Definition at line 67 of file LogReplayLink.cc.
References filenameChanged(), and logFilename().
Referenced by copyFrom(), loadSettings(), and LinkManager::startLogReplay().
|
inlineoverridevirtual |
Settings Title, Pure virtual method providing the Title for the (QML) settings dialog.
Implements LinkConfiguration.
Definition at line 33 of file LogReplayLink.h.
|
inlineoverridevirtual |
Settings URL, Pure virtual method providing the URL for the (QML) settings dialog.
Implements LinkConfiguration.
Definition at line 32 of file LogReplayLink.h.
|
inlineoverridevirtual |
Connection type, pure virtual method returning one of the -TypeXxx types above.
Implements LinkConfiguration.
Definition at line 28 of file LogReplayLink.h.
References LinkConfiguration::TypeLogReplay.