SpikeStream Application Library
0.2
|
#include <DatabaseManager.h>
Public Member Functions | |
DatabaseManager (const DBInfo &networkDBInfo, const DBInfo &archiveDBInfo, const DBInfo &analysisDBInfo) | |
~DatabaseManager () | |
void | startClearDatabases () |
void | run () |
int | getTaskID () |
Static Public Attributes | |
static const int | CLEAR_DATABASES_TASK = 1 |
Handles potentially heavy database tasks, such as deleting all databases
Definition at line 11 of file DatabaseManager.h.
DatabaseManager::DatabaseManager | ( | const DBInfo & | networkDBInfo, |
const DBInfo & | archiveDBInfo, | ||
const DBInfo & | analysisDBInfo | ||
) |
Constructor
Definition at line 14 of file DatabaseManager.cpp.
Destuctor
Definition at line 22 of file DatabaseManager.cpp.
int spikestream::DatabaseManager::getTaskID | ( | ) | [inline] |
Definition at line 19 of file DatabaseManager.h.
void DatabaseManager::run | ( | ) |
Run method inherited from QThread
Definition at line 38 of file DatabaseManager.cpp.
void DatabaseManager::startClearDatabases | ( | ) |
Sets up class for the clear databases task and starts thread running.
Definition at line 31 of file DatabaseManager.cpp.
const int spikestream::DatabaseManager::CLEAR_DATABASES_TASK = 1 [static] |
Task of clearing all databases
Definition at line 22 of file DatabaseManager.h.