How can I get start object of plugin from various objects?


Hi there,

I’m trying to port my standalone app to plugins. I want to access the start object of plugin(AudioProcessor?) from various objects with a simple method like JUCEApplication::getInstance() in Standalone app. How can I get the top object easily in plugin use? Should I pass the pointer to all classes? My standalone app is not simple, so it’s really nice if there is a function to access the start object.

I generated unique uuids for each instance in JvpluginsAudioProcessor - Constructor(). My purpose is to get the uuids on multiple plugins in order to identify which instance is itself.

This may be a newbie question, but it would be really helpful if someone could give me some advices. Thank you.