QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
LogReplayLink Class Reference

#include <LogReplayLink.h>

+ Inheritance diagram for LogReplayLink:
+ Collaboration diagram for LogReplayLink:

Signals

void logFileStats (uint32_t logDurationSecs)
 
void playbackStarted ()
 
void playbackPaused ()
 
void playbackAtEnd ()
 
void playbackPercentCompleteChanged (qreal percentComplete)
 
void currentLogTimeSecs (uint32_t secs)
 
- Signals inherited from LinkInterface
void bytesReceived (LinkInterface *link, const QByteArray &data)
 
void bytesSent (LinkInterface *link, const QByteArray &data)
 
void connected ()
 
void disconnected ()
 
void communicationError (const QString &title, const QString &error)
 

Public Member Functions

 LogReplayLink (SharedLinkConfigurationPtr &config, QObject *parent=nullptr)
 
virtual ~LogReplayLink ()
 
bool isConnected () const override
 
void disconnect () override
 
bool isLogReplay () const final
 
bool isPlaying () const
 
void play ()
 
void pause ()
 
void setPlaybackSpeed (qreal playbackSpeed)
 
void movePlayhead (qreal percentComplete)
 
- Public Member Functions inherited from LinkInterface
virtual ~LinkInterface ()
 
virtual bool isSecureConnection () const
 Returns true if the connection is secure (e.g. USB, wired ethernet)
 
SharedLinkConfigurationPtr linkConfiguration ()
 
const SharedLinkConfigurationPtr linkConfiguration () const
 
uint8_t mavlinkChannel () const
 
bool mavlinkChannelIsSet () const
 
bool decodedFirstMavlinkPacket () const
 
void setDecodedFirstMavlinkPacket (bool decodedFirstMavlinkPacket)
 
void writeBytesThreadSafe (const char *bytes, int length)
 
void addVehicleReference ()
 
void removeVehicleReference ()
 
void reportMavlinkV1Traffic ()
 
SigningControllersigning ()
 Per-link signing state and confirmation state machine. Non-null after channel allocation.
 
const SigningControllersigning () const
 

Additional Inherited Members

- Protected Member Functions inherited from LinkInterface
 LinkInterface (SharedLinkConfigurationPtr &config, QObject *parent=nullptr)
 Links are only created by LinkManager so constructor is not public.
 
virtual bool _allocateMavlinkChannel ()
 
virtual void _freeMavlinkChannel ()
 
void _connectionRemoved ()
 
- Protected Attributes inherited from LinkInterface
SharedLinkConfigurationPtr _config
 

Detailed Description

Definition at line 115 of file LogReplayLink.h.

Constructor & Destructor Documentation

◆ LogReplayLink()

◆ ~LogReplayLink()

LogReplayLink::~LogReplayLink ( )
virtual

Definition at line 429 of file LogReplayLink.cc.

References isConnected().

Member Function Documentation

◆ currentLogTimeSecs

void LogReplayLink::currentLogTimeSecs ( uint32_t  secs)
signal

◆ disconnect()

void LogReplayLink::disconnect ( )
overridevirtual

Implements LinkInterface.

Definition at line 454 of file LogReplayLink.cc.

References isConnected().

◆ isConnected()

bool LogReplayLink::isConnected ( ) const
overridevirtual

Implements LinkInterface.

Definition at line 444 of file LogReplayLink.cc.

References LogReplayWorker::isConnected().

Referenced by disconnect(), and ~LogReplayLink().

◆ isLogReplay()

bool LogReplayLink::isLogReplay ( ) const
inlinefinalvirtual

Reimplemented from LinkInterface.

Definition at line 125 of file LogReplayLink.h.

◆ isPlaying()

bool LogReplayLink::isPlaying ( ) const

Definition at line 485 of file LogReplayLink.cc.

References LogReplayWorker::isPlaying().

◆ logFileStats

void LogReplayLink::logFileStats ( uint32_t  logDurationSecs)
signal

◆ movePlayhead()

void LogReplayLink::movePlayhead ( qreal  percentComplete)

Definition at line 505 of file LogReplayLink.cc.

◆ pause()

void LogReplayLink::pause ( )

Definition at line 495 of file LogReplayLink.cc.

◆ play()

void LogReplayLink::play ( )

Definition at line 490 of file LogReplayLink.cc.

◆ playbackAtEnd

void LogReplayLink::playbackAtEnd ( )
signal

◆ playbackPaused

void LogReplayLink::playbackPaused ( )
signal

◆ playbackPercentCompleteChanged

void LogReplayLink::playbackPercentCompleteChanged ( qreal  percentComplete)
signal

◆ playbackStarted

void LogReplayLink::playbackStarted ( )
signal

◆ setPlaybackSpeed()

void LogReplayLink::setPlaybackSpeed ( qreal  playbackSpeed)

Definition at line 500 of file LogReplayLink.cc.

Referenced by LogReplayLinkController::setLink().


The documentation for this class was generated from the following files: