cancel
Showing results for 
Search instead for 
Did you mean: 

Touchgfx - virtual methods in the "final" Screen class

Panchev68
Senior

Hello, I need to use Touchgfx on a small CPU and I'm optimizing my code accordingly. However, in the code that Touchgfx Designer generates, I noticed something that I don't understand:
The Screen classes inherit from the ScreenBase classes.
The Screen classes are actually final, but they have virtual functions, which makes the compiler generate virtual tables for them. The same goes for the Listener classes. Does anyone have any ideas on this?
Best regards

0 REPLIES 0