1 // 2 // Copyright © 2020 Arm Ltd. All rights reserved. 3 // SPDX-License-Identifier: MIT 4 // 5 6 #pragma once 7 8 namespace arm 9 { 10 11 namespace pipe 12 { 13 14 class IConsumer 15 { 16 public: ~IConsumer()17 virtual ~IConsumer() {} 18 19 /// Set a "ready to read" flag in the buffer to notify the reading thread to start reading it. 20 virtual void SetReadyToRead() = 0; 21 }; 22 23 } // namespace pipe 24 25 } // namespace arm 26 27