Fawkes API  Fawkes Development Version
copy.h
1 /***************************************************************************
2  * copy.h - Laser data filter to copy data without modification
3  *
4  * Created: Mon 16 Apr 2018 13:50:26 CEST 13:50
5  * Copyright 2018 Till Hofmann <hofmann@kbsg.rwth-aachen.de>
6  ****************************************************************************/
7 
8 /* This program is free software; you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License as published by
10  * the Free Software Foundation; either version 2 of the License, or
11  * (at your option) any later version.
12  *
13  * This program is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  * GNU Library General Public License for more details.
17  *
18  * Read the full text in the LICENSE.GPL file in the doc directory.
19  */
20 
21 #ifndef _PLUGINS_LASER_FILTER_FILTERS_COPY_H_
22 #define _PLUGINS_LASER_FILTER_FILTERS_COPY_H_
23 
24 #include "filter.h"
25 
27 {
28 public:
29  LaserCopyDataFilter(const std::string & filter_name,
30  unsigned int in_data_size,
31  std::vector<Buffer *> &in);
32  void filter();
33 };
34 
35 #endif /* !PLUGINS_LASER_FILTER_FILTERS_COPY_H__ */
Copy laser data without modification to a new name.
Definition: copy.h:27
LaserCopyDataFilter(const std::string &filter_name, unsigned int in_data_size, std::vector< Buffer * > &in)
Constructor.
Definition: copy.cpp:36
void filter()
Filter the incoming data.
Definition: copy.cpp:44
Laser data filter.
Definition: filter.h:33
unsigned int in_data_size
Number of entries in input arrays.
Definition: filter.h:88
std::string filter_name
Name of the specific filter instance.
Definition: filter.h:86
std::vector< Buffer * > in
Vector of input arrays.
Definition: filter.h:89