Robotis Manipulator  1.0.0
robotis_manipulator_log.h File Reference
#include <unistd.h>
#include <vector>
#include <string>
Include dependency graph for robotis_manipulator_log.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 robotis_manipulator
 main namespace
 
 robotis_manipulator::log
 

Macros

#define ANSI_COLOR_RED   "\x1b[31m"
 
#define ANSI_COLOR_GREEN   "\x1b[32m"
 
#define ANSI_COLOR_YELLOW   "\x1b[33m"
 
#define ANSI_COLOR_BLUE   "\x1b[34m"
 
#define ANSI_COLOR_MAGENTA   "\x1b[35m"
 
#define ANSI_COLOR_CYAN   "\x1b[36m"
 
#define ANSI_COLOR_RESET   "\x1b[0m"
 

Typedefs

typedef std::string STRING
 

Functions

void robotis_manipulator::log::print (STRING str, STRING color="DEFAULT")
 print More...
 
void robotis_manipulator::log::print (STRING str, double data, uint8_t decimal_point=3, STRING color="DEFAULT")
 print More...
 
void robotis_manipulator::log::print (const char *str, STRING color="DEFAULT")
 print More...
 
void robotis_manipulator::log::print (const char *str, double data, uint8_t decimal_point=3, STRING color="DEFAULT")
 print More...
 
void robotis_manipulator::log::println (STRING str, STRING color="DEFAULT")
 println More...
 
void robotis_manipulator::log::println (STRING str, double data, uint8_t decimal_point=3, STRING color="DEFAULT")
 println More...
 
void robotis_manipulator::log::println (const char *str, STRING color="DEFAULT")
 println More...
 
void robotis_manipulator::log::println (const char *str, double data, uint8_t decimal_point=3, STRING color="DEFAULT")
 println More...
 
void robotis_manipulator::log::info (STRING str)
 info More...
 
void robotis_manipulator::log::info (STRING str, double data, uint8_t decimal_point=3)
 info More...
 
void robotis_manipulator::log::info (const char *str)
 info More...
 
void robotis_manipulator::log::info (const char *str, double data, uint8_t decimal_point=3)
 info More...
 
void robotis_manipulator::log::warn (STRING str)
 warn More...
 
void robotis_manipulator::log::warn (STRING str, double data, uint8_t decimal_point=3)
 warn More...
 
void robotis_manipulator::log::warn (const char *str)
 warn More...
 
void robotis_manipulator::log::warn (const char *str, double data, uint8_t decimal_point=3)
 warn More...
 
void robotis_manipulator::log::error (STRING str)
 error More...
 
void robotis_manipulator::log::error (STRING str, double data, uint8_t decimal_point=3)
 error More...
 
void robotis_manipulator::log::error (const char *str)
 error More...
 
void robotis_manipulator::log::error (const char *str, double data, uint8_t decimal_point=3)
 error More...
 
template<typename T >
void robotis_manipulator::log::print_vector (std::vector< T > &vec, uint8_t decimal_point=3)
 print_vector More...
 
template<typename vector >
void robotis_manipulator::log::print_vector (vector &vec, uint8_t decimal_point=3)
 print_vector More...
 
template<typename matrix >
void robotis_manipulator::log::print_matrix (matrix &m, uint8_t decimal_point=3)
 print_matrix More...
 

Macro Definition Documentation

#define ANSI_COLOR_BLUE   "\x1b[34m"

Definition at line 43 of file robotis_manipulator_log.h.

#define ANSI_COLOR_CYAN   "\x1b[36m"

Definition at line 45 of file robotis_manipulator_log.h.

#define ANSI_COLOR_GREEN   "\x1b[32m"

Definition at line 41 of file robotis_manipulator_log.h.

#define ANSI_COLOR_MAGENTA   "\x1b[35m"

Definition at line 44 of file robotis_manipulator_log.h.

#define ANSI_COLOR_RED   "\x1b[31m"

Definition at line 40 of file robotis_manipulator_log.h.

#define ANSI_COLOR_RESET   "\x1b[0m"

Definition at line 46 of file robotis_manipulator_log.h.

#define ANSI_COLOR_YELLOW   "\x1b[33m"

Definition at line 42 of file robotis_manipulator_log.h.

Typedef Documentation

typedef std::string STRING

Definition at line 52 of file robotis_manipulator_log.h.