QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
ErrorHandlers.h File Reference
#include "FunctionState.h"
#include <QtCore/QTimer>
#include <functional>
#include <cmath>
+ Include dependency graph for ErrorHandlers.h:
+ This graph shows which files directly or indirectly include this file:

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)