#include <stdio.h>
#include <stdlib.h>
#include "pthread.h"
#include "sick_scan/tcp/errorhandler.hpp"
#include "sick_scan/tcp/Time.hpp"
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 |
void dieWithError | ( | std::string | errorMessage | ) |
Fehler-"behandlung": Schreibe die Fehlermeldung und beende das Programm.
Definition at line 28 of file errorhandler.cpp.
void doNothing | ( | ) |
Der Name ist Programm...
Definition at line 20 of file errorhandler.cpp.
void infoMessage | ( | std::string | message, |
bool | |||
) |
Info-Text auf die Ausgabe schreiben.
Definition at line 46 of file errorhandler.cpp.
void printError | ( | std::string | message | ) |
Definition at line 94 of file errorhandler.cpp.
void printWarning | ( | std::string | message | ) |
Definition at line 73 of file errorhandler.cpp.
pthread_mutex_t m_printMutex = PTHREAD_MUTEX_INITIALIZER |
ErrorHandler.
Definition at line 15 of file errorhandler.cpp.