ProvSQL C/C++ API
Adding support for provenance and uncertainty management to PostgreSQL databases
Loading...
Searching...
No Matches
provsql_interrupt_scope Class Reference

The SIGINT handler installed for the lifetime of the object, the previous one restored as it ends (a C++ exception included). More...

#include "provsql_interrupt.h"

Public Member Functions

 provsql_interrupt_scope ()
 ~provsql_interrupt_scope ()
 provsql_interrupt_scope (const provsql_interrupt_scope &)=delete
provsql_interrupt_scope & operator= (const provsql_interrupt_scope &)=delete

Private Attributes

void(* prev_ )(int)
 The SIGINT handler to restore.
void(* prev_term_ )(int)
 The SIGTERM handler to restore.

Detailed Description

The SIGINT handler installed for the lifetime of the object, the previous one restored as it ends (a C++ exception included).

Definition at line 130 of file provsql_interrupt.h.

Constructor & Destructor Documentation

◆ provsql_interrupt_scope() [1/2]

provsql_interrupt_scope::provsql_interrupt_scope ( )

Definition at line 118 of file provsql_interrupt.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ~provsql_interrupt_scope()

provsql_interrupt_scope::~provsql_interrupt_scope ( )

Definition at line 139 of file provsql_interrupt.cpp.

◆ provsql_interrupt_scope() [2/2]

provsql_interrupt_scope::provsql_interrupt_scope ( const provsql_interrupt_scope & )
delete
Here is the call graph for this function:

Member Function Documentation

◆ operator=()

provsql_interrupt_scope & provsql_interrupt_scope::operator= ( const provsql_interrupt_scope & )
delete
Here is the call graph for this function:

Member Data Documentation

◆ prev_

void(* provsql_interrupt_scope::prev_) (int)
private

The SIGINT handler to restore.

Definition at line 132 of file provsql_interrupt.h.

◆ prev_term_

void(* provsql_interrupt_scope::prev_term_) (int)
private

The SIGTERM handler to restore.

Definition at line 133 of file provsql_interrupt.h.


The documentation for this class was generated from the following files: