GNU Radio Radar Toolbox
msg_gate_impl.h
Go to the documentation of this file.
1/* -*- c++ -*- */
2/*
3 * Copyright 2014 <Communications Engineering Lab, KIT.
4 *
5 * This is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 3, or (at your option)
8 * any later version.
9 *
10 * This software is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this software; see the file COPYING. If not, write to
17 * the Free Software Foundation, Inc., 51 Franklin Street,
18 * Boston, MA 02110-1301, USA.
19 */
20
21#ifndef INCLUDED_RADAR_MSG_GATE_IMPL_H
22#define INCLUDED_RADAR_MSG_GATE_IMPL_H
23
24#include <radar/msg_gate.h>
25
26namespace gr {
27namespace radar {
28
29class msg_gate_impl : public msg_gate
30{
31private:
32 // Nothing to declare in this block.
33
34public:
35 msg_gate_impl(std::vector<std::string> keys,
36 std::vector<float> val_min,
37 std::vector<float> val_max);
39 void handle_msg(pmt::pmt_t msg);
40
41 std::vector<std::string> d_keys;
42 std::vector<float> d_val_max;
43 std::vector<float> d_val_min;
44
46};
47
48} // namespace radar
49} // namespace gr
50
51#endif /* INCLUDED_RADAR_MSG_GATE_IMPL_H */
Definition msg_gate_impl.h:30
void handle_msg(pmt::pmt_t msg)
std::vector< std::string > d_keys
Definition msg_gate_impl.h:41
std::vector< float > d_val_min
Definition msg_gate_impl.h:43
pmt::pmt_t d_port_id_in
Definition msg_gate_impl.h:45
msg_gate_impl(std::vector< std::string > keys, std::vector< float > val_min, std::vector< float > val_max)
pmt::pmt_t d_port_id_out
Definition msg_gate_impl.h:45
std::vector< float > d_val_max
Definition msg_gate_impl.h:42
This block blocks messages whose data is not in range of val_min to val_max. All parameters are given...
Definition msg_gate.h:45
Definition crop_matrix_vcvc.h:28