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
void(* SignalHandler)(int)
#define _SIG_WORDS
unsigned int __bits[_SIG_WORDS]
ACE_Sig_Action SignalAction
struct coil::__sigset sigset_t
SignalAction class.
Common Object Interface Layer.


openrtm_aist
Author(s): Noriaki Ando
autogenerated on Mon Feb 28 2022 23:00:45