Go to the source code of this file.
Macros | |
#define | __KINECT2_CONSOLE_H__ |
#define | EXTENDED_OUTPUT 1 |
#define | FG_BLACK "\033[30m" |
#define | FG_BLUE "\033[34m" |
#define | FG_CYAN "\033[36m" |
#define | FG_GREEN "\033[32m" |
#define | FG_MAGENTA "\033[35m" |
#define | FG_RED "\033[31m" |
#define | FG_YELLOW "\033[33m" |
#define | NO_COLOR "\033[0m" |
#define | OUT_AUX(FUNC_COLOR, MSG_COLOR, STREAM, MSG) STREAM(FUNC_COLOR "[" << getFunctionName(__PRETTY_FUNCTION__) << "] " MSG_COLOR << MSG << NO_COLOR) |
#define | OUT_DEBUG(msg) OUT_AUX(FG_BLUE, NO_COLOR, ROS_DEBUG_STREAM, msg) |
#define | OUT_ERROR(msg) OUT_AUX(FG_RED, FG_RED, ROS_ERROR_STREAM, msg) |
#define | OUT_INFO(msg) OUT_AUX(FG_GREEN, NO_COLOR, ROS_INFO_STREAM, msg) |
#define | OUT_WARN(msg) OUT_AUX(FG_YELLOW, FG_YELLOW, ROS_WARN_STREAM, msg) |
Functions | |
const std::string | getFunctionName (const std::string &name) |
#define __KINECT2_CONSOLE_H__ |
Copyright 2015 University of Bremen, Institute for Artificial Intelligence Author: Thiemo Wiedemeyer wiede meye r@cs. uni- breme n.de
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Definition at line 20 of file kinect2_console.h.
#define EXTENDED_OUTPUT 1 |
Definition at line 26 of file kinect2_console.h.
#define FG_BLACK "\033[30m" |
Definition at line 31 of file kinect2_console.h.
#define FG_BLUE "\033[34m" |
Definition at line 35 of file kinect2_console.h.
#define FG_CYAN "\033[36m" |
Definition at line 37 of file kinect2_console.h.
#define FG_GREEN "\033[32m" |
Definition at line 33 of file kinect2_console.h.
#define FG_MAGENTA "\033[35m" |
Definition at line 36 of file kinect2_console.h.
#define FG_RED "\033[31m" |
Definition at line 32 of file kinect2_console.h.
#define FG_YELLOW "\033[33m" |
Definition at line 34 of file kinect2_console.h.
#define NO_COLOR "\033[0m" |
Definition at line 30 of file kinect2_console.h.
#define OUT_AUX | ( | FUNC_COLOR, | |
MSG_COLOR, | |||
STREAM, | |||
MSG | |||
) | STREAM(FUNC_COLOR "[" << getFunctionName(__PRETTY_FUNCTION__) << "] " MSG_COLOR << MSG << NO_COLOR) |
Definition at line 40 of file kinect2_console.h.
#define OUT_DEBUG | ( | msg | ) | OUT_AUX(FG_BLUE, NO_COLOR, ROS_DEBUG_STREAM, msg) |
Definition at line 42 of file kinect2_console.h.
#define OUT_ERROR | ( | msg | ) | OUT_AUX(FG_RED, FG_RED, ROS_ERROR_STREAM, msg) |
Definition at line 45 of file kinect2_console.h.
#define OUT_INFO | ( | msg | ) | OUT_AUX(FG_GREEN, NO_COLOR, ROS_INFO_STREAM, msg) |
Definition at line 43 of file kinect2_console.h.
#define OUT_WARN | ( | msg | ) | OUT_AUX(FG_YELLOW, FG_YELLOW, ROS_WARN_STREAM, msg) |
Definition at line 44 of file kinect2_console.h.
const std::string getFunctionName | ( | const std::string & | name | ) |
Definition at line 92 of file kinect2_registration.cpp.