10 #include <libcamera/base/class.h> 26 LIBCAMERA_DISABLE_COPY_AND_MOVE(
Fence)
UniqueFD release()
Release the ownership of the file descriptor.
Definition: fence.h:23
Synchronization primitive to manage resources.
Definition: fence.h:15
File descriptor wrapper that owns a file descriptor.
Top-level libcamera namespace.
Definition: bound_method.h:15
Fence(UniqueFD fd)
Create a Fence.
Definition: fence.cpp:82
unique_ptr-like wrapper for a file descriptor
Definition: unique_fd.h:17
const UniqueFD & fd() const
Retrieve a constant reference to the file descriptor.
Definition: fence.h:21
bool isValid() const
Check if the UniqueFD owns a valid file descriptor.
Definition: unique_fd.h:61
bool isValid() const
Check if a Fence is valid.
Definition: fence.h:20