carb::configureFramework

Defined in carb/StartupUtils.h

inline void carb::configureFramework(const StartupFrameworkDesc &params)

Configures the framework given a slew of input parameters.

First see carb::StartupFrameworkDesc for an idea of the type of data this function accepts.

At a high-level this function:

  • Loads carb.settings plugin

  • Searches for config file, loads it and applies CLI args overrides.

  • Configures logging with config file

  • Loads plugins according to config file

  • Configures default plugins according to config file

Rather than this function, consider using OMNI_CORE_INIT(), which handles both starting and shutting down the framework for you in your application.