gr::cdma::vector_insert2
gr::block
gr::cdma::vector_insert2_impl
vector_insert2.h
boost::shared_ptr< vector_insert2 > typedef boost::shared_ptr<vector_insert2> gr::cdma::vector_insert2::sptr sptr gr::cdma::vector_insert2::sptr
sptr static sptr gr::cdma::vector_insert2::make (const std::vector< gr_complex > data, int periodicity, int offset) make gr::cdma::vector_insert2::make const std::vector< gr_complex > data int periodicity int offset

Return a shared_ptr to a new instance of cdma::vector_insert2.

To avoid accidental use of raw pointers, cdma::vector_insert2's constructor is in a private implementation class. cdma::vector_insert2::make is the public interface for creating new instances.

data

the vector to be inserted

periodicity

the period of the input stream.

offset

the offset within the input stream that the vector will be inserted. Takes values in {0,...,`periodicity}`

Insert a specified (complex) vector periodically in the (complex) input stream.

For example, with data=(x,y), periodicity=3, and offset=1, the input and output streams will look like input: abcdefghijk... output: axybcdxyefgxyhijxyk...

gr::block
gr::cdma::vector_insert2
gr::cdma::vector_insert2_impl
gr::block
gr::cdma::vector_insert2
- gr::cdma::vector_insert2
  make
- gr::cdma::vector_insert2
  sptr