libqi-api  2.8.7.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
dataperfsuite.hxx
Go to the documentation of this file.
1 #pragma once
2 /*
3 ** Copyright (C) 2012 Aldebaran Robotics
4 ** See COPYING for the license
5 */
6 
7 #ifndef _QI_PERF_DETAIL_DATAPERFSUITE_HXX_
8 #define _QI_PERF_DETAIL_DATAPERFSUITE_HXX_
9 
10 #include <boost/program_options.hpp>
11 
12 namespace po = boost::program_options;
13 
14 namespace qi {
15 
16  namespace detail {
17 
18  inline po::options_description getPerfOptions()
19  {
20  po::options_description desc(std::string("Options for perf"));
21 
22  desc.add_options()
23  ("output,o", po::value<std::string>()->default_value(""),
24  "Output file (If not specified, set to standard output).");
25 
26  return desc;
27  }
28 
29  }
30 
31 }
32 
33 #endif /* _QI_PERF_DETAIL_DATAPERFSUITE_HXX_ */
po::options_description getPerfOptions()