Question
Why are ModelListener::model and Model::modelListener data members declared protected rather than private?
I notice that both ModelListener::model and Model::modelListener data members are declared protected rather than private.
This would indicate the provision for inheriting from ModelListener and/or Model.
Under what circumstances might one want to do that and more importantly, how would that work in terms of memory allocation?
ie how would one organise for TouchGFX to allocate the derived class instances?