Original Post
Hi all,
Anyone happen to know how FMOD managed to create their API headers such that they have a series of externally facing class definitions with only public methods? No visible members, no use of virtual functions that I can tell, etc?
How did they manage to hide the implementation details without the use of virtual functions? Or did they just hide the virtual keyword in a clever way? There is a method to create the various objects they use, so they must be instantiating an inherited object somehow, but without using virtuals I don't see how they can override the base functionality.
Thanks in advance,
Graf
Anyone happen to know how FMOD managed to create their API headers such that they have a series of externally facing class definitions with only public methods? No visible members, no use of virtual functions that I can tell, etc?
How did they manage to hide the implementation details without the use of virtual functions? Or did they just hide the virtual keyword in a clever way? There is a method to create the various objects they use, so they must be instantiating an inherited object somehow, but without using virtuals I don't see how they can override the base functionality.
Thanks in advance,
Graf