ApplicationStartupDebugTools.h

00001 
00002 #ifndef SCT_APPLICATIONSTARTUPDEBUGTOOLS_H
00003 #define SCT_APPLICATIONSTARTUPDEBUGTOOLS_H
00004 
00005 #include <string> 
00006 
00007 namespace Sct {
00008 
00009   class ApplicationStartupDebugTools {
00010   public:
00011     static void announceStartOfMain(const int argc, // make me and the next arg 0 if you don't have access to us!
00012                                     const char * const * const argv,
00013                                     const std::string & file,
00014                                     const unsigned int line,
00015                                     const std::string & message="",
00016                                     unsigned int delaySeconds=0);
00017   private:
00018     static std::string programArgs(const int argc,
00019                                    const char * const * const argv);
00020   };
00021 };
00022 
00023 #endif

Generated on Mon Feb 6 14:01:16 2006 for SCT DAQ/DCS Software - C++ by  doxygen 1.4.6