diff options
Diffstat (limited to 'gr-blocks/lib/ctrlport_probe2_b_impl.h')
-rw-r--r-- | gr-blocks/lib/ctrlport_probe2_b_impl.h | 52 |
1 files changed, 27 insertions, 25 deletions
diff --git a/gr-blocks/lib/ctrlport_probe2_b_impl.h b/gr-blocks/lib/ctrlport_probe2_b_impl.h index 165f0d33db..8a5f7952c8 100644 --- a/gr-blocks/lib/ctrlport_probe2_b_impl.h +++ b/gr-blocks/lib/ctrlport_probe2_b_impl.h @@ -28,40 +28,42 @@ #include <gnuradio/rpcbufferedget.h> namespace gr { - namespace blocks { +namespace blocks { - class ctrlport_probe2_b_impl : public ctrlport_probe2_b - { - private: - std::string d_id; - std::string d_desc; - size_t d_len; - unsigned int d_disp_mask; +class ctrlport_probe2_b_impl : public ctrlport_probe2_b +{ +private: + std::string d_id; + std::string d_desc; + size_t d_len; + unsigned int d_disp_mask; - size_t d_index; - std::vector<signed char> d_buffer; - rpcbufferedget< std::vector<signed char> > buffered_get; + size_t d_index; + std::vector<signed char> d_buffer; + rpcbufferedget<std::vector<signed char>> buffered_get; - public: - ctrlport_probe2_b_impl(const std::string &id, const std::string &desc, - int len, unsigned int disp_mask); - ~ctrlport_probe2_b_impl(); +public: + ctrlport_probe2_b_impl(const std::string& id, + const std::string& desc, + int len, + unsigned int disp_mask); + ~ctrlport_probe2_b_impl(); - void setup_rpc(); + void setup_rpc(); - void forecast(int noutput_items, gr_vector_int &ninput_items_required); + void forecast(int noutput_items, gr_vector_int& ninput_items_required); - std::vector<signed char> get(); + std::vector<signed char> get(); - void set_length(int len); - int length() const; + void set_length(int len); + int length() const; - int work(int noutput_items, - gr_vector_const_void_star &input_items, - gr_vector_void_star &output_items); - }; + int work(int noutput_items, + gr_vector_const_void_star& input_items, + gr_vector_void_star& output_items); +}; - } /* namespace blocks */ +} /* namespace blocks */ } /* namespace gr */ #endif /* INCLUDED_CTRLPORT_PROBE2_C_IMPL_H */ |