Leosac  0.8.0
Open Source Access Control
bench-toggle.cpp File Reference
#include "hardware/facades/FGPIO.hpp"
#include "tools/log.hpp"
#include "zmqpp/zmqpp.hpp"
#include <boost/property_tree/ptree.hpp>
#include <memory>
#include <zmqpp/context.hpp>
#include <zmqpp/message.hpp>
+ Include dependency graph for bench-toggle.cpp:

Go to the source code of this file.

Functions

bool send_request (std::shared_ptr< zmqpp::socket > target, const std::string &cmd1)
 Send the request to the target and handle the response. More...
 
 __attribute__ ((visibility("default"))) bool start_module(zmqpp
 pipe is pipe back to module manager. More...
 

Function Documentation

◆ __attribute__()

__attribute__ ( (visibility("default"))  )

pipe is pipe back to module manager.

this function is called in its own thread.

do signaling when ready

Definition at line 60 of file bench-toggle.cpp.

◆ send_request()

bool send_request ( std::shared_ptr< zmqpp::socket >  target,
const std::string &  cmd1 
)

Send the request to the target and handle the response.

Return false if no response in 1s.

Definition at line 32 of file bench-toggle.cpp.