howto_signal_adder_cc.h

#ifndef INCLUDED_HOWTO_SIGNAL_ADDER_CC_H
#define INCLUDED_HOWTO_SIGNAL_ADDER_CC_H

#include <gr_sync_block.h>

class howto_signal_adder_cc;
typedef boost::shared_ptr<howto_signal_adder_cc> howto_signal_adder_cc_sptr;

howto_signal_adder_cc_sptr
howto_make_signal_adder_cc (int vlen = 1);

class howto_signal_adder_cc : public gr_sync_block {
  friend howto_signal_adder_cc_sptr howto_make_signal_adder_cc (int vlen);
  std::vector<gr_complex>	d_data;
  int			d_vlen;
  howto_signal_adder_cc (int vlen); 

 public:
  virtual int work (int noutput_items,
		    gr_vector_const_void_star &input_items,
		    gr_vector_void_star &output_items);
};

#endif

最終更新:2011年06月21日 01:29