LeechCraft  0.6.70-15082-g543737046d
Modular cross-platform feature rich live environment.
LC::Util::ConsistencyChecker Class Reference

#include "consistencychecker.h"

+ Inheritance diagram for LC::Util::ConsistencyChecker:
+ Collaboration diagram for LC::Util::ConsistencyChecker:

Classes

struct  DumpError
 
struct  DumpFinished
 
struct  IFailed
 
struct  Succeeded
 

Public Types

using DumpResult_t = std::variant< DumpFinished, DumpError >
 
using Failed = std::shared_ptr< IFailed >
 
using CheckResult_t = std::variant< Succeeded, Failed >
 

Public Member Functions

QFuture< CheckResult_tStartCheck ()
 

Static Public Member Functions

static std::shared_ptr< ConsistencyCheckerCreate (QString dbPath, QString dialogContext)
 

Friends

class FailedImpl
 

Detailed Description

Definition at line 24 of file consistencychecker.h.

Member Typedef Documentation

◆ CheckResult_t

Definition at line 58 of file consistencychecker.h.

◆ DumpResult_t

Definition at line 45 of file consistencychecker.h.

◆ Failed

Definition at line 56 of file consistencychecker.h.

Member Function Documentation

◆ Create()

std::shared_ptr< ConsistencyChecker > LC::Util::ConsistencyChecker::Create ( QString  dbPath,
QString  dialogContext 
)
static

Definition at line 52 of file consistencychecker.cpp.

◆ StartCheck()

QFuture< ConsistencyChecker::CheckResult_t > LC::Util::ConsistencyChecker::StartCheck ( )

Definition at line 57 of file consistencychecker.cpp.

References LC::Util::GenConnectionName().

+ Here is the call graph for this function:

Friends And Related Function Documentation

◆ FailedImpl

friend class FailedImpl
friend

Definition at line 30 of file consistencychecker.h.


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