QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
ScopedExportDB Struct Reference

Public Member Functions

 ScopedExportDB (const QString &path)
 
 ~ScopedExportDB ()
 
 ScopedExportDB (const ScopedExportDB &)=delete
 
ScopedExportDBoperator= (const ScopedExportDB &)=delete
 
bool open ()
 

Public Attributes

std::unique_ptr< QSqlDatabase > db
 
QString session
 

Detailed Description

Definition at line 38 of file QGCTileCacheDatabase.cpp.

Constructor & Destructor Documentation

◆ ScopedExportDB() [1/2]

ScopedExportDB::ScopedExportDB ( const QString &  path)
inline

Definition at line 41 of file QGCTileCacheDatabase.cpp.

References db, s_exportSessionCounter, and session.

◆ ~ScopedExportDB()

ScopedExportDB::~ScopedExportDB ( )
inline

Definition at line 46 of file QGCTileCacheDatabase.cpp.

References db, and session.

◆ ScopedExportDB() [2/2]

ScopedExportDB::ScopedExportDB ( const ScopedExportDB )
delete

Member Function Documentation

◆ open()

bool ScopedExportDB::open ( )
inline

◆ operator=()

ScopedExportDB & ScopedExportDB::operator= ( const ScopedExportDB )
delete

Member Data Documentation

◆ db

std::unique_ptr<QSqlDatabase> ScopedExportDB::db

◆ session

QString ScopedExportDB::session

Definition at line 40 of file QGCTileCacheDatabase.cpp.

Referenced by ScopedExportDB(), and ~ScopedExportDB().


The documentation for this struct was generated from the following file: