All Classes Namespaces Functions Variables Enumerations Enumerator Modules Pages
Public Member Functions | List of all members
Chain::Handler Class Referenceabstract
Inheritance diagram for Chain::Handler:
SafeChangeBroadcaster MidiProcessorChain::MidiProcessorChainHandler ModulatorChain::ModulatorChainHandler ModulatorSynthChain::ModulatorSynthChainHandler ModulatorSynthGroup::ModulatorSynthGroupHandler

Public Member Functions

virtual void add (Processor *newProcessor, Processor *siblingToInsertBefore)=0
virtual void remove (Processor *processorToBeRemoved)=0
virtual ProcessorgetProcessor (int processorIndex)=0
virtual void moveProcessor (Processor *, int)
virtual int getNumProcessors () const =0
virtual void clear ()=0
- Public Member Functions inherited from SafeChangeBroadcaster
void sendSynchronousChangeMessage ()
void addChangeListener (SafeChangeListener *listener)
void removeChangeListener (SafeChangeListener *listener)
void removeAllChangeListeners ()
void sendChangeMessage (const String &=String())
void sendAllocationFreeChangeMessage ()

Detailed Description

Subclass this, put it in your subclassed Chain and return a member object of the chain in Chain::getHandler().

Member Function Documentation

virtual void add ( Processor newProcessor,
Processor siblingToInsertBefore 
pure virtual

Adds a new processor to the chain. It must be owned by the chain.

Implemented in ModulatorSynthGroup::ModulatorSynthGroupHandler, and ModulatorSynthChain::ModulatorSynthChainHandler.

virtual void clear ( )
pure virtual

Deletes all Processors in the Chain.

virtual int getNumProcessors ( ) const
pure virtual
virtual Processor* getProcessor ( int  processorIndex)
pure virtual
virtual void moveProcessor ( Processor ,

Overwrite this method and implement a move operation.

virtual void remove ( Processor processorToBeRemoved)
pure virtual

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