mitteLib
|
#include <observable.hpp>
Public Types | |
using | read_value_type = typename observable_cref<T>::read_value_type |
using | read_observer_fn = typename observable<T>::read_observer_fn |
using | write_observer_fn = typename observable<T>::write_observer_fn |
Public Types inherited from mlab::observable_cref< T > | |
using | read_value_type = typename observable<T>::read_value_type |
Public Member Functions | |
observable_ref (observable< T > &ref) | |
observable_ref< T > & | operator= (T t) |
observe< T > | do_observe (read_observer_fn read_fn, write_observer_fn write_fn) |
Public Member Functions inherited from mlab::observable_cref< T > | |
observable_cref (observable< T > const &ref) | |
operator read_value_type () const | |
Friends | |
class | observe< T > |
Additional Inherited Members | |
Protected Attributes inherited from mlab::observable_cref< T > | |
observable< T > const & | _ref |
using mlab::observable_ref< T >::read_observer_fn = typename observable<T>::read_observer_fn |
using mlab::observable_ref< T >::read_value_type = typename observable_cref<T>::read_value_type |
using mlab::observable_ref< T >::write_observer_fn = typename observable<T>::write_observer_fn |
|
inlineexplicit |
|
nodiscard |
|
inline |
|
friend |