blob: f61495e5c36faa03b62263c1ce9450c8a13f7085 [file] [log] [blame]
Sadik Armaganb5f01b22019-09-18 17:29:00 +01001//
2// Copyright © 2019 Arm Ltd. All rights reserved.
3// SPDX-License-Identifier: MIT
4//
5
6#pragma once
7
8#include "CommandHandlerFunctor.hpp"
9#include "Packet.hpp"
10#include "ProfilingStateMachine.hpp"
11
12namespace armnn
13{
14
15namespace profiling
16{
17
18class ConnectionAcknowledgedCommandHandler : public CommandHandlerFunctor
19{
20
21public:
22 ConnectionAcknowledgedCommandHandler(uint32_t packetId,
23 uint32_t version,
24 ProfilingStateMachine& profilingStateMachine)
25 : CommandHandlerFunctor(packetId, version), m_StateMachine(profilingStateMachine) {}
26
27 void operator()(const Packet& packet) override;
28
29private:
30 ProfilingStateMachine& m_StateMachine;
31};
32
33} // namespace profiling
34
35} // namespace armnn
36