PGROUTING  3.2
SIGQUIT_Handler Class Reference

#include "signalhandler.h"

Inheritance diagram for SIGQUIT_Handler:
Collaboration diagram for SIGQUIT_Handler:

Public Member Functions

 SIGQUIT_Handler (void)
 
sig_atomic_t abortiveQuit (void)
 
virtual void handleSignal (int signum)
 

Private Attributes

sig_atomic_t abortive_quit_
 

Detailed Description

Definition at line 125 of file signalhandler.h.

Constructor & Destructor Documentation

◆ SIGQUIT_Handler()

SIGQUIT_Handler::SIGQUIT_Handler ( void  )
inline

Definition at line 127 of file signalhandler.h.

127 : abortive_quit_(0) {}

Member Function Documentation

◆ abortiveQuit()

sig_atomic_t SIGQUIT_Handler::abortiveQuit ( void  )
inline

Definition at line 135 of file signalhandler.h.

135 { return this->abortive_quit_;}

References abortive_quit_.

◆ handleSignal()

virtual void SIGQUIT_Handler::handleSignal ( int  signum)
inlinevirtual

Implements EventHandler.

Definition at line 130 of file signalhandler.h.

130  {
131  if (signum == SIGQUIT) this->abortive_quit_ = 1;
132  }

References abortive_quit_.

Member Data Documentation

◆ abortive_quit_

sig_atomic_t SIGQUIT_Handler::abortive_quit_
private

Definition at line 138 of file signalhandler.h.

Referenced by abortiveQuit(), and handleSignal().


The documentation for this class was generated from the following file:
SIGQUIT_Handler::abortive_quit_
sig_atomic_t abortive_quit_
Definition: signalhandler.h:138