aboutsummaryrefslogtreecommitdiff
path: root/tests/profiling/CommandLineProcessor.hpp
blob: a7e43ada12f9de33b47161101b787c40c29504bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
//
// Copyright © 2019 Arm Ltd. All rights reserved.
// SPDX-License-Identifier: MIT
//
#pragma once

#include <string>

namespace armnn
{

namespace gatordmock
{

// Parses the command line to extract:
//
//

/**
 * Use Boost program options to process the command line.
 * -h or --help to print the options.
 * -n or --namespace to specify the UDS namespace that the server will be listening on.
 */
class CommandLineProcessor
{
public:
    bool ProcessCommandLine(int argc, char *argv[]);

    std::string GetUdsNamespace() { return m_UdsNamespace; }

private:
    std::string m_UdsNamespace;
};

} // namespace gatordmock

} // namespace armnn