|
Leosac
0.8.0
Open Source Access Control
|
Go to the documentation of this file.
46 virtual void timeout()
override;
50 virtual void signal(zmqpp::socket &sock)
override;
52 virtual const std::string &
get_pin()
const override;
54 virtual void reset()
override;
An implementation class that represents a Wiegand Reader.
virtual const std::string & get_pin() const override
Retrieve the pin code that was read from the reader.
Interface for a strategy that read a PIN code.
virtual bool completed() const override
Did the strategy gather needed data? If this function returns true, that means that the strategy impl...
This is the header file for a generated source file, GitSHA1.cpp.
WiegandPinBuffered(WiegandReaderImpl *reader)
Create a strategy that read 4bits-per-key PIN code.
virtual void signal(zmqpp::socket &sock) override
Tells the strategy implementation to send a message to the application containing the received creden...
virtual void reset() override
Reset the strategy, meaning that the next time timeout() is called the behavior should be the same th...
virtual void timeout() override
This is called when the module detect a timeout.
Strategy for PIN only, when up to 5 keys are buffered and sent as 26 bits.