add threshold/window flag getter/setters
authorDiane Trout <diane@caltech.edu>
Fri, 3 Aug 2007 01:37:57 +0000 (01:37 +0000)
committerDiane Trout <diane@caltech.edu>
Fri, 3 Aug 2007 01:37:57 +0000 (01:37 +0000)
alg/mussa.cpp
alg/mussa.hpp

index 1911c5de7b187e11924f44417faf36ec35c8c29d..0912cb428be56d6ea4f1e270cf4b0acb2b9517a9 100644 (file)
@@ -90,6 +90,26 @@ Mussa::clear()
   set_dirty(false);
 }
 
+void Mussa::set_append_window(bool v) 
+{
+  win_append = v;
+}
+
+bool Mussa::get_append_window()
+{
+  return win_append;
+}
+
+void Mussa::set_append_threshold(bool v)
+{
+  thres_append = v;
+}
+
+bool Mussa::get_append_threshold()
+{
+  return thres_append;
+}
+
 void Mussa::set_dirty(bool new_state)
 {
   if (dirty != new_state) {
index 152d8217349568755913e67c1a77fed6aaa6eaa6..fb05ec704af23cabf1911bf20bac84758c5f6757 100644 (file)
@@ -111,6 +111,16 @@ public:
     //! must be in range [threshold..window size]
     void set_soft_threshold(int sft_thres);
     int get_soft_threshold() const;
+
+    //! should we append the window size to the analysis name
+    void set_append_window(bool v);
+    //! should we append the window size to the analysis name
+    bool get_append_window();
+
+    //! should we append the threshold to the analysis name
+    void set_append_threshold(bool v);
+    //! should we append the threshold to the analysis name
+    bool get_append_threshold();
  
     void set_analysis_mode(enum analysis_modes new_ana_mode);
     enum analysis_modes get_analysis_mode() const;