• OctoMY API
  • OctoMY API Reference
  • config Namespace
  • config Namespace

    The settings engine: declarations, levels, stores and the resolver. More...

    Header: #include <config>

    Namespaces

    namespace testing
    namespace ui

    Classes

    class ChangeNotifier
    class ChoiceProviders
    class Level
    class Resolver
    class Schema
    struct SettingDef
    class Snapshot
    class WriteRateLimiter

    Types

    flags SettingFlags

    Detailed Description

    A schema declares each setting one time. A resolver walks the levels of the schema and reports where a value comes from. Stores hold the values of one level. See config-ui §CFGM-2 to §CFGM-8.

    Namespaces

    namespace config::testing

    namespace config::ui

    ConfigModel shows the schemas of an app, ConfigView and ConfigWindow show the model, and the config.* OPAL tasks read and write the same rows. See config-ui §CFGV-2 to §CFGV-7.

    Classes

    class ChangeNotifier

    The two change signals of one resolver. More...

    class ChoiceProviders

    The run-time choice lists that apps register by name. More...

    class Level

    One place a setting value can be set, in priority order. More...

    class Resolver

    Walks a schema's chain of levels and reports where each value came from. More...

    class Schema

    Every declaration of one app or library. More...

    class SettingDef

    One setting, declared one time. More...

    class Snapshot

    An immutable map from setting id to resolved value. More...

    class WriteRateLimiter

    Newest-wins write coalescing with a trailing flush. More...