/* -*- c++ -*- */ #ifndef INCLUDED_ACTIVECAT_INTEGER_SOURCE_IMPL_H #define INCLUDED_ACTIVECAT_INTEGER_SOURCE_IMPL_H #include namespace gr { namespace activecat { class integer_source_impl : public integer_source { private: const std::vector d_data; bool d_repeat; int d_times; int d_counter1, d_counter2; public: integer_source_impl(const std::vector &data, bool repeat, int times); ~integer_source_impl(); int work(int noutput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items); }; } // namespace activecat } // namespace gr #endif /* INCLUDED_ACTIVECAT_INTEGER_SOURCE_IMPL_H */