QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
ErrorHandlers.cc File Reference
#include "ErrorHandlers.h"
#include "QGCStateMachine.h"
#include "QGCLoggingCategory.h"
#include <QtCore/QRandomGenerator>
+ Include dependency graph for ErrorHandlers.cc:

Go to the source code of this file.

Namespaces

namespace  ErrorHandlers
 

Functions

FunctionStateErrorHandlers::logAndContinue (QGCStateMachine *machine, const QString &stateName, QAbstractState *nextState, const QString &message)
 
FunctionStateErrorHandlers::logAndStop (QGCStateMachine *machine, const QString &stateName, const QString &message)
 
std::function< int(int)> ErrorHandlers::exponentialBackoff (int initialDelayMsecs, double multiplier, int maxDelayMsecs)
 
std::function< int(int)> ErrorHandlers::linearBackoff (int initialDelayMsecs, int incrementMsecs, int maxDelayMsecs)
 
std::function< int(int)> ErrorHandlers::constantDelay (int delayMsecs)
 
std::function< int(int)> ErrorHandlers::jitteredExponentialBackoff (int initialDelayMsecs, double multiplier, int maxDelayMsecs, double jitterFraction)