Public Member Functions | List of all members
ModulatorChain::ModulatorChainHandler Class Reference

This class handles the Modulators within the specified ModulatorChain. More...

Inheritance diagram for ModulatorChain::ModulatorChainHandler:
Chain::Handler

Public Member Functions

void addModulator (Modulator *newModulator, Processor *siblingToInsertBefore)
 adds a Modulator to the chain. More...
 
void deleteModulator (Modulator *modulatorToBeDeleted, bool deleteMod)
 Deletes the Modulator. More...
 
ModulatorgetModulator (int modIndex) const
 Returns the modulator at the specified index. More...
 
int getNumModulators () const
 Returns the number of modulators in the chain. More...
 
 ModulatorChainHandler (ModulatorChain *handledChain)
 Creates a Chain::Handler. More...
 
- Public Member Functions inherited from Chain::Handler
virtual void moveProcessor (Processor *, int)
 Overwrite this method and implement a move operation. More...
 

Detailed Description

This class handles the Modulators within the specified ModulatorChain.

You can get the handler for each Modulator with ModulatorChain::getHandler().

Constructor & Destructor Documentation

Creates a Chain::Handler.

Member Function Documentation

void addModulator ( Modulator newModulator,
Processor siblingToInsertBefore 
)

adds a Modulator to the chain.

You simply pass the reference to the newly created Modulator, and the function detects the correct type and adds it to the specific chain (constant, variant or envelope).

If you call this method after the ModulatorChain is initialized, the Modulator's prepareToPlay will be called.

void deleteModulator ( Modulator modulatorToBeDeleted,
bool  deleteMod 
)

Deletes the Modulator.

Modulator* getModulator ( int  modIndex) const
inline

Returns the modulator at the specified index.

int getNumModulators ( ) const
inline

Returns the number of modulators in the chain.

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