View Single Post
Old 03-01-2017, 09:25 AM   #19
Nowhk
Human being with feelings
 
Join Date: Mar 2016
Posts: 234
Default

Quote:
Originally Posted by gstuff View Post
Because in the constructor of your plugin class you increment a static member variable and save the value in a member variable. So each instance gets a unique index number based on total number of instances.
Yes sir, but every kind of class within my plugin (Filter? Envelope? Voice?) need to know about my "plugin class". Thus, I need to pass it as reference (to every component). Which is what I don't want
Nowhk is offline   Reply With Quote