Goby3 3.6.1
2026.09.15
Loading...
Searching...
No Matches
goby::middleware::python::detail::SignalState Struct Reference

State used to turn SIGINT/SIGTERM into a clean Application::quit() More...

#include <goby/middleware/languages/python/application.h>

Public Attributes

void(* quit_fn )(void *) = nullptr
 
void * quit_ctx = nullptr
 
volatile std::sig_atomic_t requested = 0
 

Detailed Description

State used to turn SIGINT/SIGTERM into a clean Application::quit()

Only plain data, so that the handler stays async-signal-safe.

Definition at line 85 of file application.h.

Member Data Documentation

◆ quit_ctx

void* goby::middleware::python::detail::SignalState::quit_ctx = nullptr

Definition at line 88 of file application.h.

◆ quit_fn

void(* goby::middleware::python::detail::SignalState::quit_fn) (void *) = nullptr

Definition at line 87 of file application.h.

◆ requested

volatile std::sig_atomic_t goby::middleware::python::detail::SignalState::requested = 0

Definition at line 89 of file application.h.


The documentation for this struct was generated from the following file: