blob: 450f90fd2bd84c4c9699139d9937f72b6949b08e [file] [log] [blame]
Finn Williamsd7fcafa2020-04-23 17:55:18 +01001//
2// Copyright © 2020 Arm Ltd. All rights reserved.
3// SPDX-License-Identifier: MIT
4//
5#pragma once
6
7#include <CommandHandlerFunctor.hpp>
8#include <armnn/utility/IgnoreUnused.hpp>
9
10#include <vector>
11
12namespace armnn
13{
14
15namespace gatordmock
16{
17
18class StubCommandHandler : public profiling::CommandHandlerFunctor
19{
20
21public:
22 /**
23 *
24 * @param packetId The id of packets this handler will process.
25 * @param version The version of that id.
26 */
27 StubCommandHandler(uint32_t familyId,
28 uint32_t packetId,
29 uint32_t version)
30 : CommandHandlerFunctor(familyId, packetId, version)
31 {}
32
33 void operator()(const armnn::profiling::Packet& packet) override
34 {
35 //No op
36 IgnoreUnused(packet);
37 }
38
39};
40
41} // namespace gatordmock
42} // namespace armnn