Configuration.hh
Go to the documentation of this file.
1 //
2 // Copyright (c) 2020 Fraunhofer Institute for Applied Information Technology (FIT)
3 // Network Research Group (NET)
4 // Schloss Birlinghoven, 53754 Sankt Augustin, GERMANY
5 // Contact: support@wiback.org
6 //
7 // This file is part of the SENF code tree.
8 // It is licensed under the 3-clause BSD License (aka New BSD License).
9 // See LICENSE.txt in the top level directory for details or visit
10 // https://opensource.org/licenses/BSD-3-Clause
11 //
12 
13 
14 #ifndef __CONFIGURATION_HH__
15 #define __CONFIGURATION_HH__
16 
17 // Custom includes
19 #include <senf/Utils/Logger.hh>
20 
22 
23 class Configuration
24 {
26 
27 public:
28  bool verbose;
29  std::string phyName;
30  std::string debugFS;
33  unsigned frequency;
34  bool ht40;
35 
36  unsigned spectralPeriod;
38  unsigned spectralCount;
39  unsigned spectralBins;
42 
43  Configuration();
44 
45  void help();
46  void version();
47  void enableHighresTimers();
49 
50  bool parse(int argc, char const *argv[]);
51 };
52 
54 #endif
senf::ClockService::clock_type duration
config::time_type clock_type
std::string phyName
#define SENF_LOG_CLASS_AREA()
unsigned spectralCount
unsigned frequency
senf::ClockService::clock_type reportingInterval
bool parse(int argc, char const *argv[])
std::string debugFS
unsigned spectralBins
void enableHighresTimers()
unsigned spectralPeriod
unsigned spectralFFTPeriod
bool spectralShortRepeat
void enableRealtimeScheduling()