#include <observable.h>
Helper template reference class for implementation of observables.
ObservableClass | Can be either ObservableClass or ObservableRPCClass. |
DELEGATE | Delegate of the observable class defined in the MAXON_OBSERVABLE macro. Usually "Delegate" is appended to the observable name, e.g. ObservableMachineStateChangedDelegate. |
Public Member Functions | |
ObservableImplRef () | |
Public Member Functions inherited from ObservableRef< DELEGATE > | |
template<typename FN > | |
Result< FunctionBaseRef > | AddObserver (ObserverObjectInterface *observer, FN &&fn, Int priority=ADDOBSERVER_DEFAULTPRIORITY) const |
template<typename FN > | |
Result< FunctionBaseRef > | AddObserver (ObserverObjectInterface *observer, FN &&fn, const JobQueueRef &queue, Int priority=ADDOBSERVER_DEFAULTPRIORITY) const |
template<typename FN > | |
Result< FunctionBaseRef > | AddObserver (FN &&fn, Int priority=ADDOBSERVER_DEFAULTPRIORITY) const |
template<typename FN , typename = typename std::enable_if<!STD_IS_REPLACEMENT(convertible, typename std::decay<FN>::type, ObserverObjectInterface*)>::type> | |
Result< FunctionBaseRef > | AddObserver (FN &&fn, const JobQueueRef &queue, Int priority=ADDOBSERVER_DEFAULTPRIORITY) const |
Additional Inherited Members | |
Static Public Member Functions inherited from ObservableRef< DELEGATE > | |
static ObservableRef< DELEGATE > | NullValue () |
Default constructor, allocates the object.