diff options
Diffstat (limited to 'ACE/apps/JAWS3/jaws3/Signal_Task.h')
-rw-r--r-- | ACE/apps/JAWS3/jaws3/Signal_Task.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/ACE/apps/JAWS3/jaws3/Signal_Task.h b/ACE/apps/JAWS3/jaws3/Signal_Task.h new file mode 100644 index 00000000000..f1564b812a0 --- /dev/null +++ b/ACE/apps/JAWS3/jaws3/Signal_Task.h @@ -0,0 +1,32 @@ +/* -*- c++ -*- */ +// $Id$ + +#ifndef JAWS_SIGNAL_TASK_H +#define JAWS_SIGNAL_TASK_H + +#include "ace/Synch.h" +#include "ace/Signal.h" +#include "ace/Singleton.h" + +#include "jaws3/Export.h" + +class JAWS_Export JAWS_Signal_Task +{ +public: + + JAWS_Signal_Task (void); + + static JAWS_Signal_Task * instance (void) + { + return ACE_Singleton<JAWS_Signal_Task, ACE_SYNCH_MUTEX>::instance (); + } + + ACE_Sig_Set & sigset (void) { return this->sigset_; } + +private: + + ACE_Sig_Set sigset_; + +}; + +#endif /* JAWS_SIGNAL_TASK_H */ |