// ----------------------------------------
// ---------- mussa_class.hh -----------
// ----------------------------------------
+#include <QObject>
+
#include <boost/filesystem/path.hpp>
#include <list>
std::string int_to_str(int an_int);
-class Mussa
+class Mussa : public QObject
{
- public:
+ Q_OBJECT
+
+signals:
+ //! call whatever signaling system we want
+ void progress(const std::string& description, int cur, int max);
+
+public:
enum analysis_modes { TransitiveNway, RadialNway, EntropyNway,
RecursiveNway };
*/
int size() const;
- void set_analysis_callback(analysis_callback cb);
- analysis_callback get_analysis_calback() const;
-
//! set number of bases for this window size
void set_window(int a_window);
//! get number of bases for the sliding window
bool win_append;
//! should we append _t<threshold> to the saved analysis
bool thres_append;
- //! callback, periodically called as we run an analysis
- analysis_callback analysis_cb;
//! sequence data
std::vector<Sequence> the_seqs;