|
Nui
|
#include <observed_value.hpp>


Public Member Functions | |
| Observed & | operator= (T const &contained) |
| Observed & | operator= (T &&contained) |
Public Member Functions inherited from Nui::ModifiableObserved< T > | |
| ModifiableObserved () | |
| ModifiableObserved (const ModifiableObserved &)=delete | |
| ModifiableObserved (ModifiableObserved &&other) noexcept | |
| ModifiableObserved (T &&t) | |
| ModifiableObserved (CustomEventContextFlag_t, EventContext *ctx) | |
| ModifiableObserved (CustomEventContextFlag_t, EventContext *ctx, T &&t) | |
| ModifiableObserved & | operator= (const ModifiableObserved &)=delete |
| ModifiableObserved & | operator= (ModifiableObserved &&other) noexcept |
| ModifiableObserved & | operator= (T const &contained) |
| ModifiableObserved & | operator= (T &&contained) |
| ModifiableObserved & | operator= (T &&t) |
| Assign a completely new value. | |
| ModifiableObserved & | operator= (T &&t) |
| ~ModifiableObserved () override=default | |
| ModifiableObserved< T > & | operator+= (U const &rhs) |
| ModifiableObserved< T > & | operator-= (U const &rhs) |
| 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 | |
| T & | value () |
| T const & | value () const |
| T & | operator* () |
| T const & | operator* () const |
| T * | operator-> () |
| T const * | operator-> () const |
| void | assignWithoutUpdate (T &&t) |
| Sets the value without making an update. | |
Public Member Functions inherited from Nui::ObservedBase | |
| 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 |
Additional Inherited Members | |
Public Types inherited from Nui::ModifiableObserved< T > | |
| using | value_type = T |
Protected Attributes inherited from Nui::ModifiableObserved< T > | |
| T | contained_ |
Protected Attributes inherited from Nui::ObservedBase | |
| EventContext * | eventContext_ |
| std::vector< EventContext::EventIdType > | attachedEvents_ |
| std::vector< EventContext::EventIdType > | attachedOneshotEvents_ |
|
inline |
|
inline |