|
libcamera
v0.1.0
Supporting cameras in Linux since 2019
|
Utilities to help constructing class interfaces.
unique_ptr-like wrapper for a file descriptor
Definition: unique_fd.h:18
Synchronization primitive to manage resources.
Definition: fence.h:16
File descriptor wrapper that owns a file descriptor.
const UniqueFD & fd() const
Retrieve a constant reference to the file descriptor.
Definition: fence.h:21
Top-level libcamera namespace.
Definition: backtrace.h:17
UniqueFD release()
Release the ownership of the file descriptor.
Definition: fence.h:23
Fence(UniqueFD fd)
Create a Fence.
Definition: fence.cpp:82
#define LIBCAMERA_DISABLE_COPY_AND_MOVE(klass)
Disable copy and move construction and assignment of the klass.
bool isValid() const
Check if a Fence is valid.
Definition: fence.h:20
bool isValid() const
Check if the UniqueFD owns a valid file descriptor.
Definition: unique_fd.h:61