xswiftbus configuration class
More...
#include <config.h>
xswiftbus configuration class
Definition at line 14 of file config.h.
◆ DBusMode
DBus Server Mode.
Definition at line 18 of file config.h.
◆ CConfig()
| XSwiftBus::CConfig::CConfig |
( |
| ) |
|
◆ ~CConfig()
| XSwiftBus::CConfig::~CConfig |
( |
| ) |
|
◆ getDBusAddress()
| const std::string & XSwiftBus::CConfig::getDBusAddress |
( |
| ) |
const |
|
inline |
Get current DBus server address.
Definition at line 43 of file config.h.
◆ getDBusMode()
| DBusMode XSwiftBus::CConfig::getDBusMode |
( |
| ) |
const |
|
inline |
Get current DBus mode.
Definition at line 40 of file config.h.
◆ getDBusPort()
| int XSwiftBus::CConfig::getDBusPort |
( |
| ) |
const |
|
inline |
Get current DBus server port.
Definition at line 46 of file config.h.
◆ getDebugMode()
| bool XSwiftBus::CConfig::getDebugMode |
( |
| ) |
const |
|
inline |
Get debug on/off.
Definition at line 49 of file config.h.
◆ getTcasEnabled()
| bool XSwiftBus::CConfig::getTcasEnabled |
( |
| ) |
const |
|
inline |
Get TCAS traffic on/off.
Definition at line 55 of file config.h.
◆ parse()
| void XSwiftBus::CConfig::parse |
( |
| ) |
|
Load and parse config file.
Definition at line 25 of file config.cpp.
◆ print()
| void XSwiftBus::CConfig::print |
( |
| ) |
|
Print the current configuration to the X-Plane log.
Definition at line 93 of file config.cpp.
◆ setDebugMode()
| void XSwiftBus::CConfig::setDebugMode |
( |
bool | on | ) |
|
|
inline |
Set debug mode.
Definition at line 52 of file config.h.
◆ setFilePath()
| void XSwiftBus::CConfig::setFilePath |
( |
const std::string & | filePath | ) |
|
|
inline |
Set config file path.
Definition at line 31 of file config.h.
◆ setTcasEnabled()
| void XSwiftBus::CConfig::setTcasEnabled |
( |
bool | on | ) |
|
|
inline |
Set TCAS traffic on/off.
Definition at line 58 of file config.h.
◆ writeConfig()
| bool XSwiftBus::CConfig::writeConfig |
( |
bool | tcas, |
|
|
bool | debug ) |
Update and write config file.
Definition at line 101 of file config.cpp.
The documentation for this class was generated from the following files: