summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-07-23 06:06:28 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-08-03 23:05:08 +0300
commit960b1b2e879e2b876f1e7b92318a4161e7d0964d (patch)
tree08d7c9ff2caac537319d3ef5a114f0b1ecfba70c /src
parent6a8582dc20eedeba90431fa1ab1ba2ee432f5bbc (diff)
libcamera: base: class: Document Extensible::_d() functions
The Extensible::_d() functions are meant to be called by users of the class. Document them. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'src')
-rw-r--r--src/libcamera/base/class.cpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/libcamera/base/class.cpp b/src/libcamera/base/class.cpp
index 26b49677..d0899671 100644
--- a/src/libcamera/base/class.cpp
+++ b/src/libcamera/base/class.cpp
@@ -151,6 +151,23 @@ Extensible::Extensible(Extensible::Private *d)
}
/**
+ * \fn Extensible::_d() const
+ * \brief Retrieve the private data instance
+ *
+ * This template function isn't meant to be called directly. Instead, classes
+ * derived from Extensible get, through the LIBCAMERA_DECLARE_PRIVATE() macro,
+ * overriden _d() functions that return the correct pointer type to the
+ * corresponding derived Private class.
+ *
+ * \return A pointer to the private data instance
+ */
+
+/**
+ * \fn Extensible::_d()
+ * \copydoc Extensible::_d() const
+ */
+
+/**
* \var Extensible::d_
* \brief Pointer to the private data instance
*/