blob: a9a59c145fc3fa5a362263bc159b5e0d5a59759a [file] [log] [blame]
Francis Murtagh11f99b42019-08-16 11:28:52 +01001//
2// Copyright © 2017 Arm Ltd. All rights reserved.
3// SPDX-License-Identifier: MIT
4//
5
6#include "Packet.hpp"
7
8#include <cstdint>
9
Aron Virginas-Tare898db92019-08-22 12:56:34 +010010namespace armnn
11{
12
13namespace profiling
14{
15
Francis Murtagh11f99b42019-08-16 11:28:52 +010016#pragma once
17
18class CommandHandlerFunctor
19{
20public:
21 CommandHandlerFunctor(uint32_t packetId, uint32_t version) : m_PacketId(packetId), m_Version(version) {};
22
23 uint32_t GetPacketId() const;
24 uint32_t GetVersion() const;
25
26 virtual void operator()(const Packet& packet) {};
27
28private:
29 uint32_t m_PacketId;
30 uint32_t m_Version;
Aron Virginas-Tare898db92019-08-22 12:56:34 +010031};
32
33} // namespace profiling
34
35} // namespace armnn