22 #ifndef __PLUGINS_LASER_FILTER_FILTER_H_ 23 #define __PLUGINS_LASER_FILTER_FILTER_H_ 37 Buffer(
size_t num_values = 0);
46 unsigned int in_data_size,
47 std::vector<Buffer *> &in,
unsigned int out_size);
50 virtual std::vector<Buffer *> & get_out_vector();
51 virtual void set_out_vector(std::vector<Buffer *> &out);
52 virtual unsigned int get_out_data_size();
54 virtual void filter() = 0;
56 void set_array_ownership(
bool own_in,
bool own_out);
59 bool owns_in()
const {
return __own_in; };
65 virtual void set_out_data_size(
unsigned int data_size);
67 void reset_outbuf(
Buffer *b);
68 void copy_to_outbuf(
Buffer *outbuf,
const Buffer *inbuf);
75 std::vector<Buffer *>
in;
76 std::vector<Buffer *>
out;
std::string name
name of the input buffer
std::vector< Buffer * > out
Vector of output arrays.
Fawkes library namespace.
A class for handling time.
std::string frame
reference coordinate frame ID
bool owns_out() const
Check if output arrays are owned by filter.
const std::string filter_name
Name of the specific filter instance.
bool owns_in() const
Check if input arrays are owned by filter.
fawkes::Time * timestamp
timestamp of data
unsigned int out_data_size
Number of entries in output arrays.
std::vector< Buffer * > in
Vector of input arrays.
unsigned int in_data_size
Number of entries in input arrays.