Nui
Public Member Functions | List of all members
Nui::Observed< void > Class Reference

#include <observed_value.hpp>

Inheritance diagram for Nui::Observed< void >:
Inheritance graph
[legend]
Collaboration diagram for Nui::Observed< void >:
Collaboration graph
[legend]

Public Member Functions

void modify () const
 
void modifyNow () const
 
 ObservedBase (CustomEventContextFlag_t, EventContext *ctx)
 
 ObservedBase (ObservedBase const &)=delete
 
 ObservedBase (ObservedBase &&other)
 
ObservedBaseoperator= (ObservedBase const &)=delete
 
ObservedBaseoperator= (ObservedBase &&other)
 
- Public Member Functions inherited from Nui::ObservedBase
 ObservedBase (CustomEventContextFlag_t, EventContext *ctx)
 
virtual ~ObservedBase ()=default
 
 ObservedBase (ObservedBase const &)=delete
 
 ObservedBase (ObservedBase &&other)
 
ObservedBaseoperator= (ObservedBase const &)=delete
 
ObservedBaseoperator= (ObservedBase &&other)
 
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. More...
 
virtual void update (bool=false) const
 
void updateNow (bool force=false) const
 

Additional Inherited Members

- Protected Attributes inherited from Nui::ObservedBase
EventContexteventContext_
 
std::vector< EventContext::EventIdTypeattachedEvents_
 
std::vector< EventContext::EventIdTypeattachedOneshotEvents_
 

Member Function Documentation

◆ modify()

void Nui::Observed< void >::modify ( ) const
inline

◆ modifyNow()

void Nui::Observed< void >::modifyNow ( ) const
inline

◆ ObservedBase() [1/3]

Nui::ObservedBase::ObservedBase
inlineexplicit

◆ ObservedBase() [2/3]

Nui::ObservedBase::ObservedBase
inline

◆ ObservedBase() [3/3]

Nui::ObservedBase::ObservedBase
delete

◆ operator=() [1/2]

ObservedBase& Nui::ObservedBase::operator=
inline

◆ operator=() [2/2]

ObservedBase& Nui::ObservedBase::operator=
delete

The documentation for this class was generated from the following file: