23 #include <zmqpp/zmqpp.hpp>    46     FWiegandReader(zmqpp::context &ctx, 
const std::string &reader_ame);
    67     bool greenLedBlink(int64_t duration = 1000, int64_t speed = 300);
    72     bool beep(int64_t duration = 1000);
    87     const std::string &
name() 
const;
 Facade object for a Wiegand Reader device. 
 
bool beep(int64_t duration=1000)
Beep for a given duration. 
 
This is the header file for a generated source file, GitSHA1.cpp. 
 
zmqpp::socket backend_
A socket to talk to the backend wiegand reader. 
 
const std::string & name() const
Returns the device's name. 
 
bool buzzerOff()
Turn the buzzer off. 
 
bool buzzerOn()
Turn the buzzer on. 
 
bool greenLedBlink(int64_t duration=1000, int64_t speed=300)
Make the reader's green led blink. 
 
~FWiegandReader()=default
 
FWiegandReader(zmqpp::context &ctx, const std::string &reader_ame)
Construct a facade to a wiegand reader; this facade will connect to the reader. 
 
bool greenLedOff()
Turn the reader's green led off. 
 
bool greenLedOn()
Turn the reader's green led on. 
 
FWiegandReader & operator=(const FWiegandReader &)=delete
 
bool send_to_backend(zmqpp::message &m)
Send a message to the backend_ wiegand reader and wait for a response.