A Constrainer objects can impose restrictions on a particular FactoryType. More...
Public Member Functions | |
virtual bool | allowType (const Identifier &typeName)=0 |
Overwrite this and return true if the FactoryType can create this Processor and false, if not. More... | |
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.
|
pure virtual |
Overwrite this and return true if the FactoryType can create this Processor and false, if not.