ALPSCore reference
Main Page
Related Pages
Classes
Files
File List
File Members
alps
utilities
signal.hpp
Go to the documentation of this file.
1
/*
2
* Copyright (C) 1998-2018 ALPS Collaboration. See COPYRIGHT.TXT
3
* All rights reserved. Use is subject to license terms. See LICENSE.TXT
4
* For use in publications, see ACKNOWLEDGE.TXT
5
*/
6
7
#ifndef ALPS_SIGNAL_HPP
8
#define ALPS_SIGNAL_HPP
9
10
#include <
alps/utilities/stacktrace.hpp
>
11
12
#include <boost/array.hpp>
13
14
#include <vector>
15
16
namespace
alps
{
17
18
class
signal
{
19
20
public
:
21
31
signal
();
32
36
bool
empty
()
const
;
37
41
int
top
()
const
;
42
43
47
void
pop
();
48
54
static
void
listen
();
55
56
static
void
slot
(
int
signal
);
57
58
static
void
segfault
(
int
signal);
59
60
private
:
61
62
static
std::size_t begin_;
63
static
std::size_t end_;
64
static
boost::array<int, 0x20> signals_;
65
};
66
}
67
68
#endif
alps::signal::signal
signal()
Definition:
signal.cpp:22
alps::signal::slot
static void slot(int signal)
Definition:
signal.cpp:69
alps::signal::top
int top() const
Definition:
signal.cpp:46
alps::signal::listen
static void listen()
Definition:
signal.cpp:54
stacktrace.hpp
alps::signal::segfault
static void segfault(int signal)
Definition:
signal.cpp:77
alps::signal::empty
bool empty() const
Definition:
signal.cpp:42
alps::signal::pop
void pop()
Definition:
signal.cpp:50
alps::signal
Definition:
signal.hpp:18
alps
Definition:
boost_array_functions.hpp:24
Generated on Sun Oct 14 2018 12:18:30 for ALPSCore reference by
1.8.11