From 6940dd720ebb6b3d1df8ca203ab696daefe58189 Mon Sep 17 00:00:00 2001 From: Jim Flynn Date: Fri, 20 Mar 2020 12:25:56 +0000 Subject: renamed Documentation folder 20.02 and added .nojekyll file Signed-off-by: Jim Flynn --- ...mock_2_command_line_processor_8hpp_source.xhtml | 119 +++++++++++++++++++++ 1 file changed, 119 insertions(+) create mode 100644 20.02/tests_2profiling_2gatordmock_2_command_line_processor_8hpp_source.xhtml (limited to '20.02/tests_2profiling_2gatordmock_2_command_line_processor_8hpp_source.xhtml') diff --git a/20.02/tests_2profiling_2gatordmock_2_command_line_processor_8hpp_source.xhtml b/20.02/tests_2profiling_2gatordmock_2_command_line_processor_8hpp_source.xhtml new file mode 100644 index 0000000000..da9772e921 --- /dev/null +++ b/20.02/tests_2profiling_2gatordmock_2_command_line_processor_8hpp_source.xhtml @@ -0,0 +1,119 @@ + + + + + + + + + + + + + +ArmNN: tests/profiling/gatordmock/CommandLineProcessor.hpp Source File + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  20.02 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
CommandLineProcessor.hpp
+
+
+Go to the documentation of this file.
1 //
2 // Copyright © 2019 Arm Ltd. All rights reserved.
3 // SPDX-License-Identifier: MIT
4 //
5 #pragma once
6 
7 #include <string>
8 
9 namespace armnn
10 {
11 
12 namespace gatordmock
13 {
14 
15 /// Use Boost program options to process the command line.
16 /// -h or --help to print the options.
17 /// -n or --namespace to specify the UDS namespace that the server will be listening on.
18 /// -e or --echo print all sent and received packets to stdout.
19 /// -f or --file The path to the file that contains instructions for the mock gatord.
21 {
22 public:
23  bool ProcessCommandLine(int argc, char* argv[]);
25  {
26  return m_Echo;
27  }
28 
29  std::string GetUdsNamespace()
30  {
31  return m_UdsNamespace;
32  }
33  std::string GetCommandFile()
34  {
35  return m_File;
36  }
37 
38 private:
39  std::string m_UdsNamespace;
40  std::string m_File;
41 
42  bool m_Echo;
43 };
44 
45 } // namespace gatordmock
46 
47 } // namespace armnn
bool ProcessCommandLine(int argc, char *argv[])
+ +
Copyright (c) 2020 ARM Limited.
+ + +
Use Boost program options to process the command line.
+
+
+ + + + -- cgit v1.2.1