xref: /openbmc/phosphor-fan-presence/presence/templates/anyof.hpp.mako (revision e5ae01fd079b041e743a22bf5d567b51172e3cc9)
1*e5ae01fdSMatt Spinlerstd::make_unique<AnyOf>(
2*e5ae01fdSMatt Spinler${indent(1)}ConfigFans::get()[${f.fan}],
3*e5ae01fdSMatt Spinler${indent(1)}std::vector<std::reference_wrapper<PresenceSensor>>{
4*e5ae01fdSMatt Spinler% for s in f.sensors:
5*e5ae01fdSMatt Spinler${indent(2)}*ConfigSensors::get()[${s}],
6*e5ae01fdSMatt Spinler% endfor
7*e5ae01fdSMatt Spinler${indent(1)}})\
8