I am currently using a C++ library (live555) to which I have added my own subclass, and this work is my first experience with C++.
I need to get access to a pointer that is a private pointer in the parent class. Because I am using an exisiting library I am trying to limit my changes to the library to the extent I am able (hence making it protected is something I want to avoid).
Any input on how to get access to the private pointer variable? Create a
getPointer() const; type method? Is there any other way I can possibly get access to the variable when I am working on an instance of a subclass?
Thanks for any input!