SPAOP
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Member Functions | List of all members
wonderjuce::SpaopEditorComponent Class Referenceabstract

An abstract class for GUI subcomponents of the SpaopAudioProcessorEditor. More...

#include <SpaopEditorComponent.h>

Inheritance diagram for wonderjuce::SpaopEditorComponent:
Inheritance graph
[legend]
Collaboration diagram for wonderjuce::SpaopEditorComponent:
Collaboration graph
[legend]

Public Member Functions

 SpaopEditorComponent (SpaopAudioProcessor *ownerFilter)
 Constructor. More...
 
virtual ~SpaopEditorComponent ()
 Destructor. More...
 
virtual void update ()=0
 To be called by the main SpaopAudioProcessorEditor to make this component update its values to the currents state of the SpaopAudioProcessor. More...
 

Protected Member Functions

SpaopAudioProcessorgetProcessor () const
 Returns the SpaopAudioProcessor controlled by this editor component. More...
 

Detailed Description

An abstract class for GUI subcomponents of the SpaopAudioProcessorEditor.

This class can be used to group buttons, labels, textboxes etc into a component. It holds a pointer to the SpaopAudioProcessor.

A virtual method update() must be overriden. It shall be used to update the internal components (e.g. labels) to the state of the SpaopAudioProcessor and must be called from SpaopAudioProcessorEditor::timerCallback.

Constructor & Destructor Documentation

wonderjuce::SpaopEditorComponent::SpaopEditorComponent ( SpaopAudioProcessor ownerFilter)

Constructor.

wonderjuce::SpaopEditorComponent::~SpaopEditorComponent ( )
virtual

Destructor.

Member Function Documentation

SpaopAudioProcessor * wonderjuce::SpaopEditorComponent::getProcessor ( ) const
protected

Returns the SpaopAudioProcessor controlled by this editor component.

virtual void wonderjuce::SpaopEditorComponent::update ( )
pure virtual

To be called by the main SpaopAudioProcessorEditor to make this component update its values to the currents state of the SpaopAudioProcessor.

Implemented in ConnectionComponent.