#include <iomanip>#include <iostream>#include <map>#include <vector>#include <Eigen/Geometry>#include <kdl/frames.hpp>

Go to the source code of this file.
Classes | |
| class | exotica::Printable |
Namespaces | |
| exotica | |
Macros | |
| #define | __PRETTY_FUNCTION__ __func__ |
| A set of debugging tools: basically these provide easy ways of checking code execution through std::cout prints. More... | |
| #define | CHECK_EXECUTION |
| #define | ERROR(x) |
| #define | HIGHLIGHT(x) std::cout << "\033[1;32m[EXOTica]:\033[0m \033[36m" << x << "\033[0m\n"; |
| #define | HIGHLIGHT_NAMED(name, x) std::cout << "\033[1;32m[EXOTica]:\033[0m \033[35m[" << name << "]\033[0m \033[36m" << x << "\033[0m\n"; |
| #define | INDICATE_FAILURE std::cerr << "\033[1;32m[EXOTica]:\033[0m \033[1;31mFailed in " << __FILE__ << " at line " << __LINE__ << " within function " << __PRETTY_FUNCTION__ << ".\033[0m\n"; |
| With endline. More... | |
| #define | INFO(x) |
| #define | INFO_NAMED(name, x) std::cout << "\033[1;32m[EXOTica]:\033[0m \033[35m[" << name << "]\033[0m " << x << "\n"; |
| #define | INFO_PLAIN(x) std::cout << x << "\n"; |
| #define | WARNING(x) std::cout << "\033[1;32m[EXOTica]:\033[0m \033[33mWarning in " << __PRETTY_FUNCTION__ << ": " << x << "\033[0m\n"; |
| With endline. More... | |
| #define | WARNING_NAMED(name, x) std::cout << "\033[1;32m[EXOTica]:\033[0m \033[35m[" << name << "]\033[0m \033[33m" << x << "\033[0m\n"; |
Functions | |
| std::ostream & | exotica::operator<< (std::ostream &os, const Printable &s) |
| template<typename I , typename T > | |
| std::ostream & | exotica::operator<< (std::ostream &os, const std::map< I, T > &s) |
| template<typename T > | |
| std::ostream & | exotica::operator<< (std::ostream &os, const std::vector< T > &s) |
| void | exotica::PrintDimensions (const std::string &name, const Eigen::Ref< const Eigen::MatrixXd > m) |
| std::string | exotica::ToString (const Eigen::Isometry3d &s) |
| std::string | exotica::ToString (const KDL::Frame &s) |
| #define __PRETTY_FUNCTION__ __func__ |
A set of debugging tools: basically these provide easy ways of checking code execution through std::cout prints.
Definition at line 43 of file printable.h.
| #define CHECK_EXECUTION |
Definition at line 54 of file printable.h.
| #define ERROR | ( | x | ) |
Definition at line 57 of file printable.h.
| #define HIGHLIGHT | ( | x | ) | std::cout << "\033[1;32m[EXOTica]:\033[0m \033[36m" << x << "\033[0m\n"; |
Definition at line 61 of file printable.h.
| #define HIGHLIGHT_NAMED | ( | name, | |
| x | |||
| ) | std::cout << "\033[1;32m[EXOTica]:\033[0m \033[35m[" << name << "]\033[0m \033[36m" << x << "\033[0m\n"; |
Definition at line 62 of file printable.h.
| #define INDICATE_FAILURE std::cerr << "\033[1;32m[EXOTica]:\033[0m \033[1;31mFailed in " << __FILE__ << " at line " << __LINE__ << " within function " << __PRETTY_FUNCTION__ << ".\033[0m\n"; |
With endline.
Definition at line 55 of file printable.h.
| #define INFO | ( | x | ) |
Definition at line 59 of file printable.h.
| #define INFO_NAMED | ( | name, | |
| x | |||
| ) | std::cout << "\033[1;32m[EXOTica]:\033[0m \033[35m[" << name << "]\033[0m " << x << "\n"; |
Definition at line 64 of file printable.h.
Definition at line 65 of file printable.h.
| #define WARNING | ( | x | ) | std::cout << "\033[1;32m[EXOTica]:\033[0m \033[33mWarning in " << __PRETTY_FUNCTION__ << ": " << x << "\033[0m\n"; |
With endline.
Definition at line 56 of file printable.h.
| #define WARNING_NAMED | ( | name, | |
| x | |||
| ) | std::cout << "\033[1;32m[EXOTica]:\033[0m \033[35m[" << name << "]\033[0m \033[33m" << x << "\033[0m\n"; |
Definition at line 63 of file printable.h.