swift
Protected Member Functions | List of all members
XSwiftBus::CSettingsAware Class Reference

Something having access to the settings. More...

Inheritance diagram for XSwiftBus::CSettingsAware:
[legend]

Protected Member Functions

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

Detailed Description

Something having access to the settings.

Definition at line 59 of file settings.h.

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: