Unsolved HISE Object-Oriented Programming Tutorial/Code Example?
-
After a suggestion by the wise and powerful @Lindon, I explored refactoring a plugin to implement a quasi-OO schema. Polymorphism, Constructors, Destructors, Operator Overloading, Public and Private Methods, and such.
I'd love to share this (if only to be corrected at how I'm doing bad things), but there's an aspect of polymorphism I'm still grasping at—identifying HISE objects. (For example, ID'ing every type of processor.)
I know there are some special cases for this, but I'm looking for a generalized solution across HISE. Something like "instanceof", "typeid" or such. Likewise, to be able to traverse up or down the inheritance tree.
Is there such a thing, or a technique?
Thanks.
-
@clevername27 it sounds like you have gone waaaay beyond my level of expertise.....well done, I must be more careful what i suggest in future...
-
@Lindon …or, I've done something really dumb.