28 #ifndef QB_DEVICE_SIGINT_HANDLER_H 29 #define QB_DEVICE_SIGINT_HANDLER_H 42 g_request_shutdown = 1;
49 num_params = params.
size();
52 std::string reason = params[1];
53 ROS_WARN(
"Shutdown request received. Reason: [%s]", reason.c_str());
54 g_request_shutdown = 1;
73 #endif // QB_DEVICE_SIGINT_HANDLER_H
XmlRpc::XmlRpcValue responseInt(int code, const std::string &msg, int response)
static volatile sig_atomic_t g_request_shutdown
Type const & getType() const
static void shutdownCallback(XmlRpc::XmlRpcValue ¶ms, XmlRpc::XmlRpcValue &result)
static const XMLRPCManagerPtr & instance()
static void mySigIntHandler(int _)