Open Lighting Architecture  Latest Git
Public Member Functions | List of all members
ola::PreferencesFactory Class Referenceabstract

Detailed Description

A PreferencesFactory creates preferences objects

Inheritance diagram for ola::PreferencesFactory:
Inheritance graph
[legend]

Public Member Functions

virtual ~PreferencesFactory ()
 
virtual PreferencesNewPreference (const std::string &name)
 
virtual std::string ConfigLocation () const =0
 The location where preferences will be stored. More...
 

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: