kwave
18.07.70
Indexer.cpp
Go to the documentation of this file.
1
/*************************************************************************
2
Indexer.cpp - 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
#include "config.h"
19
20
#include "
libkwave/modules/Indexer.h
"
21
22
//***************************************************************************
23
Kwave::Indexer::Indexer
(
unsigned
int
index)
24
:
Kwave
::
StreamObject
(), m_index(index)
25
{
26
}
27
28
//***************************************************************************
29
Kwave::Indexer::~Indexer
()
30
{
31
}
32
33
//***************************************************************************
34
void
Kwave::Indexer::input
(
Kwave::SampleArray
data)
35
{
36
emit
output
(
m_index
, data);
37
}
38
39
//***************************************************************************
40
//***************************************************************************
Kwave::StreamObject
Definition:
StreamObject.h:32
Kwave
Definition:
App.h:33
Indexer.h
Kwave::Indexer::m_index
unsigned int m_index
Definition:
Indexer.h:59
Kwave::Indexer::input
void input(Kwave::SampleArray data)
Definition:
Indexer.cpp:34
Kwave::SampleArray
Definition:
SampleArray.h:36
Kwave::Indexer::output
void output(unsigned int index, Kwave::SampleArray data)
Kwave::Indexer::Indexer
Indexer(unsigned int index)
Definition:
Indexer.cpp:23
Kwave::Indexer::~Indexer
virtual ~Indexer()
Definition:
Indexer.cpp:29
libkwave
modules
Indexer.cpp
Generated on Sat Mar 24 2018 09:10:25 for kwave by
1.8.13