SpikeStream Application Library  0.2
DatabaseManager.h
Go to the documentation of this file.
00001 #ifndef DATABASEMANAGER_H
00002 #define DATABASEMANAGER_H
00003 
00004 //SpikeStream includes
00005 #include "DBInfo.h"
00006 #include "SpikeStreamThread.h"
00007 
00008 namespace spikestream {
00009 
00011         class DatabaseManager : public SpikeStreamThread {
00012                 Q_OBJECT
00013 
00014                 public:
00015                         DatabaseManager(const DBInfo& networkDBInfo, const DBInfo& archiveDBInfo, const DBInfo& analysisDBInfo);
00016                         ~DatabaseManager();
00017                         void startClearDatabases();
00018                         void run();
00019                         int getTaskID() { return taskID; }
00020 
00022                         static const int CLEAR_DATABASES_TASK = 1;
00023 
00024                 private:
00025                         //=========================  VARIABLES  =========================
00027                         int taskID;
00028 
00030                         DBInfo networkDBInfo;
00031 
00033                         DBInfo archiveDBInfo;
00034 
00036                         DBInfo analysisDBInfo;
00037 
00038 
00039                         //==========================  METHODS  ==========================
00040         };
00041 
00042 }
00043 
00044 #endif//DATABASEMANAGER_H
 All Classes Files Functions Variables Typedefs Friends Defines