howto_correlation_sink_c.h

「howto_correlation_sink_c.h」の編集履歴(バックアップ)一覧はこちら

howto_correlation_sink_c.h」(2011/06/20 (月) 23:59:21) の最新版変更点

追加された行は緑色になります。

削除された行は赤色になります。

#ifndef INCLUDED_HOWTO_CORRELATION_SINK_C_H #define INCLUDED_HOWTO_CORRELATION_SINK_C_H #include <gr_sync_decimator.h> class howto_correlation_sink_c; typedef boost::shared_ptr<howto_correlation_sink_c> howto_correlation_sink_c_sptr; howto_correlation_sink_c_sptr howto_make_correlation_sink_c (unsigned decimation, int vlen = 1); /*! * \brief gr_complex sink that writes to a vector * \ingroup sink_blk */ class howto_correlation_sink_c : public gr_sync_decimator { friend howto_correlation_sink_c_sptr howto_make_correlation_sink_c (unsigned decimation, int vlen); std::vector<gr_complex> d_data; int d_vlen; howto_correlation_sink_c (unsigned decimation, int vlen); public: virtual int work (int noutput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items); void reset() {d_data.clear();} void clear() {reset(); } // deprecated std::vector<gr_complex> data () const; }; #endif ----

表示オプション

横に並べて表示:
変化行の前後のみ表示: