|
|
| observable (observable const &other) noexcept |
| |
|
observable & | operator= (observable const &other) noexcept |
| |
|
| observable (value_type const &value) noexcept |
| |
|
observable & | operator= (value_type const &value) noexcept |
| |
|
observable & | operator+= (value_type const &value) noexcept |
| |
|
value_type | previous_value () const noexcept |
| |
| time_point | time_when_last_modified () const noexcept |
| | Time when the value was modified last.
|
| |
| duration | duration_since_last_modified () const noexcept |
| | Duration since the value was last modified.
|
| |
| float | animation_progress (duration animation_duration) const noexcept |
| | The relative time since the start of the animation.
|
| |
|
bool | animating (duration animation_duration) const noexcept |
| |
|
value_type | load () const noexcept |
| |
|
value_type | operator* () const noexcept |
| |
|
value_type | load (duration animation_duration) const noexcept |
| |
|
bool | store (value_type const &new_value) noexcept |
| |
|
template<typename Callback > |
| callback_ptr_type | subscribe (Callback &&callback) noexcept |
| |
|
void | subscribe_ptr (callback_ptr_type const &callback) noexcept |
| |
|
void | unsubscribe (callback_ptr_type const &callback_ptr) noexcept |
| |
◆ animation_progress()
The relative time since the start of the animation.
The relative time since the start of the animation according to the duration of the animation.
- Parameters
-
| animation_duration | The duration of the full animation. |
- Returns
- The relative animation progress between 0.0 and 1.0.
◆ duration_since_last_modified()
Duration since the value was last modified.
◆ time_when_last_modified()
Time when the value was modified last.
The documentation for this class was generated from the following file: