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 // Definition of non-inline non-template functions
18 
19 // Custom includes
22 #include <senf/Utils/Logger.hh>
23 #include <senf/Utils/Console.hh>
24 
25 
26 class Configuration
27 {
29 
30 public:
31  bool verbose;
32  boost::uint32_t numBuffers;
33  std::string interface;
34  std::string monitorInterface;
35  std::string outputInterface;
37 
38  Configuration();
39 
40  void help();
41  void version();
42  void enableHighresTimers();
44 
45  bool parse( int argc, char const *argv[]);
46 };
47 
48 #endif
boost::uint32_t numBuffers
std::string outputInterface
#define SENF_LOG_CLASS_AREA()
std::string interface
std::string monitorInterface
bool parse(int argc, char const *argv[])
void enableHighresTimers()
void enableRealtimeScheduling()