Lumiera  0.pre.03
»edit your freedom«
NaturalNudgeMutation Class Reference

Description

concrete time value mutation: nudge based on a implicit grid, which is either a quantised target value's own grid, or a natural grid.

Note
currently the natural grid is hard wired, just interpreting the step parameter as offset in seconds.
See also
mutation::imposeChange (TimeValue, int)
mutation::imposeChange (QuTime, int)

Definition at line 246 of file mutation.cpp.

Public Member Functions

 NaturalNudgeMutation (int relativeSteps)
 
- Public Member Functions inherited from CloneValueSupport< BA >
virtual void cloneInto (void *targetBuffer) const =0
 

Private Member Functions

virtual void change (Duration &target) const
 
virtual void change (TimeSpan &target) const
 
virtual void change (QuTime &target) const
 

Private Attributes

int steps_
 

Member Function Documentation

◆ change()

virtual void change ( QuTime target) const
inlineprivatevirtual
Note
special treatment: use the quantised time's own grid

Definition at line 267 of file mutation.cpp.

References Mutation::imposeChange().

+ Here is the call graph for this function:
+ Inheritance diagram for NaturalNudgeMutation:
+ Collaboration diagram for NaturalNudgeMutation:

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