Open Lighting Architecture: ola::PreferencesFactory Class Reference

| Open Lighting Architecture 0.10.9

Loading...
Searching...
No Matches
Public Member Functions | List of all members
ola::PreferencesFactory Class Referenceabstract

## Detailed Description

A PreferencesFactory creates preferences objects

Inheritance diagram for ola::PreferencesFactory:

## Public Member Functions
virtual | ~PreferencesFactory ()
virtual Preferences * | NewPreference (const std::string &name)
virtual std::string | ConfigLocation () const =0
| The location where preferences will be stored.

## Constructor & Destructor Documentation

## ◆ ~PreferencesFactory()

ola::PreferencesFactory::~PreferencesFactory | ( |  | ) |
| virtual

Cleanup

## Member Function Documentation

## ◆ ConfigLocation()

virtual std::string ola::PreferencesFactory::ConfigLocation | ( |  | ) | const
| pure virtual

The location where preferences will be stored.

Returns
  the location

Implemented in ola::FileBackedPreferencesFactory, and ola::MemoryPreferencesFactory.

## ◆ NewPreference()

Preferences * ola::PreferencesFactory::NewPreference | ( | const std::string & | name | ) |
| virtual

Lookup a preference object

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

- include/olad/Preferences.h
- olad/plugin_api/Preferences.cpp