blob: 7a7e5efc64944660da5dd80753498c7b45c2b3de [file] [log] [blame]
Sadik Armagan3896b472020-02-10 12:24:15 +00001//
2// Copyright © 2020 Arm Ltd. All rights reserved.
3// SPDX-License-Identifier: MIT
4//
5
6#pragma once
7
Cathal Corbett5aa9fd72022-02-25 15:33:28 +00008namespace arm
Sadik Armagan3896b472020-02-10 12:24:15 +00009{
10
Cathal Corbett5aa9fd72022-02-25 15:33:28 +000011namespace pipe
Sadik Armagan3896b472020-02-10 12:24:15 +000012{
13
14class IConsumer
15{
16public:
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
Cathal Corbett5aa9fd72022-02-25 15:33:28 +000023} // namespace pipe
Sadik Armagan3896b472020-02-10 12:24:15 +000024
Cathal Corbett5aa9fd72022-02-25 15:33:28 +000025} // namespace arm
Sadik Armagan3896b472020-02-10 12:24:15 +000026