Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

rt::NoBreakSection Class Reference

a section of code which should not be abortable by the user. It is protected by a breakHandler which defers the break until the section is finished. (You can also ignore the break completely.). More...

#include <robutils.h>

List of all members.

Public Methods

 NoBreakSection (bool ignoreBreak=false)
 enters the section automatically.

 ~NoBreakSection ()
 leaves the section automatically.

void enter ()
 re-enters the section.

void leave ()
 leaves the section. If we don't ignore breaks, and the user in fact breaked during the section, exits the program now.


Static Public Methods

void breakHandler (lrt::System::BreakType type)


Detailed Description

a section of code which should not be abortable by the user. It is protected by a breakHandler which defers the break until the section is finished. (You can also ignore the break completely.).


The documentation for this class was generated from the following files:
This is the RoboTour API documentation version 0.1 • Copyright (C) by Florian Fischer