SpectMorph
smwavsetrepo.hh
1 // Licensed GNU LGPL v3 or later: http://www.gnu.org/licenses/lgpl.html
2 
3 #ifndef SPECTMORPH_WAVSET_REPO_HH
4 #define SPECTMORPH_WAVSET_REPO_HH
5 
6 #include "smwavset.hh"
7 
8 #include <QMutex>
9 
10 #include <map>
11 
12 namespace SpectMorph
13 {
14 
15 class WavSetRepo {
16  QMutex mutex;
17  std::map<std::string, WavSet *> wav_set_map;
18 public:
19  WavSet *get (const std::string& filename);
20 
21  static WavSetRepo *the(); // Singleton
22 };
23 
24 }
25 
26 #endif
Definition: smwavsetrepo.hh:15
Definition: smwavset.hh:28
Definition: smadsrenvelope.hh:8