|
OSSIA
Open Scenario System for Interactive Application
|
The constant_curve class A curve that always return a same single value. More...
The constant_curve class A curve that always return a same single value.
It is useful if for instance one wants to automate on the first value of the following list :
[ 1, "a string", [ "another", 'c' ] ]
while keeping the rest of the list intact.
Public Member Functions | |
| constant_curve (ossia::value v) | |
| constant_curve (const constant_curve &)=delete | |
| constant_curve (constant_curve &&)=delete | |
| constant_curve & | operator= (const constant_curve &)=delete |
| constant_curve & | operator= (constant_curve &&)=delete |
| ossia::value | value () const |
| curve_type | get_type () const override |
| get the type of both coordinates | |
| void | reset () override |
| Clear internal data structures of the curve. | |
|
inlineoverridevirtual |
get the type of both coordinates
Implements ossia::curve_abstract.
|
inlineoverridevirtual |
Clear internal data structures of the curve.
Call before a new execution.
Implements ossia::curve_abstract.