Ditto 4.13.0
Loading...
Searching...
No Matches
ditto::AttachmentFetcher Class Reference

These objects are returned by calls to Store::fetch_attachment. More...

Inheritance diagram for ditto::AttachmentFetcher:
ditto::Observer

Public Member Functions

 AttachmentFetcher (AttachmentFetcher &&)
AttachmentFetcheroperator= (AttachmentFetcher &&)
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.
std::shared_ptr< std::mutex > stopped_mutex
 Mutex that should be held when reading or modifying stopped

Detailed Description

These objects are returned by calls to Store::fetch_attachment.