-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathFilter.cpp
More file actions
executable file
·51 lines (36 loc) · 913 Bytes
/
Filter.cpp
File metadata and controls
executable file
·51 lines (36 loc) · 913 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
// Filter.cpp: implementation of the CFilter class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "SpectrumAnalysis.h"
#include "Filter.h"
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
CFilter::CFilter()
{
}
CFilter::~CFilter()
{
}
//return the type of filter
UINT CFilter::GetFilterType() const
{
return m_iType;
}
//set type of the filter
VOID CFilter::SetFilterType(UINT in_iType)
{
m_iType = in_iType;
}
//virtual function, execute the filter fuction
INT CFilter::DoFilter(CSignal &in_pSignal)
{
ASSERT("METHOD IS NOT IMPLEMETED!");
return SPA_ERR_NOTIMPLEMENT;
}