swift
Loading...
Searching...
No Matches
XSwiftBus::CSettingsAware Class Reference

Something having access to the settings. More...

#include <settings.h>

Inheritance diagram for XSwiftBus::CSettingsAware:
[legend]

Protected Member Functions

 CSettingsAware (CSettingsProvider *provider)
 Constructor.
 ~CSettingsAware ()=default
 Destructor.
CSettings getSettings () const
 Get settings.
void setSettings (const CSettings &settings)
 Set settings.
const CConfig & getConfig () const
 Get settings from xswiftbus.conf (needed during plugin initialization).
bool writeConfig (bool tcas, bool debug)
 Write a config file with these new values.

Detailed Description

Something having access to the settings.

Definition at line 59 of file settings.h.

Constructor & Destructor Documentation

◆ CSettingsAware()

XSwiftBus::CSettingsAware::CSettingsAware ( CSettingsProvider * provider)
protected

Constructor.

Definition at line 31 of file settings.cpp.

Member Function Documentation

◆ getConfig()

const CConfig & XSwiftBus::CSettingsAware::getConfig ( ) const
protected

Get settings from xswiftbus.conf (needed during plugin initialization).

Definition at line 40 of file settings.cpp.

◆ getSettings()

CSettings XSwiftBus::CSettingsAware::getSettings ( ) const
protected

Get settings.

Remarks
This function is thread safe.
Fixme
Does this really need to be threadsafe?

Definition at line 36 of file settings.cpp.

◆ setSettings()

void XSwiftBus::CSettingsAware::setSettings ( const CSettings & settings)
protected

Set settings.

Remarks
This function is thread safe.
Fixme
Does this really need to be threadsafe?

Definition at line 38 of file settings.cpp.

◆ writeConfig()

bool XSwiftBus::CSettingsAware::writeConfig ( bool tcas,
bool debug )
protected

Write a config file with these new values.

Definition at line 42 of file settings.cpp.


The documentation for this class was generated from the following files: