kwave  18.07.70
Indexer.h
Go to the documentation of this file.
1 /*************************************************************************
2  Indexer.h - add an index to a stream
3  -------------------
4  begin : Sat Oct 16 2010
5  copyright : (C) 2010 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 INDEXER_H
19 #define INDEXER_H
20 
21 #include "config.h"
22 
23 #include <QObject>
24 #include <QString>
25 
26 #include "libkwave/SampleArray.h"
28 
29 //***************************************************************************
30 namespace Kwave
31 {
32 
34  {
35  Q_OBJECT
36  public:
41  Indexer(unsigned int index);
42 
44  virtual ~Indexer();
45 
46  public slots:
47 
49  void input(Kwave::SampleArray data);
50 
51  signals:
52 
54  void output(unsigned int index, Kwave::SampleArray data);
55 
56  private:
57 
59  unsigned int m_index;
60  };
61 
62 }
63 
64 #endif /* INDEXER_H */
65 
66 //***************************************************************************
67 //***************************************************************************
Definition: App.h:33
unsigned int m_index
Definition: Indexer.h:59
void input(Kwave::SampleArray data)
Definition: Indexer.cpp:34
void output(unsigned int index, Kwave::SampleArray data)
Indexer(unsigned int index)
Definition: Indexer.cpp:23
virtual ~Indexer()
Definition: Indexer.cpp:29