OpenCV453
bufferpool.hpp
1// This file is part of OpenCV project.
2// It is subject to the license terms in the LICENSE file found in the top-level directory
3// of this distribution and at http://opencv.org/license.html.
4//
5// Copyright (C) 2014, Advanced Micro Devices, Inc., all rights reserved.
6
7#ifndef OPENCV_CORE_BUFFER_POOL_HPP
8#define OPENCV_CORE_BUFFER_POOL_HPP
9
10#ifdef _MSC_VER
11#pragma warning(push)
12#pragma warning(disable: 4265)
13#endif
14
15namespace cv
16{
17
20
22{
23protected:
25public:
26 virtual size_t getReservedSize() const = 0;
27 virtual size_t getMaxReservedSize() const = 0;
28 virtual void setMaxReservedSize(size_t size) = 0;
29 virtual void freeAllReservedBuffers() = 0;
30};
31
33
34}
35
36#ifdef _MSC_VER
37#pragma warning(pop)
38#endif
39
40#endif // OPENCV_CORE_BUFFER_POOL_HPP
Definition: bufferpool.hpp:22
"black box" representation of the file storage associated with a file on disk.
Definition: aruco.hpp:75