Public Member Functions | List of all members
Chain::Handler Class Referenceabstract

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

Inheritance diagram for Chain::Handler:
ModulatorChain::ModulatorChainHandler ModulatorSynthChain::ModulatorSynthChainHandler ModulatorSynthGroup::ModulatorSynthGroupHandler

Public Member Functions

virtual void add (Processor *newProcessor, Processor *siblingToInsertBefore)=0
 Adds a new processor to the chain. More...
 
virtual void clear ()=0
 Deletes all Processors in the Chain. More...
 
virtual int getNumProcessors () const =0
 Returns the amount of processors. More...
 
virtual ProcessorgetProcessor (int processorIndex)=0
 Returns the processor at the index. More...
 
virtual void moveProcessor (Processor *, int)
 Overwrite this method and implement a move operation. More...
 
virtual void remove (Processor *processorToBeRemoved, bool deleteProcessor=true)=0
 Deletes a processor from the chain. More...
 

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 ,
int   
)
inlinevirtual

Overwrite this method and implement a move operation.

virtual void remove ( Processor processorToBeRemoved,
bool  deleteProcessor = true 
)
pure virtual

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