00001 #ifndef SCT_BUGREPORT_H 00002 #define SCT_BUGREPORT_H 00003 00004 #include <string> 00005 #include "Sct/SctNames.h" 00006 #include "mrs/message.h" 00007 #include <unistd.h> 00008 00009 namespace Sct { 00010 00011 inline void BugReport(const std::string & bugCode, 00012 const std::string & block, 00013 const std::string & text, 00014 const unsigned long sleepMicroseconds=0) { 00015 // SctNames::Mrs() << block+"_"+bugCode << MRS_TEXT(text) << MRS_DIAGNOSTIC << ENDM; 00016 // usleep(sleepMicroseconds); 00017 }; 00018 00019 }; 00020 00021 #endif