Fawkes API
Fawkes Development Version
nothing.h
1
2
/***************************************************************************
3
* nothing.h - Header of a filter that does nothing. Wonderful, isn't it.
4
* Used in FilterFactory to avoid NULL checks
5
*
6
* Created: Fri Jun 17 13:28:21 2005
7
* Copyright 2005-2007 Tim Niemueller [www.niemueller.de]
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. A runtime exception applies to
15
* this software (see LICENSE.GPL_WRE file mentioned below for details).
16
*
17
* This program is distributed in the hope that it will be useful,
18
* but WITHOUT ANY WARRANTY; without even the implied warranty of
19
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20
* GNU Library General Public License for more details.
21
*
22
* Read the full text in the LICENSE.GPL_WRE file in the doc directory.
23
*/
24
25
#ifndef _FIREVISION_FILTER_NOTHING_H_
26
#define _FIREVISION_FILTER_NOTHING_H_
27
28
#include <fvfilters/filter.h>
29
30
namespace
firevision {
31
32
/** @class FilterNothing <fvfilters/nothing.h>
33
* A filter that does... nothing.
34
* @author Tim Niemueller
35
*/
36
37
class
FilterNothing
:
public
Filter
38
{
39
public
:
40
/** Constructor. */
41
FilterNothing
() :
Filter
(
"FilterNothing"
)
42
{
43
}
44
45
virtual
void
46
apply
()
47
{
48
}
49
};
50
51
}
// end namespace firevision
52
53
#endif
firevision::FilterNothing::apply
virtual void apply()
Apply the filter.
Definition:
nothing.h:46
firevision::FilterNothing
A filter that does...
Definition:
nothing.h:38
firevision::FilterNothing::FilterNothing
FilterNothing()
Constructor.
Definition:
nothing.h:41
firevision::Filter
Filter interface.
Definition:
filter.h:33
src
libs
fvfilters
nothing.h
Generated by
1.8.20