SpikeStream Application Library  0.2
spikestream::DatabaseManager Class Reference

#include <DatabaseManager.h>

List of all members.

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

Detailed Description

Handles potentially heavy database tasks, such as deleting all databases

Definition at line 11 of file DatabaseManager.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

Definition at line 19 of file DatabaseManager.h.

Run method inherited from QThread

Definition at line 38 of file DatabaseManager.cpp.

Sets up class for the clear databases task and starts thread running.

Definition at line 31 of file DatabaseManager.cpp.


Member Data Documentation

Task of clearing all databases

Definition at line 22 of file DatabaseManager.h.


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Typedefs Friends Defines