carb::getFramework

Defined in carb/Framework.h

inline Framework *carb::getFramework()

Gets the Carbonite framework.

The carb::Framework can be nullptr for applications if it hasn’t acquired it (see carb::acquireFramework()). It can also be nullptr for a plugin if the plugin is used externally and was not loaded by framework itself.

After starting up, carb::getFramework() can be considered a getter for a global singleton that is the carb::Framework.

Returns

The Carbonite framework.