00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014 #ifndef __XVR2_EXCEPTION_TRACE_DUMPER_H__
00015 #define __XVR2_EXCEPTION_TRACE_DUMPER_H__
00016 #include<xvr2/Object.h>
00017
00018 namespace xvr2{
00019 class ExceptionTracer : public Object {
00020 private:
00021 static bool isEnabled();
00022 protected:
00023 virtual void dumpTrace();
00024 public:
00025 ExceptionTracer();
00026 static void enable();
00027 static void disable();
00028 const char *backtrace();
00029 };
00030 }
00031
00032 #endif