Skip to content

ludus::foundation::filesystem::WatchHandle

Ludus Wiki · API overview · Browse API

Struct

Identifies one registration in one watcher lifetime; retired handles cannot remove new paths.

Declared in modules/foundation/filesystem/include/ludus/foundation/filesystem/watch.hpp

#include <ludus/foundation/filesystem/watch.hpp>
struct ludus::foundation::filesystem::WatchHandle final

Fields

Owner

uint64 ludus::foundation::filesystem::WatchHandle::Owner = 0
Watcher lifetime identity; zero is invalid.

Related types: uint64

Declared in modules/foundation/filesystem/include/ludus/foundation/filesystem/watch.hpp

Sequence

uint64 ludus::foundation::filesystem::WatchHandle::Sequence = 0
Registration identity; zero is invalid.

Related types: uint64

Declared in modules/foundation/filesystem/include/ludus/foundation/filesystem/watch.hpp

Slot

usize ludus::foundation::filesystem::WatchHandle::Slot = 0
Bounded storage slot, not a persistent catalog identifier.

Related types: usize

Declared in modules/foundation/filesystem/include/ludus/foundation/filesystem/watch.hpp

Methods

operator==

bool ludus::foundation::filesystem::WatchHandle::operator==(const WatchHandle &) const noexcept=default
Compares registration identity.

Related types: WatchHandle

Declared in modules/foundation/filesystem/include/ludus/foundation/filesystem/watch.hpp