2 // Copyright © 2019 Arm Ltd. All rights reserved.
3 // SPDX-License-Identifier: MIT
8 #include "CommandHandlerFunctor.hpp"
9 #include "ISendCounterPacket.hpp"
11 #include "ProfilingStateMachine.hpp"
19 class ConnectionAcknowledgedCommandHandler final : public CommandHandlerFunctor
23 ConnectionAcknowledgedCommandHandler(uint32_t familyId,
26 ICounterDirectory& counterDirectory,
27 ISendCounterPacket& sendCounterPacket,
28 ProfilingStateMachine& profilingStateMachine)
29 : CommandHandlerFunctor(familyId, packetId, version)
30 , m_CounterDirectory(counterDirectory)
31 , m_SendCounterPacket(sendCounterPacket)
32 , m_StateMachine(profilingStateMachine)
35 void operator()(const Packet& packet) override;
38 const ICounterDirectory& m_CounterDirectory;
39 ISendCounterPacket& m_SendCounterPacket;
40 ProfilingStateMachine& m_StateMachine;
44 } // namespace profiling