class ManagedSnapshot

Defined at line 28 of file ../../src/developer/forensics/crash_reports/snapshot.h

Allows for the data from a single FIDL fuchsia.feedback.Snapshot to be shared amongst many

clients and managed by the SnapshotStore. The SnapshotStore may drop the underlying data at

any point, however if a reference is held (gotten from LockArchive or by constructing with

StoreShared) the data will not be deleted until the last reference is deleted.

Public Methods

ManagedSnapshot StoreWeak (std::weak_ptr<const Archive> archive)

Defined at line 40 of file ../../src/developer/forensics/crash_reports/snapshot.cc

ManagedSnapshot StoreShared (std::shared_ptr<const Archive> archive)

Defined at line 44 of file ../../src/developer/forensics/crash_reports/snapshot.cc

std::shared_ptr<const Archive> LockArchive ()

Defined at line 52 of file ../../src/developer/forensics/crash_reports/snapshot.cc

Records