Functions | Variables
errorhandler.cpp File Reference
#include <pthread.h>
#include <stdio.h>
#include <stdlib.h>
#include "errorhandler.hpp"
#include "Time.hpp"
Include dependency graph for errorhandler.cpp:

Go to the source code of this file.

Functions

void dieWithError (std::string errorMessage)
 
void doNothing ()
 
void infoMessage (std::string message, bool print)
 
void printError (std::string message)
 
void printWarning (std::string message)
 

Variables

pthread_mutex_t m_printMutex = PTHREAD_MUTEX_INITIALIZER
 

Function Documentation

◆ dieWithError()

void dieWithError ( std::string  errorMessage)

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

Definition at line 28 of file errorhandler.cpp.

◆ doNothing()

void doNothing ( )

Der Name ist Programm...

Definition at line 20 of file errorhandler.cpp.

◆ infoMessage()

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

Info-Text auf die Ausgabe schreiben.

Definition at line 46 of file errorhandler.cpp.

◆ printError()

void printError ( std::string  message)

Definition at line 88 of file errorhandler.cpp.

◆ printWarning()

void printWarning ( std::string  message)

Definition at line 70 of file errorhandler.cpp.

Variable Documentation

◆ m_printMutex

pthread_mutex_t m_printMutex = PTHREAD_MUTEX_INITIALIZER

ErrorHandler.

Definition at line 15 of file errorhandler.cpp.



libsick_ldmrs
Author(s): SICK AG , Martin Günther , Jochen Sprickerhof
autogenerated on Wed Oct 26 2022 02:08:38