|
Viam C++ SDK current
|
Defines handling logic for SIGINT and SIGTERM required by all C++ modules. More...
#include <signal_manager.hpp>
Public Member Functions | |
| SignalManager () | |
| Creates a new SignalManager. | |
| ~SignalManager () | |
| Destructor. | |
| int | wait () |
| Wait for SignalManager to receive SIGINT or SIGTERM. | |
Defines handling logic for SIGINT and SIGTERM required by all C++ modules.
| int viam::sdk::SignalManager::wait | ( | ) |
Wait for SignalManager to receive SIGINT or SIGTERM.
| `std::runtime_error` | if the underlying wait operation was unsuccessful. |