Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members

algo.h

Go to the documentation of this file.
00001 /*******************************************************************************
00002  *                                                                             *
00003  *   Copyright (C) 2003 - 2006  Erik Sjolund and Erik Arner,                   *
00004  *                              Center for Genomics and Bioinformatics,        *
00005  *                              Karolinska Institutet,                         *
00006  *                              Stockholm,                                     *
00007  *                              Sweden                                         *
00008  *                                                                             *
00009  *  Author: Erik Sjolund                                                       *
00010  *  Email: erik.sjolund@adivo.se                                               *
00011  *                                                                             *
00012  *******************************************************************************
00013  */
00014 #ifndef ALGO_H
00015 #define ALGO_H
00016 
00017 #include <qobject.h>
00018 #include <list>
00019 #include <db_cxx.h>
00020 #include <set>
00021 
00022 /**
00023 @author Erik Sjolund
00024 */
00025 #include <string>
00026 
00027 class TrapperDoc;
00028 class AlgoParam;
00029 
00030 class Algo : public QObject
00031 {
00032   Q_OBJECT
00033 public:
00034   Algo(TrapperDoc * pDoc_, std::set< db_recno_t >& recnoList, AlgoParam* param = 0, QObject *parent = 0, const char *name = 0);
00035   virtual ~Algo();//Destructor should be virtual, right...??
00036   virtual void start() = 0;
00037   void select( db_recno_t recno, bool status );
00038   
00039 protected:
00040   std::set< db_recno_t >& selectedReads;
00041   TrapperDoc * pDoc;
00042   AlgoParam* my_param;
00043 };
00044 
00045 
00046 #endif

Generated on Fri Mar 17 17:44:24 2006 for trapper by  doxygen 1.4.4