Sadik Armagan | b5f01b2 | 2019-09-18 17:29:00 +0100 | [diff] [blame] | 1 | // |
| 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 | |
| 12 | namespace armnn |
| 13 | { |
| 14 | |
| 15 | namespace profiling |
| 16 | { |
| 17 | |
| 18 | class ConnectionAcknowledgedCommandHandler : public CommandHandlerFunctor |
| 19 | { |
| 20 | |
| 21 | public: |
| 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 | |
| 29 | private: |
| 30 | ProfilingStateMachine& m_StateMachine; |
| 31 | }; |
| 32 | |
| 33 | } // namespace profiling |
| 34 | |
| 35 | } // namespace armnn |
| 36 | |