How to "declare_sample_delay" in C++?

Hi list,

I am doing some (polyphase) decimation with GNURadio in C++. I
my filters, I wrote some wrapper, and my script compiles perfectly.
However, I am a bit unclear about “declare_sample_delay”.

Assume that I have the block: pfb_decimator_ccf_0_5. To set the sample
delay for this block to 0, in python, one uses:


What is the proper way to do the same command in C++?

Thanks in advance.

Best wishes,

Not sure what you’re asking, the command is wrapped from C++ to Python,
and hence the same in both domains (see also
GNU Radio Manual and C++ API Reference: gr::block Class Reference).

Also, 0 is the default.