libknx
config.hpp
Go to the documentation of this file.
1 #pragma once
2 
3 #include "debug.hpp"
4 
5 #include <string>
6 
12 namespace knx
13 {
14 
18 class KNX_IMPORT_EXPORT config
19 {
20 public:
24  config(int argc, char* argv[]);
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 }
This class represents the configuration of the knx connection.
Definition: config.hpp:19
std::string local_data_host
name or ip address of the local host (data connection)
Definition: config.hpp:37
config(int argc, char *argv[])
constructor taking all command line arguments
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)
Definition: config.hpp:31
std::string logging_filename
name of the logging file
Definition: config.hpp:49
std::string remote_host
name or ip address of the knx gateway
Definition: config.hpp:43
int remote_port
port of the gateway (default 3671)
Definition: config.hpp:46
~config()
empty descructor
bool logging_activated
indication if logging is active
Definition: config.hpp:52
int local_control_port
communication port for control messages
Definition: config.hpp:34
separated namespace to embed all libknx related classes
Definition: config.hpp:13