|
| | ModifiableObserved () |
| |
| | ModifiableObserved (const ModifiableObserved &)=delete |
| |
| | ModifiableObserved (ModifiableObserved &&other) noexcept |
| |
| ModifiableObserved & | operator= (const ModifiableObserved &)=delete |
| |
| ModifiableObserved & | operator= (ModifiableObserved &&other) noexcept |
| |
| ModifiableObserved & | operator= (ContainedT const &contained) |
| |
| ModifiableObserved & | operator= (ContainedT &&contained) |
| |
| | ~ModifiableObserved () override=default |
| |
template<typename T = ContainedT>
requires std::is_constructible_v<ContainedT, T> |
| | ModifiableObserved (T &&t) |
| |
| | ModifiableObserved (CustomEventContextFlag_t, EventContext *ctx) |
| |
template<typename T = ContainedT>
requires std::is_constructible_v<ContainedT, T> |
| | ModifiableObserved (CustomEventContextFlag_t, EventContext *ctx, T &&t) |
| |
| template<typename T = ContainedT> |
| ModifiableObserved & | operator= (T &&t) |
| | Assign a completely new value.
|
| |
template<typename T = ContainedT, typename U >
requires PlusAssignable<T, U> |
| ModifiableObserved< T > & | operator+= (U const &rhs) |
| |
template<typename T = ContainedT, typename U >
requires MinusAssignable<T, U> |
| ModifiableObserved< T > & | operator-= (U const &rhs) |
| |
template<typename T = ContainedT>
requires std::equality_comparable_with<ContainedT, T> && Fundamental<T> && Fundamental<ContainedT> |
| ModifiableObserved & | operator= (T &&t) |
| |
template<typename T = ContainedT>
requires std::equality_comparable_with<ContainedT, T> |
| ModifiableObserved & | assignChecked (T &&other) |
| |
| ModificationProxy | modify () |
| | Can be used to make mutations to the underlying class that get commited when the returned proxy is destroyed.
|
| |
| ModificationProxy | modifyNow () |
| |
| | operator bool () const |
| |
| ContainedT & | value () |
| |
| ContainedT const & | value () const |
| |
| ContainedT & | operator* () |
| |
| ContainedT const & | operator* () const |
| |
| ContainedT * | operator-> () |
| |
| ContainedT const * | operator-> () const |
| |
template<typename T >
requires std::constructible_from<ContainedT, T> |
| void | assignWithoutUpdate (T &&t) |
| | Sets the value without making an update.
|
| |
| | ObservedBase (CustomEventContextFlag_t, EventContext *ctx) |
| |
| virtual | ~ObservedBase ()=default |
| |
| | ObservedBase (ObservedBase const &)=delete |
| |
| | ObservedBase (ObservedBase &&other) noexcept |
| |
| ObservedBase & | operator= (ObservedBase const &)=delete |
| |
| ObservedBase & | operator= (ObservedBase &&other) noexcept |
| |
| void | attachEvent (EventContext::EventIdType eventId) const |
| |
| void | attachOneshotEvent (EventContext::EventIdType eventId) const |
| |
| void | detachEvent (EventContext::EventIdType eventId) const |
| |
| std::size_t | attachedEventCount () const |
| |
| std::size_t | attachedOneshotEventCount () const |
| |
| std::size_t | totalAttachedEventCount () const |
| |
| void | detachAllEvents () |
| | You should never need to do this.
|
| |
| virtual void | update (bool=false) const |
| |
| void | updateNow (bool force=false) const |
| |