BipedalLocomotion/System/QuitHandler.h file

Namespaces

namespace BipedalLocomotion
namespace BipedalLocomotion::System

Functions

void handleQuitSignals(std::function<void()> customHandler = std::function<void()>())
handleQuitSignals should be called if you want to call a function when ctrl-c event is detected.

Function documentation

void handleQuitSignals(std::function<void()> customHandler = std::function<void()>())

handleQuitSignals should be called if you want to call a function when ctrl-c event is detected.

Parameters
customHandler function that will be called when ctrl-c event is detected