Open Lighting Architecture 0.10.9
Loading...
Searching...
No Matches
ola::PreferencesFactory Class Referenceabstract

Detailed Description

A PreferencesFactory creates preferences objects

Inheritance diagram for ola::PreferencesFactory:
ola::FileBackedPreferencesFactory ola::MemoryPreferencesFactory

Public Member Functions

virtual ~PreferencesFactory ()
 
virtual PreferencesNewPreference (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: