Ardour
9.0-pre0-582-g084a23a80d
|
#include <transform.h>
Public Types | |
enum | Operator { PUSH , ADD , SUB , MULT , DIV , MOD } |
Public Member Functions | |
Operation (Operator o, const Value &a=Value()) | |
void | eval (Context &context) const |
Public Attributes | |
Operator | op |
Value | arg |
An operation to transform the running result.
All operations except PUSH take their arguments from the stack, and put the result back on the stack.
Definition at line 102 of file transform.h.
Enumerator | |
---|---|
PUSH | Push argument to the stack. |
ADD | Add top two values. |
SUB | Subtract top from second-top. |
MULT | Multiply top two values. |
DIV | Divide second-top by top. |
MOD | Modulus (division remainder) |
Definition at line 103 of file transform.h.
Definition at line 112 of file transform.h.
void ARDOUR::Transform::Operation::eval | ( | Context & | context | ) | const |
Apply operation.
Value ARDOUR::Transform::Operation::arg |
Definition at line 118 of file transform.h.
Operator ARDOUR::Transform::Operation::op |
Definition at line 117 of file transform.h.