Ditto 4.8.0-rc.2
|
An observation token returned by any observation API in the Ditto SDK. Retain this object to continue receiving updates. More...
#include <Observer.hpp>
Public Member Functions | |
void | stop () |
Stops the observation and cleans up all associated resources. | |
bool | is_stopped () |
Returns true is the Observer was stopped. | |
Protected Member Functions | |
Observer () | |
Constructs a new Observer . | |
~Observer () | |
Destroy the Abstract Observer object canceling the observer if it hasn't been done in stop | |
Protected Attributes | |
bool | stopped |
Track if the Observer has already been stopped so we don't stop it twice when destroying the object. | |
An observation token returned by any observation API in the Ditto SDK. Retain this object to continue receiving updates.