On 05.03.2014 22:44, Nowlan, Sean wrote:
Architects of gr_modtool… can you add an autogen comment in *.h
files reminding the user to declare pure virtual functions? I think
users who don’t deeply understand OO and particularly its C++ syntax
would benefit from this reminder. I think it’s a common paradigm to
use other examples to fill in the “guts” of gr_modtool generated C++
code, but things like this are easy to miss.
Disciples of gr_modtool…
When you create a block w/ modtool, it has zero public methods (except
for make(), which is arguably special, and gets auto-created in the
So if I put in a reminder, it will actually remind people before there’s
a reason to declare a function, which might confuse people.
Perhaps a more general instruction on how to add public methods would be
I’ll think about this.