The resulting class can solve by itself:
You can completely override a method by implementing a virtual function. You can increase the method by calling the function of the "middle" classes at some point in your derived class method.
If this is not what you want, you need to explicitly set it in the "middle" class. I would not want to. If you want this, it probably means that you did not give the base class enough tuning points.
source
share