All Classes Namespaces Functions Variables Enumerations Enumerator Modules Pages
Public Member Functions | List of all members
FactoryType::Constrainer Class Referenceabstract
Inheritance diagram for FactoryType::Constrainer:
NoGlobalEnvelopeConstrainer NoGlobalsConstrainer NoMidiInputConstrainer

Public Member Functions

virtual bool allowType (const Identifier &typeName)=0
 

Detailed Description

A Constrainer objects can impose restrictions on a particular FactoryType

If you want to restrict the selection of possible Processor types, you can subclass this, overwrite allowType with your custom rules and call setConstrainer() on the FactoryType you want to limit.

Member Function Documentation

virtual bool allowType ( const Identifier &  typeName)
pure virtual

Overwrite this and return true if the FactoryType can create this Processor and false, if not.

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