Ardour  8.7-15-gadf511264b
tmp_file.h
Go to the documentation of this file.
1 #ifndef AUDIOGRAPHER_TMP_FILE_H
2 #define AUDIOGRAPHER_TMP_FILE_H
3 
4 #include <cstdio>
5 #include <string>
6 
7 #include <glib.h>
8 #include "pbd/gstdio_compat.h"
9 
10 #include "sndfile_writer.h"
11 #include "sndfile_reader.h"
12 
13 namespace AudioGrapher
14 {
15 
17 template<typename T = DefaultSampleType>
18 class TmpFile
19  : public SndfileWriter<T>
20  , public SndfileReader<T>
21 {
22  public:
23  virtual ~TmpFile () {}
24  PBD::Signal0<void> FileFlushed;
25 
26 };
27 
28 } // namespace
29 
30 #endif // AUDIOGRAPHER_TMP_FILE_H
A temporary file deleted after this class is destructed.
Definition: tmp_file.h:21
PBD::Signal0< void > FileFlushed
Definition: tmp_file.h:24
virtual ~TmpFile()
Definition: tmp_file.h:23