40 virtual void timeout()
override;
44 virtual void signal(zmqpp::socket &sock)
override;
46 virtual const std::string &
get_card_id()
const override;
50 virtual void reset()
override;
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...
An implementation class that represents a Wiegand Reader.
This is the header file for a generated source file, GitSHA1.cpp.
virtual int get_nb_bits() const override
Returns the number of bits in the card.
Implementation of a wiegand card only strategy.
virtual const std::string & get_card_id() const override
Returns the card id that was read.
Interface for a strategy that read a card number.
SimpleWiegandStrategy(WiegandReaderImpl *reader)
virtual bool completed() const override
Did the strategy gather needed data? If this function returns true, that means that the strategy impl...
virtual void timeout() override
This is called when the module detect a timeout.