Mercurial > hg > svcore
comparison transform/Transform.cpp @ 0:da6937383da8
initial import
author | Chris Cannam |
---|---|
date | Tue, 10 Jan 2006 16:33:16 +0000 |
parents | |
children | d86891498eef |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:da6937383da8 |
---|---|
1 /* -*- c-basic-offset: 4 -*- vi:set ts=8 sts=4 sw=4: */ | |
2 | |
3 /* | |
4 A waveform viewer and audio annotation editor. | |
5 Chris Cannam, Queen Mary University of London, 2005 | |
6 | |
7 This is experimental software. Not for distribution. | |
8 */ | |
9 | |
10 #include "Transform.h" | |
11 | |
12 Transform::Transform(Model *m) : | |
13 m_input(m), | |
14 m_output(0), | |
15 m_detached(false), | |
16 m_deleting(false) | |
17 { | |
18 } | |
19 | |
20 Transform::~Transform() | |
21 { | |
22 m_deleting = true; | |
23 wait(); | |
24 if (!m_detached) delete m_output; | |
25 } | |
26 |