00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00020 #ifndef __RT_ROBUTILS__
00021 #define __RT_ROBUTILS__
00022
00023 #include <rtsystem.h>
00024
00025 namespace rt {
00026
00030 class NoBreakSection {
00031 public:
00032 static void breakHandler(lrt::System::BreakType type);
00033 public:
00035 NoBreakSection(bool ignoreBreak = false);
00037 ~NoBreakSection();
00038
00040 void enter();
00043 void leave();
00044
00045 private:
00046 static bool breakOccured;
00047 static NoBreakSection* inside;
00048 private:
00049 bool ignoreBreak;
00050 };
00051
00052 };
00053
00054 #endif