ControlledObject
A base class for all objects that need access to a MainController
.
If you want to have access to the main controller object, derive the class from this object and pass a pointer to the MainController
instance in the constructor.
Class Hierarchy
Derived Classes
hise::raw::UIConnection::Base< juce::Button, bool >
hise::raw::UIConnection::Base< juce::ComboBox, var >
hise::raw::UIConnection::Base< juce::Slider, float >
hise::FileHandlerBase
hise::InteractiveEditor
hise::JavascriptThreadPool
hise::MarkdownPreviewPanel::PooledImageProvider
hise::MarkdownPreviewPanel::ProjectLinkResolver
hise::MidiControllerAutomationHandler::MPEData
- hise::PoolBase
hise::PoolCollection
- hise::Processor
- hise::raw::DataHolderBase
- hise::raw::PluginParameter< FunctionType >
- hise::raw::Pool
- hise::raw::Reference< ProcessorType >
hise::raw::SuspendableAsyncUpdater
hise::raw::UIConnection::Base< ComponentType, ValueType >
hise::SampleDataExporter
hise::ScopedSoftBypassDisabler
hise::ScriptCreatedComponentWrapper::ValuePopup::Properties
hise::ScriptingObjects::TimerObject
- hise::raw::Reference< hise::Processor >
scriptnode::NodeBase::HelpManager
Class methods
ControlledObject
ControlledObject(MainController *m, bool notifyOnShutdown=false)
Creates a new ControlledObject. The MainController
must be supplied.
mainControllerIsDeleted
void mainControllerIsDeleted()
Overwrite this and make sure that it stops accessing the main controller.
getMainController
const MainController * getMainController() const noexcept
Provides read-only access to the main controller.
getMainController
MainController * getMainController() noexcept
Provides write access to the main controller. Use this if you want to make changes.