#include "sick_scan/sick_scan_base.h"#include "sick_scan/tcp/BasicDatatypes.hpp"#include <stdexcept>

Go to the source code of this file.
Macros | |
| #define | ERRORHANDLER_HPP |
| #define | printInfoMessage(a, b) (b ? infoMessage(a, b):doNothing()) |
Functions | |
| void | dieWithError (std::string errorMessage) |
| void | doNothing () |
| void | infoMessage (std::string message, bool print=true) |
| void | printError (std::string message) |
| void | printWarning (std::string message) |
| #define ERRORHANDLER_HPP |
Fehler-Handler.
Definition at line 7 of file errorhandler.hpp.
| #define printInfoMessage | ( | a, | |
| b | |||
| ) | (b ? infoMessage(a, b):doNothing()) |
Definition at line 14 of file errorhandler.hpp.
| void dieWithError | ( | std::string | errorMessage | ) |
Fehler-"behandlung": Schreibe die Fehlermeldung und beende das Programm.
Definition at line 30 of file errorhandler.cpp.
| void doNothing | ( | ) |
Der Name ist Programm...
Definition at line 22 of file errorhandler.cpp.
| void infoMessage | ( | std::string | message, |
| bool | |||
| ) |
Info-Text auf die Ausgabe schreiben.
Definition at line 52 of file errorhandler.cpp.
| void printError | ( | std::string | message | ) |
Definition at line 102 of file errorhandler.cpp.
| void printWarning | ( | std::string | message | ) |
Definition at line 80 of file errorhandler.cpp.