MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
MayaFlux::ControlSlot Concept Reference

What ControlValueStore needs of the slot type it owns. More...

#include <ControlValueStore.hpp>

Concept definition

template<typename S>
concept MayaFlux::ControlSlot = requires(S slot, const S& other) {
{ slot.has_value() } -> std::convertible_to<bool>;
slot.assign(other);
slot.refresh();
slot.settle();
}
What ControlValueStore needs of the slot type it owns.

Detailed Description

What ControlValueStore needs of the slot type it owns.

A slot reports has_value, takes another slot's state with assign, can be settled and refreshed from a source. ControlValue, ControlSnapshot and anything derived from them qualify.

Definition at line 16 of file ControlValueStore.hpp.