[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Moss-devel] CVS: moss/family/include SignalHandler.h,1.5,1.6
From: |
Manfred Morgner <address@hidden> |
Subject: |
[Moss-devel] CVS: moss/family/include SignalHandler.h,1.5,1.6 |
Date: |
Sat, 02 Nov 2002 20:19:07 -0500 |
Update of /cvsroot/moss//moss/family/include
In directory subversions:/tmp/cvs-serv22156
Modified Files:
SignalHandler.h
Log Message:
functions back into the class and creation of the instance from within the
header
Index: SignalHandler.h
===================================================================
RCS file: /cvsroot/moss//moss/family/include/SignalHandler.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** SignalHandler.h 2 Nov 2002 23:26:23 -0000 1.5
--- SignalHandler.h 3 Nov 2002 01:19:03 -0000 1.6
***************
*** 31,39 ****
* changed to "all inline" - no cxx file anymore
! 2002-11-03
* singletonized it
-
***************************************************************************/
--- 31,42 ----
* changed to "all inline" - no cxx file anymore
! 2002-11-03 Xandi
* singletonized it
+
+ 2002-11-03 Manfred
+
+ * moved the signal functions back into the class
***************************************************************************/
***************
*** 69,75 ****
//
- void Signal(int nSignal);
- void SignalUnhandled(int nSignal);
-
namespace family
--- 72,75 ----
***************
*** 122,125 ****
--- 122,126 ----
CSignalManager()
{
+ std::cout << "SignalHandler instanziiert" << endl;
m_bExitApplication = false;
// signal handler description list for signals
***************
*** 312,339 ****
private:
! // handler for unhandled signals
! // shows the number and the name of the signal
// should show the time too?
! }; // class CSignalManager
! } // namespace family
! void Signal(int nSignal)
! {
! #ifdef _DEBUG
! std::cout << "Signal" << endl;
! #endif
! family::CSignalManager::GetInstance().Handled(nSignal);
! } // void SignalUnhandled(int nSignal)
- void SignalUnhandled(int nSignal)
- {
- #ifdef _DEBUG
- std::cout << "Unhandled Signal" << endl;
- #endif
- family::CSignalManager::GetInstance().Unhandled(nSignal);
- } // void SignalUnhandled(int nSignal)
#endif // __SIGNAL_HANDLER_H
--- 313,341 ----
private:
! // handler for unhandled signals shows the number and the name of the
signal
// should show the time too?
! static void Signal(int nSignal)
! {
! #ifdef _DEBUG
! #endif
! GetInstance().Handled(nSignal);
! } // void SignalUnhandled(int nSignal)
! static void SignalUnhandled(int nSignal)
! {
! #ifdef _DEBUG
! std::cout << "Unhandled Signal" << endl;
! #endif
! GetInstance().Unhandled(nSignal);
! } // void SignalUnhandled(int nSignal)
!
! }; // class
! static CSignalManager& g_roSignalHandler = CSignalManager::GetInstance();
!
! } // namespace family
#endif // __SIGNAL_HANDLER_H
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Moss-devel] CVS: moss/family/include SignalHandler.h,1.5,1.6,
Manfred Morgner <address@hidden> <=
- Prev by Date:
[Moss-devel] CVS: moss/colpatik ChangeLog,NONE,1.1 configure.ac,1.4,1.5 Makefile.am,1.2,1.3
- Next by Date:
[Moss-devel] CVS: moss/colpatik/src main.cxx,1.7,1.8
- Previous by thread:
[Moss-devel] CVS: moss/colpatik ChangeLog,NONE,1.1 configure.ac,1.4,1.5 Makefile.am,1.2,1.3
- Next by thread:
[Moss-devel] CVS: moss/colpatik/src main.cxx,1.7,1.8
- Index(es):