include
sick_scan
tcp
errorhandler.hpp
Go to the documentation of this file.
1
#include "
sick_scan/sick_scan_base.h
"
/* Base definitions included in all header files, added by add_sick_scan_base_header.py. Do not edit this line. */
6
#ifndef ERRORHANDLER_HPP
7
#define ERRORHANDLER_HPP
8
9
10
#include "
sick_scan/tcp/BasicDatatypes.hpp
"
11
#include <stdexcept>
// for throw
12
13
14
#define printInfoMessage(a, b) (b ? infoMessage(a, b):doNothing())
15
16
// Fehler-"behandlung": Schreibe die Fehlermeldung und beende das Programm.
17
void
dieWithError
(std::string errorMessage);
18
19
void
infoMessage
(std::string message,
bool
print
=
true
);
20
21
void
printWarning
(std::string message);
22
23
void
printError
(std::string message);
24
25
void
doNothing
();
26
27
#endif // ERRORHANDLER_HPP
BasicDatatypes.hpp
infoMessage
void infoMessage(std::string message, bool print=true)
Definition:
errorhandler.cpp:52
roswrap::console::print
ROSCONSOLE_DECL void print(FilterBase *filter, void *logger, Level level, const char *file, int line, const char *function, const char *fmt,...) ROSCONSOLE_PRINTF_ATTRIBUTE(7
Don't call this directly. Use the ROS_LOG() macro instead.
doNothing
void doNothing()
Definition:
errorhandler.cpp:22
dieWithError
void dieWithError(std::string errorMessage)
Definition:
errorhandler.cpp:30
printWarning
void printWarning(std::string message)
Definition:
errorhandler.cpp:80
sick_scan_base.h
printError
void printError(std::string message)
Definition:
errorhandler.cpp:102
sick_scan_xd
Author(s): Michael Lehning
, Jochen Sprickerhof
, Martin Günther
autogenerated on Fri Oct 25 2024 02:47:08