Class ViewAttachment

Class Documentation

class ViewAttachment

Declaration: final

Owns an immediate required watch.

Reset acknowledges invalidation and waits for an entered callback, except when called by that callback itself. Callback captures survive entry; no callback is made during destruction.

Public Functions

ViewAttachment() = default
~ViewAttachment()
ViewAttachment(ViewAttachment&&) noexcept
ViewAttachment &operator=(ViewAttachment&&) noexcept
ViewAttachment(const ViewAttachment&) = delete
ViewAttachment &operator=(const ViewAttachment&) = delete
void reset() noexcept
bool attached() const noexcept

Declaration: [[nodiscard]]