Trigger * get_open_trigger() const
Trigger * unlock_trigger_
void open_latch() override
This class is used to encode all control actions on a lock device.
void set_optimistic(bool optimistic)
Trigger * get_lock_trigger() const
void set_state_lambda(std::function< optional< lock::LockState >()> &&f)
Trigger * get_unlock_trigger() const
float get_setup_priority() const override
void dump_config() override
Implementation of SPI Controller mode.
void control(const lock::LockCall &call) override
optional< std::function< optional< lock::LockState >)> > f_
Base class for all locks.