Lumiera  0.pre.03
»edit your freedom«
steam::asset::meta::anonymous_namespace{time-grid.cpp} Namespace Reference

Functions

PGrid publishWrapped (TimeGrid &newGrid)
 

Function Documentation

◆ publishWrapped()

PGrid steam::asset::meta::anonymous_namespace{time-grid.cpp}::publishWrapped ( TimeGrid newGrid)
inline

helper to retrieve the smart-ptr from the AssetManager, then attach a further smart-ptr-to-Quantiser to that, which then can be published via the advice system

Note
this allows to use a time grid just "by name", without explicit dependence to the Session / Assets

Definition at line 86 of file time-grid.cpp.

References AssetManager::instance.