Public Member Functions | List of all members
ControlledObject Class Reference

A base class for all objects that need access to a MainController. More...

Inheritance diagram for ControlledObject:
UIConnection::Base< juce::Button, bool > UIConnection::Base< juce::ComboBox, var > UIConnection::Base< juce::Slider, float > FileHandlerBase ModulatorSamplerSound PoolBase Processor PluginParameter< FunctionType > Pool Reference< ProcessorType > UIConnection::Base< ComponentType, ValueType > Reference< hise::Processor >

Public Member Functions

 ControlledObject (MainController *m)
 Creates a new ControlledObject. More...
 
const MainControllergetMainController () const noexcept
 Provides read-only access to the main controller. More...
 
MainControllergetMainController () noexcept
 Provides write access to the main controller. More...
 

Detailed Description

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.

Constructor & Destructor Documentation

Creates a new ControlledObject.

The MainController must be supplied.

Member Function Documentation

const MainController* getMainController ( ) const
inlinenoexcept

Provides read-only access to the main controller.

MainController* getMainController ( )
inlinenoexcept

Provides write access to the main controller.

Use this if you want to make changes.

©2017 HISE. This documentation is autogenerated from the HISE source code using Doxygen.