XBotInterface  2.4.1
XBotInterface provides a generic API to model and control a robot.
Namespaces | Macros | Functions
RtLog.cpp File Reference
#include <XBotInterface/RtLog.hpp>
#include <stdio.h>
#include <pthread.h>
+ Include dependency graph for RtLog.cpp:

Namespaces

 XBot
 

Macros

#define RT_LOG_RESET   "\033[0m"
 
#define RT_LOG_BLACK   "\033[30m" /* Black */
 
#define RT_LOG_RED   "\033[31m" /* Red */
 
#define RT_LOG_GREEN   "\033[32m" /* Green */
 
#define RT_LOG_YELLOW   "\033[33m" /* Yellow */
 
#define RT_LOG_BLUE   "\033[34m" /* Blue */
 
#define RT_LOG_MAGENTA   "\033[35m" /* Magenta */
 
#define RT_LOG_CYAN   "\033[36m" /* Cyan */
 
#define RT_LOG_WHITE   "\033[37m" /* White */
 
#define DPRINTF   printf
 
#define SET_LOCK_GUARD(x)
 

Functions

std::ostream & XBot::bold_on (std::ostream &os)
 
std::ostream & XBot::bold_off (std::ostream &os)
 
std::ostream & XBot::color_green (std::ostream &os)
 
std::ostream & XBot::color_red (std::ostream &os)
 
std::ostream & XBot::color_yellow (std::ostream &os)
 
std::ostream & XBot::color_reset (std::ostream &os)
 
void XBot::operator<< (std::ostream &os, Endl &endl)
 

Macro Definition Documentation

◆ DPRINTF

#define DPRINTF   printf

◆ RT_LOG_BLACK

#define RT_LOG_BLACK   "\033[30m" /* Black */

◆ RT_LOG_BLUE

#define RT_LOG_BLUE   "\033[34m" /* Blue */

◆ RT_LOG_CYAN

#define RT_LOG_CYAN   "\033[36m" /* Cyan */

◆ RT_LOG_GREEN

#define RT_LOG_GREEN   "\033[32m" /* Green */

◆ RT_LOG_MAGENTA

#define RT_LOG_MAGENTA   "\033[35m" /* Magenta */

◆ RT_LOG_RED

#define RT_LOG_RED   "\033[31m" /* Red */

◆ RT_LOG_RESET

#define RT_LOG_RESET   "\033[0m"

◆ RT_LOG_WHITE

#define RT_LOG_WHITE   "\033[37m" /* White */

◆ RT_LOG_YELLOW

#define RT_LOG_YELLOW   "\033[33m" /* Yellow */

◆ SET_LOCK_GUARD

#define SET_LOCK_GUARD (   x)