libknx
config.hpp
Go to the documentation of this file.
1 #pragma once
2 
3 #include "debug.hpp"
4 
5 #include <string>
6 
11 namespace knx
13 {
14 
18 class KNX_IMPORT_EXPORT config
19 {
20 public:
24  config(int argc, char* argv[]);
28  ~config();
29 
31  std::string local_control_host;
32 
35 
37  std::string local_data_host;
38 
41 
43  std::string remote_host;
44 
47 
49  std::string logging_filename;
50 
53 };
54 
55 }
int remote_port
port of the gateway (default 3671)
Definition: config.hpp:46
This class represents the configuration of the knx connection.
Definition: config.hpp:18
std::string local_data_host
name or ip address of the local host (data connection). Default 0.0.0.0.
Definition: config.hpp:37
int local_data_port
communication port for data messages
Definition: config.hpp:40
std::string local_control_host
name or ip address of the local host (control connection). Default 0.0.0.0.
Definition: config.hpp:31
separated namespace to embed all libknx related classes
Definition: connection.hpp:14
std::string remote_host
name or ip address of the knx gateway
Definition: config.hpp:43
int local_control_port
communication port for control messages
Definition: config.hpp:34
bool logging_activated
indication if logging is active
Definition: config.hpp:52
std::string logging_filename
name of the logging file
Definition: config.hpp:49