|
swift
|
xswiftbus/swift side settings class, JSON capable, shared among all services More...
Public Member Functions | |
| CSettings () | |
| Constructor. | |
Public Member Functions inherited from swift::misc::simulation::settings::CXSwiftBusSettingsQtFree | |
| const std::string & | getDBusServerAddress () const |
| DBus server. | |
| void | setDBusServerAddress (const std::string &dBusServer) |
| Set DBus server. | |
| void | setDrawingLabels (bool drawing) |
| Set whether the plugin draws type and callsign labels above aircraft. | |
| bool | isDrawingLabels () const |
| Get whether the plugin draws type and callsign labels above aircraft. | |
| void | setLabelColor (int rgb) |
| Set the color to draw the callsign labels above aircraft. | |
| int | getLabelColor () const |
| Get the color to draw the callsign labels above aircraft. | |
| void | setBundlingTaxiAndLandingLights (bool bundle) |
| Bundle taxi and landing lights. | |
| bool | isBundlingTaxiAndLandingLights () const |
| Bundle taxi and landing lights. | |
| void | setNightTextureMode (const std::string &mode) |
| The the night texture mode. | |
| const std::string & | getNightTextureMode () const |
| The the night texture mode. | |
| void | setMessageBoxValues (const std::string &positions) |
| Left, top, right, bottom, lines, duration, color(freq, priv, serv, stat, sup) | |
| void | setMessageBoxValues (int leftPx, int topPx, int rightPx, int bottomPx, int lines, int durationMs, int freqRgb, int privRgb, int servRgb, int statRgb, int supRgb) |
| Left, top, right, bottom, lines, duration, color(freq, priv, serv, stat, sup) | |
| const std::string & | getMessageBoxValues () const |
| Left, top, right, bottom, lines, duration, color(freq, priv, serv, stat, sup) | |
| std::vector< int > | getMessageBoxValuesVector () const |
| Left, top, right, bottom, lines, duration, color(freq, priv, serv, stat, sup) | |
| bool | setMaxPlanes (int planes) |
| Set the maximum number of aircraft. | |
| int | getMaxPlanes () const |
| Get the maximum number of aircraft. | |
| bool | setFollowAircraftDistanceM (int meters) |
| Set follow aircraft distance. | |
| int | getFollowAircraftDistanceM () const |
| Get follow aircraft distance. | |
| double | getMaxDrawDistanceNM () const |
| Set the maximum distance at which to draw aircraft (nautical miles). | |
| bool | setMaxDrawDistanceNM (double nauticalMiles) |
| Set the maximum distance at which to draw aircraft (nautical miles). | |
| bool | isLogRenderPhases () const |
| Debug messages? | |
| void | setLogRenderPhases (bool log) |
| Debug messages? | |
| bool | isTcasEnabled () const |
| TCAS functionality? | |
| void | setTcasEnabled (bool tcas) |
| TCAS functionality? | |
| bool | isTerrainProbeEnabled () const |
| Terrain probe to query ground elevation enabled? | |
| void | setTerrainProbeEnabled (bool enabled) |
| Terrain probe to query ground elevation enabled? | |
| bool | parseXSwiftBusString (const std::string &json) |
| Load and parse config file. | |
| std::string | toXSwiftBusJsonString () const |
| As JSON string. | |
| std::string | convertToString () const |
| Convert to string. | |
| int | update (const CXSwiftBusSettingsQtFree &newValues) |
| Update only changed values. | |
| virtual void | setCurrentUtcTime () |
| Sets timestamp to now. | |
Protected Member Functions | |
| virtual void | objectUpdated () final |
| Object has been updated. More... | |
Protected Member Functions inherited from swift::misc::simulation::settings::CXSwiftBusSettingsQtFree | |
| CXSwiftBusSettingsQtFree ()=default | |
| Constructor. | |
| virtual | ~CXSwiftBusSettingsQtFree ()=default |
| Destructor. | |
Additional Inherited Members | |
Protected Attributes inherited from swift::misc::simulation::settings::CXSwiftBusSettingsQtFree | |
| std::string | m_dBusServerAddress |
| DBus server (also in class CXSwiftBusConfigWriter) More... | |
| std::string | m_nightTextureMode { "auto" } |
| night texture mode | |
| std::string | m_msgBox |
| left, top, right, bottom, lines, duration, colors More... | |
| int | m_maxPlanes = 100 |
| max. More... | |
| int | m_followAircraftDistanceM = 200 |
| follow aircraft in distance | |
| bool | m_drawingLabels = true |
| labels in XPlane | |
| int | m_labelColor = 0xffc000 |
| labels in XPlane | |
| bool | m_bundleTaxiLandingLights = true |
| bundle taxi and landing lights | |
| bool | m_logRenderPhases = false |
| render phases debug messages | |
| bool | m_tcasEnabled = true |
| TCAS functionality. | |
| bool | m_terrainProbeEnabled = true |
| terrain probe to establish ground elevation | |
| double | m_maxDrawDistanceNM = 50.0 |
| distance in XPlane | |
| int64_t | m_msSinceEpochQtFree = 0 |
| timestamp | |
Static Protected Attributes inherited from swift::misc::simulation::settings::CXSwiftBusSettingsQtFree | |
| static constexpr char | JsonDBusServerAddress [] = "dbusserveradress" |
| The JSON members. | |
| static constexpr char | JsonDrawingLabels [] = "drawinglabels" |
| The JSON members. | |
| static constexpr char | JsonLabelColor [] = "labelcolor" |
| The JSON members. | |
| static constexpr char | JsonLogRenderPhases [] = "renderPhases" |
| The JSON members. | |
| static constexpr char | JsonTcas [] = "tcas" |
| The JSON members. | |
| static constexpr char | JsonTerrainProbe [] = "terrainProbe" |
| The JSON members. | |
| static constexpr char | JsonMaxPlanes [] = "maxplanes" |
| The JSON members. | |
| static constexpr char | JsonMaxDrawDistance [] = "maxDrawDistance" |
| The JSON members. | |
| static constexpr char | JsonNightTextureMode [] = "nighttexture" |
| The JSON members. | |
| static constexpr char | JsonTimestamp [] = "timestamp" |
| The JSON members. | |
| static constexpr char | JsonMessageBox [] = "msgbox" |
| The JSON members. | |
| static constexpr char | JsonBundleTaxiLandingLights [] = "bundleLights" |
| The JSON members. | |
| static constexpr char | JsonFollowAircraftDistanceM [] = "followAircraftDistance" |
| The JSON members. | |
xswiftbus/swift side settings class, JSON capable, shared among all services
Definition at line 18 of file settings.h.
|
inlinefinalprotectedvirtual |
Object has been updated.
Implements swift::misc::simulation::settings::CXSwiftBusSettingsQtFree.
Definition at line 26 of file settings.h.