Ditto 4.7.4
Loading...
Searching...
No Matches
ditto::LiveQuery Class Reference

The type that is returned when calling observe_local. It handles the logic for calling the event handler that is provided to the observe_local call. More...

#include <LiveQuery.hpp>

Inheritance diagram for ditto::LiveQuery:
ditto::Observer

Classes

struct  ArcCtx
 

Public Member Functions

 LiveQuery (LiveQuery &&)
 
LiveQueryoperator= (LiveQuery &&)
 
- Public Member Functions inherited from ditto::Observer
void stop ()
 Stops the observation and cleans up all associated resources.
 
bool is_stopped ()
 Returns true is the Observer was stopped.
 

Additional Inherited Members

- Protected Member Functions inherited from ditto::Observer
 Observer ()
 Constructs a new Observer.
 
 ~Observer ()
 Destroy the Abstract Observer object canceling the observer if it hasn't been done in stop
 
- Protected Attributes inherited from ditto::Observer
bool stopped
 Track if the Observer has already been stopped so we don't stop it twice when destroying the object.
 

Detailed Description

The type that is returned when calling observe_local. It handles the logic for calling the event handler that is provided to the observe_local call.

These objects must be kept in scope for as long as you wish to keep receiving updates about the associated query.