GenericSimpleObservable Class Reference

#include <observablesimple.h>

Inheritance diagram for GenericSimpleObservable:

Protected Types

using Set = SubscriptionSet< StrongRef< DelegateBase > >
 

Protected Member Functions

Result< void > Init ()
 
Result< GenericDataAddListener (DelegateBase &&listener) const
 
Result< void > GetListeners (BaseArray< StrongRef< DelegateBase >> &listeners) const
 

Private Attributes

StrongRef< Set_listeners
 

Member Typedef Documentation

◆ Set

using Set = SubscriptionSet<StrongRef<DelegateBase> >
protected

Member Function Documentation

◆ Init()

Result<void> Init ( )
protected

◆ AddListener()

Result<GenericData> AddListener ( DelegateBase &&  listener) const
protected

◆ GetListeners()

Result<void> GetListeners ( BaseArray< StrongRef< DelegateBase >> &  listeners) const
protected

Member Data Documentation

◆ _listeners

StrongRef<Set> _listeners
private