src
lib
coil
win32
coil
win32/coil/Signal.h
Go to the documentation of this file.
1
// -*- C++ -*-
21
#ifndef COIL_SIGNAL_H
22
#define COIL_SIGNAL_H
23
#include <stdio.h>
24
#include <stdlib.h>
25
#include <signal.h>
26
27
namespace
coil
28
{
29
#define _SIG_WORDS 4
30
#define _SIG_MAXSIG NSIG
31
32
typedef
void (*
SignalHandler
)(int);
33
typedef
struct
__sigset
{
34
unsigned
int
__bits
[
_SIG_WORDS
];
35
}
sigset_t
;
36
50
class
SignalAction
51
{
52
public
:
68
SignalAction
();
69
95
SignalAction
(
SignalHandler
handle,
int
signum,
sigset_t
*mask = 0,
96
int
flags = 0);
97
113
~
SignalAction
();
114
115
private
:
116
SignalAction
(
const
SignalAction
&);
117
SignalAction
& operator=(
const
SignalAction
&);
118
SignalHandler
m_handle;
119
int
m_signum;
120
sigset_t
* m_mask;
121
int
m_flags;
122
123
};
124
};
125
#endif // COIL_SIGNAL_H
coil::SignalHandler
void(* SignalHandler)(int)
Definition:
ace/coil/Signal.h:35
_SIG_WORDS
#define _SIG_WORDS
Definition:
win32/coil/Signal.h:29
coil::__sigset::__bits
unsigned int __bits[_SIG_WORDS]
Definition:
win32/coil/Signal.h:34
coil::SignalAction
ACE_Sig_Action SignalAction
Definition:
ace/coil/Signal.h:34
coil::sigset_t
struct coil::__sigset sigset_t
coil::SignalAction
SignalAction class.
Definition:
posix/coil/Signal.h:42
coil::__sigset
Definition:
win32/coil/Signal.h:33
coil
Common Object Interface Layer.
Definition:
ace/coil/Condition.cpp:22
openrtm_aist
Author(s): Noriaki Ando
autogenerated on Mon Feb 28 2022 23:00:45