discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss-gnuradio] using virtual member functions


From: Mostafa Alizadeh
Subject: [Discuss-gnuradio] using virtual member functions
Date: Fri, 13 Mar 2015 16:45:50 +0330

Hello all, 

I'm about to use member functions of the abstract base class of qtgui classes to adjust visualization parameters such as "set_title", "set_line_label" etc. 

There is an explanation of virtual based classes in [1]. So it's possible to use pure virtual functions by the derived classes.

When we're in GNURadio, there is an abstract class and an implementation class which is derived from the abstract class. So I expect to be able of using the pure virtual functions declared in abstract class by having a pointer of the implementation class. However the members aren't accessible. What can I do to use them? 

Best,
Mostafa

[1] http://www.cplusplus.com/doc/tutorial/polymorphism/


reply via email to

[Prev in Thread] Current Thread [Next in Thread]