]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
fixed a debug message problem
authormbs <martin.bernhard@opencascade.com>
Mon, 6 Mar 2023 20:05:41 +0000 (20:05 +0000)
committermbs <martin.bernhard@opencascade.com>
Mon, 27 Mar 2023 10:47:10 +0000 (11:47 +0100)
25 files changed:
src/CAM/CAM_Application.cxx
src/CAM/CAM_Module.cxx
src/LightApp/LightApp_Application.cxx
src/LightApp/LightApp_DataModel.cxx
src/LightApp/LightApp_DataObject.cxx
src/LightApp/LightApp_DataOwner.cxx
src/LightApp/LightApp_Displayer.cxx
src/LightApp/LightApp_Driver.cxx
src/LightApp/LightApp_GVSelector.cxx
src/LightApp/LightApp_Module.cxx
src/LightApp/LightApp_OBSelector.cxx
src/LightApp/LightApp_Operation.cxx
src/LightApp/LightApp_Selection.cxx
src/LightApp/LightApp_SelectionMgr.cxx
src/LightApp/LightApp_ShowHideOp.cxx
src/OCCViewer/OCCViewer_AISSelector.cxx
src/OCCViewer/OCCViewer_VService.cxx
src/OCCViewer/OCCViewer_ViewFrame.cxx
src/OCCViewer/OCCViewer_ViewManager.cxx
src/OCCViewer/OCCViewer_ViewModel.cxx
src/OCCViewer/OCCViewer_ViewPort.cxx
src/OCCViewer/OCCViewer_ViewPort3d.cxx
src/OCCViewer/OCCViewer_ViewWindow.cxx
src/SVTK/SVTK_Renderer.cxx
src/SVTK/SVTK_ViewWindow.cxx

index 29903de7bbba911d240882abe0eacbeb79dc1037..8b8b7392f535b7baaca77978c7bf714edf050cb4 100644 (file)
@@ -48,7 +48,7 @@
 
 //---------------------------------------------------------
 #define USE_DEBUG
-static const char *dbg_class = "CAM_Application";
+#define MBCLASSNAME "CAM_Application"
 #include "MBDebug.h"
 //---------------------------------------------------------
 
index c6ea6d044e5e389d8b41b3148564cdd1f5f92234..1fd103da94e27a4789b9b6ba7161fc4fc54194c3 100644 (file)
@@ -39,7 +39,7 @@
 
 //---------------------------------------------------------
 #define USE_DEBUG
-static const char *dbg_class = "CAM_Module";
+#define MBCLASSNAME "CAM_Module"
 #include "MBDebug.h"
 //---------------------------------------------------------
 
index 14bd4e9d269b2f14c7d79e8814c473c16b4c34e4..85c4834dc7e6bb1e02b4ad09661162124846b3e6 100644 (file)
 
 //---------------------------------------------------------
 #define USE_DEBUG
-static const char *dbg_class = "LightApp_Application";
+#define MBCLASSNAME "LightApp_Application"
 #include "MBDebug.h"
 #include "MBSUIT.h"
 //---------------------------------------------------------
index 4de1866323faf7059ef27537adb59c8f3743a8d6..6b3b173d110a4c363b0f86737235616f40603ec4 100644 (file)
@@ -36,7 +36,7 @@
 
 //---------------------------------------------------------
 #define USE_DEBUG
-static const char *dbg_class = "LightApp_DataModel";
+#define MBCLASSNAME "LightApp_DataModel"
 #include "MBDebug.h"
 //---------------------------------------------------------
 
index 2483a7ca2f8c70e35075ceb9b27139cf4d9ade32..bd7c1b0e5cdb548d19db1551582eace4fed432cd 100644 (file)
@@ -38,7 +38,7 @@
 
 //---------------------------------------------------------
 #define USE_DEBUG
-static const char *dbg_class = "LightApp_DataObject";
+#define MBCLASSNAME "LightApp_DataObject"
 #include "MBDebug.h"
 #include "MBSUIT.h"
 //---------------------------------------------------------
index bce1b7b403418da4ea37c7b05ab1dab3295d41fe..b1f9f66e10f3ed6ad9e76903cff7825dcdd9978a 100644 (file)
@@ -24,7 +24,7 @@
 
 //---------------------------------------------------------
 #define USE_DEBUG
-static const char *dbg_class = "LightApp_DataOwner";
+#define MBCLASSNAME "LightApp_DataOwner"
 #include "MBDebug.h"
 //---------------------------------------------------------
 
index 60ec043529b4de2ebb091ab6d6d0a74ee6a87a2b..e8a9a7d47aa579ec26d5751cdefdd60fbabcd1e5 100644 (file)
@@ -41,7 +41,7 @@
 
 //---------------------------------------------------------
 #define USE_DEBUG
-static const char *dbg_class = "LightApp_Displayer";
+#define MBCLASSNAME "LightApp_Displayer"
 #include "MBDebug.h"
 //---------------------------------------------------------
 
index 66574bd03e7ce3e31ceb9490fc1286ecb0005c5d..d64d6987dc9a325bc4caecf16aeb1dad79ffa207 100644 (file)
@@ -41,7 +41,7 @@
 
 //---------------------------------------------------------
 #define USE_DEBUG
-static const char *dbg_class = "LightApp_Driver";
+#define MBCLASSNAME "LightApp_Driver"
 #include "MBDebug.h"
 //---------------------------------------------------------
 
index 8598c078d9a5985fb19311ca3cdf7abfcaf02901..2ce403f227403b1e84a8ccdefa327c28a37c50fc 100644 (file)
@@ -27,7 +27,7 @@
 
 //---------------------------------------------------------
 #define USE_DEBUG
-static const char *dbg_class = "LightApp_GVSelector";
+#define MBCLASSNAME "LightApp_GVSelector"
 #include "MBDebug.h"
 //---------------------------------------------------------
 
index 91b66448b92ea42963fe0b29f1206cab9664c476..0ff6109efee0c4db63f9843aafb77923122e67bf 100644 (file)
 
 //---------------------------------------------------------
 #define USE_DEBUG
-static const char *dbg_class = "LightApp_Module";
+#define MBCLASSNAME "LightApp_Module"
 #include "MBDebug.h"
 //---------------------------------------------------------
 
index 631c9d20da55ab816c697c4b55483ab84b6b33ca..0ccd1696bd7b88b2c645c7358ec05e772c69714d 100644 (file)
@@ -36,7 +36,7 @@
 
 //---------------------------------------------------------
 #define USE_DEBUG
-static const char *dbg_class = "LightApp_OBSelector";
+#define MBCLASSNAME "LightApp_OBSelector"
 #include "MBDebug.h"
 //---------------------------------------------------------
 
index 68876ddb64f6ff8abd0ae79ed14cc14c76b7bd5c..4b1c572baeb8fe426a07c4574dc4ac4832dedeba 100644 (file)
@@ -35,7 +35,7 @@
 
 //---------------------------------------------------------
 #define USE_DEBUG
-static const char *dbg_class = "LightApp_Operation";
+#define MBCLASSNAME "LightApp_Operation"
 #include "MBDebug.h"
 //---------------------------------------------------------
 
index 29abb6b2fee3bde49f6a272831a9263eace8aa22..7026e4602e1fdc51366acd8055ae616d7a0ae5a1 100644 (file)
@@ -39,7 +39,7 @@
 
 //---------------------------------------------------------
 #define USE_DEBUG
-static const char *dbg_class = "LightApp_Selection";
+#define MBCLASSNAME "LightApp_Selection"
 #include "MBDebug.h"
 //---------------------------------------------------------
 
index 98d15fd61e6ae04380c4aa9f6c2ad9151fc0888e..4a2220a15669ffad8a75df2c3e48f04fae9260a8 100644 (file)
@@ -42,7 +42,7 @@
 
 //---------------------------------------------------------
 #define USE_DEBUG
-static const char *dbg_class = "LightApp_SelectionMgr";
+#define MBCLASSNAME "LightApp_SelectionMgr"
 #include "MBDebug.h"
 //---------------------------------------------------------
 
index e4305fad756445e15a415a9a29934c60edbedbe0..a8c94f9e2c32949288adef99a77d2c7cb410c6bc 100644 (file)
@@ -37,7 +37,7 @@
 
 //---------------------------------------------------------
 #define USE_DEBUG
-static const char *dbg_class = "LightApp_ShowHideOp";
+#define MBCLASSNAME "LightApp_ShowHideOp"
 #include "MBDebug.h"
 //---------------------------------------------------------
 
index 1eb7a571f26c76f5c4c21d20d26d7b10f9b25a9f..6b551f47a964497c250f734a8f99e25b3672f16d 100644 (file)
@@ -24,7 +24,7 @@
 
 //---------------------------------------------------------
 #define USE_DEBUG
-static const char *dbg_class = "OCCViewer_AISSelector";
+#define MBCLASSNAME "OCCViewer_AISSelector"
 #include "MBDebug.h"
 //---------------------------------------------------------
 
index 62d428c14b81fa2b584e4d14b19176a18414bfc1..66c046e1189a899437de4b5e0e8a0adf783fe1e9 100644 (file)
@@ -40,7 +40,7 @@
 
 //---------------------------------------------------------
 #define USE_DEBUG
-static const char *dbg_class = "OCCViewer_VService";
+#define MBCLASSNAME "OCCViewer_VService"
 #include "MBDebug.h"
 //---------------------------------------------------------
 
index 9f7e0595f1c5bb2dbc35db96dd037cc8778bc4bb..c01e6b1d4663b4bbc126a61999e5d88be6804ebe 100644 (file)
@@ -38,7 +38,7 @@
 
 //---------------------------------------------------------
 #define USE_DEBUG
-static const char *dbg_class = "OCCViewer_ViewFrame";
+#define MBCLASSNAME "OCCViewer_ViewFrame"
 #include "MBDebug.h"
 //---------------------------------------------------------
 
index b20fcf968f917b46d0038d3a12ded8bb4ac575b7..b65ccbe2878aa90e1ad2f84ac514851c07ec1b17 100644 (file)
@@ -26,7 +26,7 @@
 
 //---------------------------------------------------------
 #define USE_DEBUG
-static const char *dbg_class = "OCCViewer_ViewManager";
+#define MBCLASSNAME "OCCViewer_ViewManager"
 #include "MBDebug.h"
 //---------------------------------------------------------
 
index 3491a28d2d87b280438e659c98aa3e82577b3a38..40844ff3ea0b8370c56a4dbc801b2ea547465326 100644 (file)
@@ -71,7 +71,7 @@
 
 //---------------------------------------------------------
 #define USE_DEBUG
-static const char *dbg_class = "OCCViewer_ViewModel";
+#define MBCLASSNAME "OCCViewer_ViewModel"
 #include "MBDebug.h"
 //---------------------------------------------------------
 
index d9f28d7c3660bbf5df0ec7e2894bbde83830e71a..ed46e3b0477d066014e5226d25d99855a8a9db99 100644 (file)
@@ -52,7 +52,7 @@
 
 //---------------------------------------------------------
 #define USE_DEBUG
-static const char *dbg_class = "OCCViewer_ViewPort";
+#define MBCLASSNAME "OCCViewer_ViewPort"
 #include "MBDebug.h"
 //---------------------------------------------------------
 
index 2410389e611f957d6115b15c98744e9bea42ff77..cd7a353289c7da91b275e7c43c457d79f89195db 100644 (file)
@@ -52,7 +52,7 @@
 
 //---------------------------------------------------------
 #define USE_DEBUG
-static const char *dbg_class = "OCCViewer_ViewPort3d";
+#define MBCLASSNAME "OCCViewer_ViewPort3d"
 #include "MBDebug.h"
 //---------------------------------------------------------
 
index d3118166d36b874990c61b2325affe570d8f8edc..1872e453142f8ced85122f4d83d8b70e6878ad26 100644 (file)
@@ -99,7 +99,7 @@
 
 //---------------------------------------------------------
 #define USE_DEBUG
-static const char *dbg_class = "OCCViewer_ViewWindow";
+#define MBCLASSNAME "OCCViewer_ViewWindow"
 #include "MBDebug.h"
 //---------------------------------------------------------
 
index e713be951a8161f49501d599a983ee5cd8e10d09..693ae6c5d0f8fd4fdf7e32ba14eb87a59dae04cf 100644 (file)
@@ -200,7 +200,7 @@ SVTK_Renderer
                 void* theClientData, 
                 void* vtkNotUsed(theCallData))
 {
-  DBG_FUN();
+  DBG_FUNC();
   SVTK_Renderer* self = reinterpret_cast<SVTK_Renderer*>(theClientData);
 
   switch(theEvent){
index 63a0af4066228dc3ab9af2e2a52b69fab7632357..0d3e7ca71348bb568b8c4f7e2b691fcda776c0a4 100644 (file)
@@ -2825,7 +2825,7 @@ void SVTK_ViewWindow::ProcessEvents(vtkObject* vtkNotUsed(theObject),
                                     void* theClientData,
                                     void* /*theCallData*/)
 {
-  DBG_FUN();
+  DBG_FUNC();
   SVTK_ViewWindow* self = reinterpret_cast<SVTK_ViewWindow*>(theClientData);
   if(self)
     self->emitTransformed();