open_iA 2024.9
Loading...
Searching...
No Matches
iASettingsObject< Name, Obj > Class Template Reference

Helper for registering collections of settings with the iASettingsManager. More...

#include <iADefaultSettings.h>

Static Public Member Functions

static void selfRegister ()
 

Detailed Description

template<const char * Name, class Obj>
class iASettingsObject< Name, Obj >

Helper for registering collections of settings with the iASettingsManager.

Adds a settings collection, available via the given class Obj's static defaultAttributes method to iASettingsManager under the given Name. Simplifies running the registration semi-automatically at program startup. The registering class just has to call the selfRegister() method, which registers the setting with the iASettingsManager, which takes care of loading stored previous values, and of storing the values at application end.

Member Function Documentation

◆ selfRegister()

template<const char * Name, class Obj >
static void iASettingsObject< Name, Obj >::selfRegister ( )
inlinestatic

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