Observables maintains a list of Subscriptions that get notified upon any change to the source value.
Constructors
Modifier | Name | Description |
---|
| Observable<A>() | |
Destructors
Modifier | Name | Description |
---|
| ~Observable() | |
Functions
Access | Modifier | Type | Name | Description |
---|
public | | Subscriptions<A>* | subscribe(std::function<void (A)> inNext, std::function<void (const std::string&)> inError, std::function<void ()> inComplete) | |
public | | void | next(const A& inData) | |
public | | void | error(const std::string& inMessage) | |
public | | void | complete() | |
Properties
Access | Modifier | Type | Name | Description |
---|
private | | std::vector<std::unique_ptr<Subscriptions<A>>> | m_subscriptions | |