26 #ifndef LOGGINGPLUGIN_H_
27 #define LOGGINGPLUGIN_H_
35 #include "gcstelemetrystats.h"
42 #include <QReadWriteLock>
61 virtual void closeDevice(
const QString &deviceName);
90 void transactionCompleted(
UAVObject *obj,
bool success);
102 QQueue<UAVDataObject *> queue;
104 void retrieveSettings();
105 void retrieveNextObject();
111 Q_PLUGIN_METADATA(IID
"org.dronin.plugins.LoggingGadget")
117 void extensionsInitialized();
118 bool initialize(
const QStringList &arguments, QString *errorString);
123 void setLogMenuTitle(QString str);
139 void toggleLogging();
140 void startLogging(QString
file);
142 void loggingStopped();
143 void replayStarted();
144 void replayStopped();
~LoggingThread()
LoggingThread::~LoggingThread Destructor.
virtual QList< Core::IDevice * > availableDevices()
virtual QIODevice * openDevice(Core::IDevice *deviceName)
void stateChanged(QString)
LoggingThread * loggingThread
void startReplay(QString file)
Plugin for generating a logfile.
virtual QString shortName()
enum LoggingPlugin::@8 state
virtual void closeDevice(const QString &deviceName)
void stopLoggingSignal(void)
void stopReplaySignal(void)
LoggingConnection * logConnection
virtual QString connectionName()
virtual ~LoggingConnection()
void onEnumerationChanged()
bool openFile(QString file, LoggingPlugin *parent)
The class Command represents an action like a menu item, tool button, or shortcut. You don't create Command objects directly, instead use {ActionManager::registerAction()} to register an action and retrieve a Command. The Command object represents the user visible action and its properties. If multiple actions are registered with the same ID (but different contexts) the returned Command is the shared one between these actions.
Base class for all plugins.