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

Per-vehicle signing facade. Owns the wiring between Vehicle and the active SigningController (which lives on the vehicle's primary LinkInterface). Re-binds when the primary link changes. More...

#include <VehicleSigningController.h>

Inheritance diagram for VehicleSigningController:
Collaboration diagram for VehicleSigningController:

Signals

void signingStatusChanged ()
void signingFailed (SigningFailure info)

Public Member Functions

 VehicleSigningController (Vehicle *vehicle)
 ~VehicleSigningController () override
SigningStatus signingStatus () const
QBindable< SigningStatus > bindableSigningStatus ()
Q_INVOKABLE void enable (const QString &keyName)
Q_INVOKABLE void disable ()

Detailed Description

Per-vehicle signing facade. Owns the wiring between Vehicle and the active SigningController (which lives on the vehicle's primary LinkInterface). Re-binds when the primary link changes.

Definition at line 23 of file VehicleSigningController.h.

Constructor & Destructor Documentation

◆ VehicleSigningController()

VehicleSigningController::VehicleSigningController ( Vehicle * vehicle)
explicit

◆ ~VehicleSigningController()

VehicleSigningController::~VehicleSigningController ( )
override

Definition at line 34 of file VehicleSigningController.cc.

Member Function Documentation

◆ bindableSigningStatus()

QBindable< SigningStatus > VehicleSigningController::bindableSigningStatus ( )
inline

Definition at line 38 of file VehicleSigningController.h.

◆ disable()

void VehicleSigningController::disable ( )

Definition at line 233 of file VehicleSigningController.cc.

References qgcApp, QGC::secureZero(), and signingFailed().

◆ enable()

void VehicleSigningController::enable ( const QString & keyName)

◆ signingFailed

void VehicleSigningController::signingFailed ( SigningFailure info)
signal

Referenced by disable(), and enable().

◆ signingStatus()

SigningStatus VehicleSigningController::signingStatus ( ) const
inline

Definition at line 36 of file VehicleSigningController.h.

◆ signingStatusChanged

void VehicleSigningController::signingStatusChanged ( )
signal

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