diff options
Diffstat (limited to 'samples/ObjectDetection/include/IFrameOutput.hpp')
-rw-r--r-- | samples/ObjectDetection/include/IFrameOutput.hpp | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/samples/ObjectDetection/include/IFrameOutput.hpp b/samples/ObjectDetection/include/IFrameOutput.hpp deleted file mode 100644 index c8b4fe5a47..0000000000 --- a/samples/ObjectDetection/include/IFrameOutput.hpp +++ /dev/null @@ -1,48 +0,0 @@ -// -// Copyright © 2020 Arm Ltd and Contributors. All rights reserved. -// SPDX-License-Identifier: MIT -// - -#pragma once - -#include <cstddef> -#include <memory> - -namespace od -{ -/** - * @brief Frames output interface - * - * @tparam FrameDataT frame container data type - */ - template<typename FrameDataT> class IFrameOutput - { - - public: - /** - * @brief Writes frame to the selected output - * - * @param frame container - */ - virtual void WriteFrame(std::shared_ptr <FrameDataT>& frame) = 0; - - /** - * @brief Closes the frame output - */ - virtual void Close() = 0; - - /** - * @brief Checks if the frame sink is ready to write. - * - * @return True if frame sink is ready, False otherwise - */ - virtual bool IsReady() const = 0; - - /** - * @brief Default destructor - */ - virtual ~IFrameOutput() = default; - - }; - -}// namespace od |