22 #include "zmqpp/zmqpp.hpp" 37 FakeGPIO(zmqpp::context &ctx,
const std::string &name);
51 bool run(zmqpp::socket *pipe);
void interrupt()
Emulate an interrupt by writing to the message bus.
This is the header file for a generated source file, GitSHA1.cpp.
zmqpp::socket rep_
Receive command here.
bool run(zmqpp::socket *pipe)
if you want the GPIO in "passive" mode (ie to watch event generated BY the device), run this with a zmqpp::actor.
A test helper class that emulate a GPIO pin.
FakeGPIO(zmqpp::context &ctx, const std::string &name)