Process::AutomatableFactory Class Referenceabstract

Factory for processes that work like automations. More...

Inheritance diagram for Process::AutomatableFactory:
score::InterfaceBase

Detailed Description

Factory for processes that work like automations.

Can be used e.g. when dropping an address from the device explorer, to make a gradient if it's a color, a spline if it's a 2d parameter, etc...

Public Member Functions

virtual bool matches (const ossia::complex_type &t) const noexcept=0
 Is this type able to provide a curve type for the following ossia type.
 
virtual Process::ProcessModelFactoryget (const score::ApplicationContext &ctx) const noexcept=0
 Get the factory used.
 
virtual int count (const State::AddressAccessor &address, const ossia::value &start, const ossia::value &end) const noexcept=0
 Number of processes that should be created.
 
virtual std::vector< Process::ProcessModel * > make (const Process::ProcessModelFactory &factory, const score::DocumentContext &ctx, const State::AddressAccessor &address, const ossia::value &start, const ossia::value &end, const TimeVal &duration, const std::vector< Id< ProcessModel >> &id, QObject *parent) const noexcept=0
 Instantiate the actual processes.
 
- Public Member Functions inherited from score::InterfaceBase
virtual InterfaceKey interfaceKey () const noexcept=0
 Identifies an interface uniquely.
 

The documentation for this class was generated from the following files: