blob: 229b3d673cda678b98889ab2c2cedbef011328e3 [file] [log] [blame]
Brad Bishop3539db62017-05-30 14:21:12 -04001% if c.defer:
2std::make_unique<DeferrableCallback<ConfigPropertyCallbacks, SDEventTimer>>(
3${indent(1)}ConfigPropertyCallbackGroups::get()[${c.graph}],
4${indent(1)}*ConfigConditions::get()[${c.condition}],
5${indent(1)}${c.defer})\
6% else:
Brad Bishop4041d722017-05-21 10:06:07 -04007std::make_unique<ConditionalCallback<ConfigPropertyCallbacks>>(
8${indent(1)}ConfigPropertyCallbackGroups::get()[${c.graph}],
9${indent(1)}*ConfigConditions::get()[${c.condition}])\
Brad Bishop3539db62017-05-30 14:21:12 -040010% endif\