SpikeStream Application Library  0.2
AbstractConnectionBuilder.h
Go to the documentation of this file.
00001 #ifndef ABSTRACTCONNECTIONBUILDER_H
00002 #define ABSTRACTCONNECTIONBUILDER_H
00003 
00004 //SpikeStream includes
00005 #include "ArchiveDao.h"
00006 #include "ConnectionGroupInfo.h"
00007 #include "NetworkDao.h"
00008 #include "SpikeStreamThread.h"
00009 
00010 //Qt includes
00011 #include <QHash>
00012 
00013 namespace spikestream {
00014 
00017         class AbstractConnectionBuilder : public SpikeStreamThread {
00018                 Q_OBJECT
00019 
00020                 public:
00021                         AbstractConnectionBuilder();
00022                         virtual ~AbstractConnectionBuilder();
00023                         virtual void startBuildConnectionGroup(const ConnectionGroupInfo& conGrpInfo);
00024                         virtual void run();
00025 
00026 
00027                 signals:
00028                         void progress(int stepsCompleted, int totalSteps, QString message);
00029 
00030 
00031                 protected:
00032                         //=================  VARIABLES  ======================
00034                         ConnectionGroupInfo connectionGroupInfo;
00035 
00037                         ConnectionGroup* newConnectionGroup;
00038 
00040                         NetworkDao* threadNetworkDao;
00041 
00042 
00043                         //===================  METHODS  ======================
00044                         virtual void buildConnectionGroup() = 0;
00045                         virtual void checkParameters() = 0;
00046                         virtual double getParameter(const QString& paramName);
00047 
00048         };
00049 
00050 }
00051 
00052 #endif//ABSTRACTCONNECTIONBUILDER_H
 All Classes Files Functions Variables Typedefs Friends Defines