mitteLib
|
#include <observable.hpp>
Public Member Functions | |
observe ()=default | |
observe (observe const &)=delete | |
observe (observe &&other) noexcept | |
observe & | operator= (observe const &)=delete |
observe & | operator= (observe &&other) noexcept |
~observe () | |
void | deregister () |
observe (observable< T > &obs_value, typename observable< T >::read_observer_fn read_fn, typename observable< T >::write_observer_fn write_fn) | |
observe (observable_ref< T > &obs_value_ref, typename observable< T >::read_observer_fn read_fn, typename observable< T >::write_observer_fn write_fn) | |
Private Attributes | |
observable< T > * | _obs_value = nullptr |
std::size_t | _idx = std::numeric_limits<std::size_t>::max() |
|
default |
|
delete |
|
noexcept |
mlab::observe< T >::~observe | ( | ) |
mlab::observe< T >::observe | ( | observable< T > & | obs_value, |
typename observable< T >::read_observer_fn | read_fn, | ||
typename observable< T >::write_observer_fn | write_fn ) |
mlab::observe< T >::observe | ( | observable_ref< T > & | obs_value_ref, |
typename observable< T >::read_observer_fn | read_fn, | ||
typename observable< T >::write_observer_fn | write_fn ) |
void mlab::observe< T >::deregister | ( | ) |
|
noexcept |
|
delete |
|
private |
|
private |