From c357c47be8a3f210f9eee9a05cc13f1051b036d3 Mon Sep 17 00:00:00 2001 From: Alex Gilday Date: Wed, 21 Mar 2018 13:54:09 +0000 Subject: COMPMID-1008: Fix Doxygen issues Change-Id: Ie73d8771f85d1f5b059f3a56f1bbd73c98e94a38 Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/124723 Reviewed-by: Michalis Spyrou Tested-by: Jenkins --- arm_compute/core/CL/ICLArray.h | 48 ++++++++++++++++++++++++++++++------------ 1 file changed, 34 insertions(+), 14 deletions(-) (limited to 'arm_compute/core/CL/ICLArray.h') diff --git a/arm_compute/core/CL/ICLArray.h b/arm_compute/core/CL/ICLArray.h index 6c3dbcd170..22fc7cf32e 100644 --- a/arm_compute/core/CL/ICLArray.h +++ b/arm_compute/core/CL/ICLArray.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016, 2017 ARM Limited. + * Copyright (c) 2016-2018 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -35,17 +35,26 @@ template class ICLArray : public IArray { public: - /* Constructor */ + /** Constructor + * + * @param[in] max_num_values Maximum size of the array. + * + */ explicit ICLArray(size_t max_num_values) : IArray(max_num_values), _mapping(nullptr) { } + /** Prevent instances of this class from being copy constructed */ ICLArray(const ICLArray &) = delete; + /** Prevent instances of this class from being copied */ ICLArray &operator=(const ICLArray &) = delete; - ICLArray(ICLArray &&) = default; + /** Allow instances of this class to be move constructed */ + ICLArray(ICLArray &&) = default; + /** Allow instances of this class to be moved */ ICLArray &operator=(ICLArray &&) = default; - virtual ~ICLArray() = default; + /** Default virtual destructor. */ + virtual ~ICLArray() = default; /** Interface to be implemented by the child class to return a reference to the OpenCL buffer containing the array's data. * * @return A reference to an OpenCL buffer containing the array's data. @@ -106,16 +115,27 @@ private: uint8_t *_mapping; }; -using ICLKeyPointArray = ICLArray; -using ICLCoordinates2DArray = ICLArray; +/** Interface for OpenCL Array of Key Points. */ +using ICLKeyPointArray = ICLArray; +/** Interface for OpenCL Array of 2D Coordinates. */ +using ICLCoordinates2DArray = ICLArray; +/** Interface for OpenCL Array of Detection Windows. */ using ICLDetectionWindowArray = ICLArray; -using ICLROIArray = ICLArray; -using ICLSize2DArray = ICLArray; -using ICLUInt8Array = ICLArray; -using ICLUInt16Array = ICLArray; -using ICLUInt32Array = ICLArray; -using ICLInt16Array = ICLArray; -using ICLInt32Array = ICLArray; -using ICLFloatArray = ICLArray; +/** Interface for OpenCL Array of ROIs. */ +using ICLROIArray = ICLArray; +/** Interface for OpenCL Array of 2D Sizes. */ +using ICLSize2DArray = ICLArray; +/** Interface for OpenCL Array of uint8s. */ +using ICLUInt8Array = ICLArray; +/** Interface for OpenCL Array of uint16s. */ +using ICLUInt16Array = ICLArray; +/** Interface for OpenCL Array of uint32s. */ +using ICLUInt32Array = ICLArray; +/** Interface for OpenCL Array of int16s. */ +using ICLInt16Array = ICLArray; +/** Interface for OpenCL Array of int32s. */ +using ICLInt32Array = ICLArray; +/** Interface for OpenCL Array of floats. */ +using ICLFloatArray = ICLArray; } #endif /*__ARM_COMPUTE_ICLARRAY_H__*/ -- cgit v1.2.1