summaryrefslogtreecommitdiff
path: root/ACE/ace/Signal.h
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/ace/Signal.h')
-rw-r--r--ACE/ace/Signal.h30
1 files changed, 14 insertions, 16 deletions
diff --git a/ACE/ace/Signal.h b/ACE/ace/Signal.h
index 416722eb811..c4299437c51 100644
--- a/ACE/ace/Signal.h
+++ b/ACE/ace/Signal.h
@@ -55,13 +55,13 @@ public:
/// full.
ACE_Sig_Set (int fill = 0);
- ~ACE_Sig_Set (void);
+ ~ACE_Sig_Set ();
/// Create a set that excludes all signals defined by the system.
- int empty_set (void);
+ int empty_set ();
/// Create a set that includes all signals defined by the system.
- int fill_set (void);
+ int fill_set ();
/// Adds the individual signal specified by @a signo to the set.
int sig_add (int signo);
@@ -76,10 +76,10 @@ public:
operator sigset_t *();
/// Returns a copy of the underlying @c sigset_t.
- sigset_t sigset (void) const;
+ sigset_t sigset () const;
/// Dump the state of an object.
- void dump (void) const;
+ void dump () const;
/// Declare the dynamic allocation hooks.
ACE_ALLOC_HOOK_DECLARE;
@@ -98,7 +98,7 @@ class ACE_Export ACE_Sig_Action
{
public:
/// Default constructor. Initializes everything to 0.
- ACE_Sig_Action (void);
+ ACE_Sig_Action ();
/// Assigns the various fields of a @c sigaction struct but doesn't
/// register for signal handling via the @c sigaction function.
@@ -152,15 +152,13 @@ public:
sigset_t *sigmask = 0,
int flags = 0);
-#if defined (ACE_HAS_CPP11)
ACE_Sig_Action (const ACE_Sig_Action&) = default;
ACE_Sig_Action (ACE_Sig_Action&&) = default;
ACE_Sig_Action& operator = (ACE_Sig_Action const &) = default;
ACE_Sig_Action &operator = (ACE_Sig_Action&&) = default;
-#endif /* ACE_HAS_CPP11 */
/// Default dtor.
- ~ACE_Sig_Action (void);
+ ~ACE_Sig_Action ();
// = Signal action management.
/// Register @c this as the current disposition and store old
@@ -180,30 +178,30 @@ public:
void set (struct sigaction *);
/// Get current signal action.
- struct sigaction *get (void);
+ struct sigaction *get ();
operator struct sigaction *();
/// Set current signal flags.
void flags (int);
/// Get current signal flags.
- int flags (void);
+ int flags ();
/// Set current signal mask.
void mask (sigset_t *);
void mask (ACE_Sig_Set &);
/// Get current signal mask.
- sigset_t *mask (void);
+ sigset_t *mask ();
/// Set current signal handler (pointer to function).
void handler (ACE_SignalHandler);
/// Get current signal handler (pointer to function).
- ACE_SignalHandler handler (void);
+ ACE_SignalHandler handler ();
/// Dump the state of an object.
- void dump (void) const;
+ void dump () const;
/// Declare the dynamic allocation hooks.
ACE_ALLOC_HOOK_DECLARE;
@@ -228,10 +226,10 @@ public:
ACE_Sig_Guard (ACE_Sig_Set *mask = 0, bool condition = true);
/// Restore blocked signals.
- ~ACE_Sig_Guard (void);
+ ~ACE_Sig_Guard ();
/// Dump the state of an object.
- void dump (void) const;
+ void dump () const;
/// Declare the dynamic allocation hooks.
ACE_ALLOC_HOOK_DECLARE;