Skip to content

Commit

Permalink
Comms: Update LogReplayLink Threading
Browse files Browse the repository at this point in the history
  • Loading branch information
HTRamsey committed Jan 7, 2025
1 parent 29ca1b0 commit 2410ef5
Show file tree
Hide file tree
Showing 7 changed files with 612 additions and 547 deletions.
2 changes: 2 additions & 0 deletions src/Comms/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ qt_add_library(Comms STATIC
LinkManager.h
LogReplayLink.cc
LogReplayLink.h
LogReplayLinkController.cc
LogReplayLinkController.h
MAVLinkProtocol.cc
MAVLinkProtocol.h
TCPLink.cc
Expand Down
2 changes: 1 addition & 1 deletion src/Comms/LinkInterface.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class LinkInterface : public QThread
Q_INVOKABLE virtual void disconnect() = 0; // FIXME: This gets called 3x when closing link

virtual bool isConnected() const = 0;
virtual bool isLogReplay() { return false; }
virtual bool isLogReplay() const { return false; }
virtual bool isSecureConnection() { return false; } ///< Returns true if the connection is secure (e.g. USB, wired ethernet)

SharedLinkConfigurationPtr linkConfiguration() { return _config; }
Expand Down
2 changes: 1 addition & 1 deletion src/Comms/LinkManager.cc
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

#include "LinkManager.h"
#include "DeviceInfo.h"
#include "LogReplayLink.h"
#include "LogReplayLinkController.h"
#include "MAVLinkProtocol.h"
#include "MultiVehicleManager.h"
#include "QGCApplication.h"
Expand Down
Loading

0 comments on commit 2410ef5

Please sign in to comment.