diff options
Diffstat (limited to 'profiling/client/src/IConsumer.hpp')
-rw-r--r-- | profiling/client/src/IConsumer.hpp | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/profiling/client/src/IConsumer.hpp b/profiling/client/src/IConsumer.hpp new file mode 100644 index 0000000000..7a7e5efc64 --- /dev/null +++ b/profiling/client/src/IConsumer.hpp @@ -0,0 +1,26 @@ +// +// Copyright © 2020 Arm Ltd. All rights reserved. +// SPDX-License-Identifier: MIT +// + +#pragma once + +namespace arm +{ + +namespace pipe +{ + +class IConsumer +{ +public: + virtual ~IConsumer() {} + + /// Set a "ready to read" flag in the buffer to notify the reading thread to start reading it. + virtual void SetReadyToRead() = 0; +}; + +} // namespace pipe + +} // namespace arm + |