![]() |
Lumiera 0.pre.04~rc.1
»edit your freedom«
|
#include "lib/time/control-policy.hpp"
Policy to tie the various detail policies together for providing actual value change operations.
The standard case uses the (inherited) time::Mutation base implementation to impose a new value onto the target entity and then uses the Builder policy to create a notification value reflecting this change.
Definition at line 228 of file control-policy.hpp.
Static Public Member Functions | |
| template<class SRC > | |
| static TI | processValueChange (TAR &target, SRC const &change) |
| static TI | useLengthAsChange (TAR &target, TimeSpan const &change) |
| static TI | mutateLength (TimeSpan &target, Duration const &change) |
| static TimeSpan | mutateTimeSpan (TimeSpan &target, TimeSpan const &change) |
| static TI | dontChange (TAR &target) |
Static Public Member Functions inherited from Mutation | |
| static EncapsulatedMutation | changeTime (Time) |
| Convenience factory to yield a simple Mutation changing the absolute start time. | |
| static EncapsulatedMutation | changeDuration (Duration) |
| Convenience factory: simple Mutation to adjust the duration or length of a timespan. | |
| static EncapsulatedMutation | adjust (Offset) |
| Convenience factory: simple Mutation to adjust the duration or length of a timespan. | |
| static EncapsulatedMutation | materialise (QuTime const &) |
| Convenience factory: materialise the given quantised time into an explicit fixed internal time value, according to the underlying time grid; impose the resulting value then as new time point or start point to the target. | |
| static EncapsulatedMutation | nudge (int adjustment) |
| build a time mutation to nudge the target time value by an offset, defined as number of steps on an implicit nudge grid. | |
| static EncapsulatedMutation | nudge (int adjustment, Symbol gridID) |
| build a time mutation to nudge the target time value in steps based on a pre-defined grid. | |
Static Public Member Functions inherited from Builder< TI, TAR > | |
| static TI | buildChangedValue (TAR const &target) |
Additional Inherited Members | |
Public Member Functions inherited from Mutation | |
| virtual | ~Mutation () |
| virtual void | change (Duration &) const =0 |
| virtual void | change (TimeSpan &) const =0 |
| virtual void | change (QuTime &) const =0 |
Static Protected Member Functions inherited from Mutation | |
| static TimeValue & | imposeChange (TimeValue &, TimeValue const &) |
| static TimeValue & | imposeChange (TimeValue &, Offset const &) |
| static TimeValue & | imposeChange (TimeValue &, int) |
| static TimeValue & | imposeChange (QuTime &, int) |
|
inlinestatic |
| change | standard case: plain value change |
Definition at line 235 of file control-policy.hpp.
References Builder< TI, TAR >::buildChangedValue(), Mutation::change(), and Mutation::imposeChange().
Referenced by Link< TI, TAR >::useLengthAsChange().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 242 of file control-policy.hpp.
References Mutation::change(), and Link< TI, TAR >::processValueChange().
Here is the call graph for this function:
|
inlinestatic |
Definition at line 248 of file control-policy.hpp.
References Builder< TI, TAR >::buildChangedValue(), Mutation::change(), TimeSpan::duration(), and Mutation::imposeChange().
Here is the call graph for this function:
|
inlinestatic |
Definition at line 255 of file control-policy.hpp.
References Builder< TI, TAR >::buildChangedValue(), Mutation::change(), TimeSpan::duration(), Mutation::imposeChange(), and TimeSpan::start().
Here is the call graph for this function:
|
inlinestatic |
| target |
Definition at line 263 of file control-policy.hpp.
References Builder< TI, TAR >::buildChangedValue().
Here is the call graph for this function:
Inheritance diagram for Link< TI, TAR >:
Collaboration diagram for Link< TI, TAR >: