blob: af76a25c565b3307d9d9f462429a338009120c3c [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
8#include "IProfilingConnection.hpp"
9
Cathal Corbett5aa9fd72022-02-25 15:33:28 +000010namespace arm
Sadik Armagan3896b472020-02-10 12:24:15 +000011{
12
Cathal Corbett5aa9fd72022-02-25 15:33:28 +000013namespace pipe
Sadik Armagan3896b472020-02-10 12:24:15 +000014{
15
16class ISendThread
17{
18public:
19 virtual ~ISendThread() {}
20
21 /// Start the thread
22 virtual void Start(IProfilingConnection& profilingConnection) = 0;
23
24 /// Stop the thread
25 virtual void Stop(bool rethrowSendThreadExceptions = true) = 0;
26};
27
Cathal Corbett5aa9fd72022-02-25 15:33:28 +000028} // namespace pipe
Sadik Armagan3896b472020-02-10 12:24:15 +000029
Cathal Corbett5aa9fd72022-02-25 15:33:28 +000030} // namespace arm
Sadik Armagan3896b472020-02-10 12:24:15 +000031