Advertisement
Guest User

Untitled

a guest
Mar 13th, 2022
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.89 KB | None | 0 0
  1. /* -*- c++ -*- */
  2. /*
  3. * Copyright 2022 by SiNK.
  4. *
  5. * SPDX-License-Identifier: GPL-3.0-or-later
  6. */
  7.  
  8. #ifndef INCLUDED_ANIME1_ADDING_FF_IMPL_H
  9. #define INCLUDED_ANIME1_ADDING_FF_IMPL_H
  10.  
  11. #include <ANIME1/adding_ff.h>
  12.  
  13. namespace gr {
  14. namespace ANIME1 {
  15.  
  16. class adding_ff_impl : public adding_ff
  17. {
  18. private:
  19. // Nothing to declare in this block.
  20. int d_C;
  21. public:
  22. adding_ff_impl(int constant0);
  23. ~adding_ff_impl();
  24.  
  25. // Where all the action really happens
  26. void forecast(int noutput_items, gr_vector_int& ninput_items_required);
  27. void set_constant0(int constant0);
  28. int general_work(int noutput_items,
  29. gr_vector_int& ninput_items,
  30. gr_vector_const_void_star& input_items,
  31. gr_vector_void_star& output_items);
  32. };
  33.  
  34. } // namespace ANIME1
  35. } // namespace gr
  36.  
  37. #endif /* INCLUDED_ANIME1_ADDING_FF_IMPL_H */
  38.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement