Macros | Functions
errorhandler.hpp File Reference
#include "sick_scan/sick_scan_base.h"
#include "sick_scan/tcp/BasicDatatypes.hpp"
#include <stdexcept>
Include dependency graph for errorhandler.hpp:
This graph shows which files directly or indirectly include this file:

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)
 

Macro Definition Documentation

◆ ERRORHANDLER_HPP

#define ERRORHANDLER_HPP

Fehler-Handler.

Definition at line 7 of file errorhandler.hpp.

◆ printInfoMessage

#define printInfoMessage (   a,
 
)    (b ? infoMessage(a, b):doNothing())

Definition at line 14 of file errorhandler.hpp.

Function Documentation

◆ dieWithError()

void dieWithError ( std::string  errorMessage)

Fehler-"behandlung": Schreibe die Fehlermeldung und beende das Programm.

Definition at line 30 of file errorhandler.cpp.

◆ doNothing()

void doNothing ( )

Der Name ist Programm...

Definition at line 22 of file errorhandler.cpp.

◆ infoMessage()

void infoMessage ( std::string  message,
bool  print 
)

Info-Text auf die Ausgabe schreiben.

Definition at line 52 of file errorhandler.cpp.

◆ printError()

void printError ( std::string  message)

Definition at line 102 of file errorhandler.cpp.

◆ printWarning()

void printWarning ( std::string  message)

Definition at line 80 of file errorhandler.cpp.



sick_scan_xd
Author(s): Michael Lehning , Jochen Sprickerhof , Martin Günther
autogenerated on Fri Oct 25 2024 02:47:13