kwave
18.07.70
SampleSource.h
Go to the documentation of this file.
1
/*************************************************************************
2
SampleSource.h - base class with a generic sample source
3
-------------------
4
begin : Sun Oct 07 2007
5
copyright : (C) 2007 by Thomas Eschenbacher
6
email : Thomas.Eschenbacher@gmx.de
7
***************************************************************************/
8
9
/***************************************************************************
10
* *
11
* This program is free software; you can redistribute it and/or modify *
12
* it under the terms of the GNU General Public License as published by *
13
* the Free Software Foundation; either version 2 of the License, or *
14
* (at your option) any later version. *
15
* *
16
***************************************************************************/
17
18
#ifndef SAMPLE_SOURCE_H
19
#define SAMPLE_SOURCE_H
20
21
#include "config.h"
22
23
#include <QtGlobal>
24
#include <QObject>
25
26
#include "
libkwave/SampleArray.h
"
27
#include "
libkwave/modules/StreamObject.h
"
28
29
namespace
Kwave
30
{
31
class
Q_DECL_EXPORT
SampleSource
:
public
Kwave::StreamObject
32
{
33
Q_OBJECT
34
public
:
35
41
explicit
SampleSource
(QObject *parent = Q_NULLPTR);
42
44
virtual
~
SampleSource
();
45
51
virtual
void
goOn() = 0;
52
61
virtual
bool
done
()
const
{
return
false
; }
62
63
};
64
}
65
66
#endif
/* SAMPLE_SOURCE_H */
67
68
//***************************************************************************
69
//***************************************************************************
Kwave::StreamObject
Definition:
StreamObject.h:32
Kwave
Definition:
App.h:33
Kwave::SampleSource::done
virtual bool done() const
Definition:
SampleSource.h:61
StreamObject.h
SampleArray.h
Kwave::SampleSource
Definition:
SampleSource.h:31
libkwave
SampleSource.h
Generated on Sat Mar 24 2018 09:10:25 for kwave by
1.8.13