Public Member Functions | Protected Member Functions | List of all members
SamplerSubEditor Class Referenceabstract

A base class for all sample editing components. More...

Inheritance diagram for SamplerSubEditor:
SamplerTable SamplerSoundTable SamplerTable

Public Member Functions

void selectSounds (const SampleSelection &selection)
 Call this whenever the selection changes and you want to update the other editors. More...
 
virtual void updateInterface ()=0
 Overwrite this and call the method that updates the interface. More...
 

Protected Member Functions

virtual void soundsSelected (const SampleSelection &selectedSounds)=0
 This is called whenever one of the other subeditors (or itself) called selectSounds(). More...
 

Detailed Description

A base class for all sample editing components.

It offers a synchronous callback system for selecting sounds with recursive protection.

Member Function Documentation

void selectSounds ( const SampleSelection &  selection)

Call this whenever the selection changes and you want to update the other editors.

virtual void soundsSelected ( const SampleSelection &  selectedSounds)
protectedpure virtual

This is called whenever one of the other subeditors (or itself) called selectSounds().

Make sure you update the interface to select the new sounds here. Calls to selectSounds are legal, as they do not trigger the callback again.

virtual void updateInterface ( )
pure virtual

Overwrite this and call the method that updates the interface.

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