Go to the source code of this file.
Classes | |
struct | mrpt::utils::CProfilerProxy |
Namespaces | |
namespace | mrpt |
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries. | |
namespace | mrpt::system |
This namespace provides a OS-independent interface to many useful functions: filenames manipulation, time and date, string parsing, file I/O, threading, memory allocation, etc. | |
namespace | mrpt::math |
This base provides a set of functions for maths stuff. | |
namespace | mrpt::utils |
Classes for serialization, sockets, ini-file manipulation, streams, list of properties-values, timewatch, extensions to STL. | |
Functions | |
std::string BASE_IMPEXP | mrpt::format (const char *fmt,...) MRPT_printf_format_check(1 |
A std::string version of C sprintf. | |
std::string BASE_IMPEXP | mrpt::system::stack_trace (bool calling_from_exception=false) |
Dumps the current program stack with detailed information of source files and lines. | |
bool BASE_IMPEXP | mrpt::math::isNaN (float f) MRPT_NO_THROWS |
Returns true if the number is NaN. | |
bool BASE_IMPEXP | mrpt::math::isNaN (double f) MRPT_NO_THROWS |
Returns true if the number is NaN. | |
bool BASE_IMPEXP | mrpt::math::isFinite (float f) MRPT_NO_THROWS |
Returns true if the number is non infinity. | |
bool BASE_IMPEXP | mrpt::math::isFinite (double f) MRPT_NO_THROWS |
Returns true if the number is non infinity. | |
template<class MATRIXLIKE > | |
size_t | mrpt::math::size (const MATRIXLIKE &m, int dim) |
double | mrpt::utils::DEG2RAD (const double x) |
Degrees to radians. | |
float | mrpt::utils::DEG2RAD (const float x) |
Degrees to radians. | |
float | mrpt::utils::DEG2RAD (const int x) |
Degrees to radians. | |
double | mrpt::utils::RAD2DEG (const double x) |
Radians to degrees. | |
float | mrpt::utils::RAD2DEG (const float x) |
Radians to degrees. | |
template<typename T > | |
int | mrpt::utils::sign (T x) |
Returns the sign of X as "1" or "-1". | |
template<typename T > | |
int | mrpt::utils::signWithZero (T x) |
Returns the sign of X as "0", "1" or "-1". | |
template<typename T > | |
int | mrpt::utils::round (const T value) |
Returns the closer integer (int) to x. | |
template<typename T > | |
long | mrpt::utils::round_long (const T value) |
Returns the closer integer (long) to x. | |
template<typename T > | |
int | mrpt::utils::fix (T x) |
Rounds toward zero. | |
template<class T > | |
T | mrpt::utils::square (const T x) |
Inline function for the square of a number. | |
template<class R , class P > | |
R * | mrpt::utils::getAs (stlplus::smart_ptr_clone< P > &o) |
Utility to get a cast'ed pointer from a smart pointer. | |
template<class R , class P > | |
const R * | mrpt::utils::getAs (const stlplus::smart_ptr_clone< P > &o) |
Utility to get a cast'ed pointer from a smart pointer. | |
template<class T > | |
void | mrpt::utils::reverseBytesInPlace (T &v_in_out) |
Reverse the order of the bytes of a given type (useful for transforming btw little/big endian) | |
template<class T > | |
void | mrpt::utils::reverseBytes (const T &v_in, T &v_out) |
Reverse the order of the bytes of a given type (useful for transforming btw little/big endian) | |
template<typename T , typename K > | |
void | mrpt::utils::keep_min (T &var, const K test_val) |
If the second argument is below the first one, set the first argument to this lower value. | |
template<typename T , typename K > | |
void | mrpt::utils::keep_max (T &var, const K test_val) |
If the second argument is above the first one, set the first argument to this higher value. | |
template<class T > | |
void | mrpt::utils::delete_safe (T *&ptr) |
Calls "delete" to free an object only if the pointer is not NULL, then set the pointer to NULL. | |
Directories, files, and file names | |
std::string BASE_IMPEXP | mrpt::system::extractFileName (const std::string &filePath) |
Extract just the name (without extension) of a filename from a complete path plus name plus extension. | |
Auxiliary stuff for the global profiler used in MRPT_START / MRPT_END macros. | |
void BASE_IMPEXP | mrpt::utils::global_profiler_enter (const char *func_name) MRPT_NO_THROWS |
void BASE_IMPEXP | mrpt::utils::global_profiler_leave (const char *func_name) MRPT_NO_THROWS |
Page generated by Doxygen 1.7.3 for MRPT 0.9.4 SVN: at Sat Mar 26 06:40:17 UTC 2011 |