SpectMorph
lib
smwavsetrepo.hh
1
// Licensed GNU LGPL v2.1 or later: http://www.gnu.org/licenses/lgpl-2.1.html
2
3
#ifndef SPECTMORPH_WAVSET_REPO_HH
4
#define SPECTMORPH_WAVSET_REPO_HH
5
6
#include "smwavset.hh"
7
8
#include <mutex>
9
10
#include <unordered_map>
11
12
namespace
SpectMorph
13
{
14
15
class
WavSetRepo
{
16
std::mutex mutex;
17
std::unordered_map<std::string, WavSet *> wav_set_map;
18
public
:
19
~
WavSetRepo
();
20
21
WavSet
*get (
const
std::string& filename);
22
23
static
WavSetRepo
*the();
// Singleton
24
};
25
26
}
27
28
#endif
SpectMorph::WavSetRepo
Definition:
smwavsetrepo.hh:15
SpectMorph::WavSet
Definition:
smwavset.hh:29
Generated on Wed Nov 1 2023 22:01:19 for SpectMorph by
1.9.1