Main MRPT website > C++ reference
MRPT logo
Macros
mrpt_macros.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define MRPT_DEPRECATED_PRE(_MSG)
 
#define MRPT_DEPRECATED_POST(_MSG)
 
#define MRPT_DECLARE_DEPRECATED_FUNCTION(__MSG, __FUNC)   MRPT_DEPRECATED_PRE(__MSG) __FUNC MRPT_DEPRECATED_POST(__MSG)
 Usage: MRPT_DECLARE_DEPRECATED_FUNCTION("Use XX instead", void myFunc(double));.
 
#define MRPT_DO_PRAGMA(x)
 Declare MRPT_TODO(message)
 
#define MRPT_MSG_PRAGMA(_msg)
 
#define MRPT_WARNING(x)   MRPT_MSG_PRAGMA("Warning: " #x)
 
#define MRPT_TODO(x)   MRPT_MSG_PRAGMA("TODO: " #x)
 
#define MRPT_printf_format_check(_FMT_, _VARARGS_)
 
#define MRPT_scanf_format_check(_FMT_, _VARARGS_)
 
#define MRPT_NO_THROWS   throw()
 Used after member declarations.
 
#define MRPT_ALIGN16
 
#define MRPT_ALIGN32
 
#define __CURRENT_FUNCTION_NAME__   __PRETTY_FUNCTION__
 A macro for obtaining the name of the current function:
 
#define MRPT_DEBUG_BREAKPOINT(_msg)   { }
 Only if compiled in debug (_DEBUG defined), calls mrpt::system::breakpoint() with the given message.
 
#define THROW_EXCEPTION(msg)
 
#define THROW_EXCEPTION_CUSTOM_MSG1(msg, param1)
 
#define THROW_TYPED_EXCEPTION(msg, exceptionClass)
 Defines a unified way of reporting exceptions of type different from "std::exception".
 
#define THROW_TYPED_EXCEPTION_CUSTOM_MSG1(msg, param1, exceptionClass)
 
#define THROW_STACKED_EXCEPTION(e)
 
#define THROW_STACKED_EXCEPTION_CUSTOM_MSG1(e, msg)
 
#define THROW_STACKED_EXCEPTION_CUSTOM_MSG2(e, stuff, param1)
 
#define MRPT_THROW_UNKNOWN_SERIALIZATION_VERSION(V)   THROW_EXCEPTION(mrpt::format("Cannot parse object: unknown serialization version number: '%i'",static_cast<int>(version)))
 For use in CSerializable implementations.
 
#define ASSERTMSG_(f, __ERROR_MSG)   { }
 
#define ASSERT_(f)   { }
 
#define MRPT_CHECK_NORMAL_NUMBER(val)   { }
 
#define MRPT_COMPILE_TIME_ASSERT(f)   { }
 
#define ASSERT_EQUAL_(__A, __B)   { }
 
#define ASSERT_NOT_EQUAL_(__A, __B)   { }
 
#define ASSERT_BELOW_(__A, __B)   { }
 
#define ASSERT_ABOVE_(__A, __B)   { }
 
#define ASSERT_BELOWEQ_(__A, __B)   { }
 
#define ASSERT_ABOVEEQ_(__A, __B)   { }
 
#define ASSERT_FILE_EXISTS_(FIL)   { }
 
#define ASSERT_DIRECTORY_EXISTS_(DIR)   { }
 
#define ASSERTDEB_(f)   { }
 Defines an assertion mechanism - only when compiled in debug.
 
#define ASSERTDEBMSG_(f, __ERROR_MSG)   { }
 
#define MRPT_UNUSED_PARAM(a)   (void)(a)
 Can be used to avoid "not used parameters" warnings from the compiler.
 
#define MRPT_TRY_START
 
#define MRPT_TRY_END
 
#define MRPT_TRY_END_WITH_CLEAN_UP(stuff)
 
#define MRPT_PROFILE_FUNC_START
 
#define MRPT_START
 
#define MRPT_END   MRPT_TRY_END
 
#define MRPT_END_WITH_CLEAN_UP(stuff)   MRPT_TRY_END_WITH_CLEAN_UP(stuff)
 
#define M_PI   3.14159265358979323846264338327950288
 
#define M_2PI   6.283185307179586476925286766559
 
#define M_PIf   3.14159265358979f
 
#define M_2PIf   6.28318530717959f
 
#define MRPT_printf_format_check(_FMT_, _VARARGS_)
 
#define MRPT_scanf_format_check(_FMT_, _VARARGS_)
 
#define MRPT_NO_THROWS   throw()
 Used after member declarations.
 
#define MRPT_FORCE_INLINE   inline
 Tells the compiler we really want to inline that function.
 
#define MRPT_DEPRECATED_PRE(_MSG)
 
#define MRPT_DEPRECATED_POST(_MSG)
 
#define MRPT_DECLARE_DEPRECATED_FUNCTION(__MSG, __FUNC)   MRPT_DEPRECATED_PRE(__MSG) __FUNC MRPT_DEPRECATED_POST(__MSG)
 
#define MRPT_DO_PRAGMA(x)
 
#define MRPT_MSG_PRAGMA(_msg)
 
#define MRPT_WARNING(x)   MRPT_MSG_PRAGMA("Warning: " #x)
 
#define MRPT_TODO(x)   MRPT_MSG_PRAGMA("TODO: " #x)
 
#define MRPT_printf_format_check(_FMT_, _VARARGS_)
 
#define MRPT_scanf_format_check(_FMT_, _VARARGS_)
 
#define MRPT_NO_THROWS   throw()
 
#define MRPT_ALIGN16
 
#define MRPT_ALIGN32
 
#define __CURRENT_FUNCTION_NAME__   __PRETTY_FUNCTION__
 
#define MRPT_DEBUG_BREAKPOINT(_msg)   { }
 
#define THROW_EXCEPTION(msg)
 
#define THROW_EXCEPTION_CUSTOM_MSG1(msg, param1)
 
#define THROW_TYPED_EXCEPTION(msg, exceptionClass)
 
#define THROW_TYPED_EXCEPTION_CUSTOM_MSG1(msg, param1, exceptionClass)
 
#define THROW_STACKED_EXCEPTION(e)
 
#define THROW_STACKED_EXCEPTION_CUSTOM_MSG1(e, msg)
 
#define THROW_STACKED_EXCEPTION_CUSTOM_MSG2(e, stuff, param1)
 
#define MRPT_THROW_UNKNOWN_SERIALIZATION_VERSION(V)   THROW_EXCEPTION(mrpt::format("Cannot parse object: unknown serialization version number: '%i'",static_cast<int>(version)))
 
#define ASSERTMSG_(f, __ERROR_MSG)   { }
 
#define ASSERT_(f)   { }
 
#define MRPT_CHECK_NORMAL_NUMBER(val)   { }
 
#define MRPT_COMPILE_TIME_ASSERT(f)   { }
 
#define ASSERT_EQUAL_(__A, __B)   { }
 
#define ASSERT_NOT_EQUAL_(__A, __B)   { }
 
#define ASSERT_BELOW_(__A, __B)   { }
 
#define ASSERT_ABOVE_(__A, __B)   { }
 
#define ASSERT_BELOWEQ_(__A, __B)   { }
 
#define ASSERT_ABOVEEQ_(__A, __B)   { }
 
#define ASSERT_FILE_EXISTS_(FIL)   { }
 
#define ASSERT_DIRECTORY_EXISTS_(DIR)   { }
 
#define ASSERTDEB_(f)   { }
 
#define ASSERTDEBMSG_(f, __ERROR_MSG)   { }
 
#define MRPT_UNUSED_PARAM(a)   (void)(a)
 
#define MRPT_TRY_START
 
#define MRPT_TRY_END
 
#define MRPT_TRY_END_WITH_CLEAN_UP(stuff)
 
#define MRPT_PROFILE_FUNC_START
 
#define MRPT_START
 
#define MRPT_END   MRPT_TRY_END
 
#define MRPT_END_WITH_CLEAN_UP(stuff)   MRPT_TRY_END_WITH_CLEAN_UP(stuff)
 
#define M_PIf   3.14159265358979f
 
#define M_2PIf   6.28318530717959f
 
#define MRPT_printf_format_check(_FMT_, _VARARGS_)
 
#define MRPT_scanf_format_check(_FMT_, _VARARGS_)
 
#define MRPT_NO_THROWS   throw()
 
#define MRPT_FORCE_INLINE   inline
 
#define MRPT_DEPRECATED_PRE(_MSG)
 
#define MRPT_DEPRECATED_POST(_MSG)
 
#define MRPT_DECLARE_DEPRECATED_FUNCTION(__MSG, __FUNC)   MRPT_DEPRECATED_PRE(__MSG) __FUNC MRPT_DEPRECATED_POST(__MSG)
 
#define MRPT_DO_PRAGMA(x)
 
#define MRPT_MSG_PRAGMA(_msg)
 
#define MRPT_WARNING(x)   MRPT_MSG_PRAGMA("Warning: " #x)
 
#define MRPT_TODO(x)   MRPT_MSG_PRAGMA("TODO: " #x)
 
#define MRPT_printf_format_check(_FMT_, _VARARGS_)
 
#define MRPT_scanf_format_check(_FMT_, _VARARGS_)
 
#define MRPT_NO_THROWS   throw()
 
#define MRPT_ALIGN16
 
#define MRPT_ALIGN32
 
#define __CURRENT_FUNCTION_NAME__   __PRETTY_FUNCTION__
 
#define MRPT_DEBUG_BREAKPOINT(_msg)   { }
 
#define THROW_EXCEPTION(msg)
 
#define THROW_EXCEPTION_CUSTOM_MSG1(msg, param1)
 
#define THROW_TYPED_EXCEPTION(msg, exceptionClass)
 
#define THROW_TYPED_EXCEPTION_CUSTOM_MSG1(msg, param1, exceptionClass)
 
#define THROW_STACKED_EXCEPTION(e)
 
#define THROW_STACKED_EXCEPTION_CUSTOM_MSG1(e, msg)
 
#define THROW_STACKED_EXCEPTION_CUSTOM_MSG2(e, stuff, param1)
 
#define MRPT_THROW_UNKNOWN_SERIALIZATION_VERSION(V)   THROW_EXCEPTION(mrpt::format("Cannot parse object: unknown serialization version number: '%i'",static_cast<int>(version)))
 
#define ASSERTMSG_(f, __ERROR_MSG)   { }
 
#define ASSERT_(f)   { }
 
#define MRPT_CHECK_NORMAL_NUMBER(val)   { }
 
#define MRPT_COMPILE_TIME_ASSERT(f)   { }
 
#define ASSERT_EQUAL_(__A, __B)   { }
 
#define ASSERT_NOT_EQUAL_(__A, __B)   { }
 
#define ASSERT_BELOW_(__A, __B)   { }
 
#define ASSERT_ABOVE_(__A, __B)   { }
 
#define ASSERT_BELOWEQ_(__A, __B)   { }
 
#define ASSERT_ABOVEEQ_(__A, __B)   { }
 
#define ASSERT_FILE_EXISTS_(FIL)   { }
 
#define ASSERT_DIRECTORY_EXISTS_(DIR)   { }
 
#define ASSERTDEB_(f)   { }
 
#define ASSERTDEBMSG_(f, __ERROR_MSG)   { }
 
#define MRPT_UNUSED_PARAM(a)   (void)(a)
 
#define MRPT_TRY_START
 
#define MRPT_TRY_END
 
#define MRPT_TRY_END_WITH_CLEAN_UP(stuff)
 
#define MRPT_PROFILE_FUNC_START
 
#define MRPT_START
 
#define MRPT_END   MRPT_TRY_END
 
#define MRPT_END_WITH_CLEAN_UP(stuff)   MRPT_TRY_END_WITH_CLEAN_UP(stuff)
 
#define M_PIf   3.14159265358979f
 
#define M_2PIf   6.28318530717959f
 
#define MRPT_printf_format_check(_FMT_, _VARARGS_)
 
#define MRPT_scanf_format_check(_FMT_, _VARARGS_)
 
#define MRPT_NO_THROWS   throw()
 
#define MRPT_FORCE_INLINE   inline
 

Macro Definition Documentation

#define __CURRENT_FUNCTION_NAME__   __PRETTY_FUNCTION__

A macro for obtaining the name of the current function:

Definition at line 112 of file CColouredPointsMap.h.

#define __CURRENT_FUNCTION_NAME__   __PRETTY_FUNCTION__
#define __CURRENT_FUNCTION_NAME__   __PRETTY_FUNCTION__
#define ASSERT_ (   f)    { }
#define ASSERT_ (   f)    { }

Definition at line 283 of file CColouredPointsMap.h.

Referenced by mrpt::math::CMatrixTemplate< mrpt::math::TPoint3D >::appendCol(), mrpt::math::CMatrixTemplate< mrpt::math::TPoint3D >::appendRow(), mrpt::math::CMatrixTemplate< mrpt::math::TPoint3D >::ASSERT_ENOUGHROOM(), mrpt::math::CConstMatrixColumnAccessor< MAT >::CConstMatrixColumnAccessor(), mrpt::math::CConstMatrixColumnAccessorExtended< MAT >::CConstMatrixColumnAccessorExtended(), mrpt::math::CConstMatrixRowAccessor< MAT >::CConstMatrixRowAccessor(), mrpt::math::CConstMatrixRowAccessorExtended< MAT >::CConstMatrixRowAccessorExtended(), mrpt::graphs::CDijkstra< TYPE_GRAPH, MAPS_IMPLEMENTATION >::CDijkstra(), mrpt::math::CMatrixColumnAccessor< MAT >::CMatrixColumnAccessor(), mrpt::math::CMatrixColumnAccessorExtended< MAT >::CMatrixColumnAccessorExtended(), mrpt::math::CMatrixRowAccessor< MAT >::CMatrixRowAccessor(), mrpt::math::CMatrixRowAccessorExtended< MAT >::CMatrixRowAccessorExtended(), mrpt::math::CMatrixTemplate< mrpt::math::TPoint3D >::CMatrixTemplate(), mrpt::math::confidenceIntervals(), mrpt::math::CHistogram::createWithFixedWidth(), mrpt::math::crossProduct3D(), mrpt::random::CRandomGenerator::drawGaussianMultivariate(), mrpt::math::estimateJacobian(), mrpt::math::CLevenbergMarquardtTempl< VECTORTYPE, USERPARAM >::execute(), mrpt::vision::find_descriptor_pairings(), mrpt::math::ModelSearch::geneticSingleModel(), mrpt::poses::CPointPDFSOG::get(), mrpt::slam::CBeaconMap::get(), mrpt::poses::CPosePDFSOG::get(), mrpt::slam::CPointsMap::getAllPoints(), mrpt::utils::CMHPropertiesValuesList::getAs(), mrpt::poses::CPose2DGridTemplate< double >::getAsMatrix(), mrpt::poses::CPose2DGridTemplate< double >::getByIndex(), mrpt::utils::CMessage::getContentAsStruct(), mrpt::utils::CMHPropertiesValuesList::getElemental(), mrpt::bayes::CKalmanFilterCapable< 7, 3, 3, 7 >::getLandmarkMean(), mrpt::opengl::CSetOfLines::getLineByIndex(), mrpt::bayes::CParticleFilterData< CRBPFParticleData >::getMostLikelyParticle(), mrpt::hmtslam::CHMHMapArc::getNodeFrom(), mrpt::hmtslam::CHMHMapArc::getNodeTo(), mrpt::math::CBinaryRelation< T, U, UIsObject >::getRelationFrom(), mrpt::math::CBinaryRelation< T, U, UIsObject >::getRelationTo(), mrpt::graphs::CDijkstra< TYPE_GRAPH, MAPS_IMPLEMENTATION >::getShortestPathTo(), mrpt::opengl::CSetOfTexturedTriangles::getTriangle(), mrpt::opengl::CSetOfTriangles::getTriangle(), mrpt::slam::CLandmark::getType(), mrpt::math::CPolygon::GetVertex_x(), mrpt::math::CPolygon::GetVertex_y(), mrpt::opengl::graph_tools::graph_visualize(), mrpt::math::homogeneousMatrixInverse(), mrpt::poses::CPose2DGridTemplate< double >::idx2phi(), mrpt::poses::CPose2DGridTemplate< double >::idx2x(), mrpt::poses::CPose2DGridTemplate< double >::idx2y(), mrpt::math::detail::VicinityTraits< CMatrixFixedNumeric< T, D, D > >::initialize(), mrpt::math::CMatrixTemplate< mrpt::math::TPoint3D >::insertCol(), mrpt::math::interpolate(), mrpt::math::KLD_Gaussians(), mrpt::math::leastSquareLinearFit(), mrpt::math::mahalanobisDistance2(), mrpt::math::maximum(), mrpt::math::minimum(), mrpt::math::minimum_maximum(), mrpt::math::ncc_vector(), mrpt::slam::detail::TPathBin2D::lt_operator::operator()(), mrpt::math::CMatrixTemplate< mrpt::math::TPoint3D >::operator()(), mrpt::utils::safe_ptr< TRuntimeClassId >::operator*(), mrpt::utils::non_copiable_ptr< mrpt::slam::CMultiMetricMap >::operator*(), mrpt::utils::copiable_NULL_ptr< T >::operator*(), mrpt::utils::safe_ptr_basic< TRuntimeClassId >::operator->(), mrpt::utils::non_copiable_ptr_basic< mrpt::slam::CMultiMetricMap >::operator->(), mrpt::utils::copiable_NULL_ptr_basic< T >::operator->(), mrpt::utils::safe_ptr< TRuntimeClassId >::operator[](), mrpt::poses::CPointPDFSOG::operator[](), mrpt::slam::CBeaconMap::operator[](), mrpt::poses::CPosePDFSOG::operator[](), mrpt::utils::non_copiable_ptr< mrpt::slam::CMultiMetricMap >::operator[](), mrpt::utils::copiable_NULL_ptr< T >::operator[](), mrpt::slam::PF_implementation< PARTICLE_TYPE, MYSELF >::PF_SLAM_implementation_pfAuxiliaryPFStandardAndOptimal(), mrpt::slam::PF_implementation< PARTICLE_TYPE, MYSELF >::PF_SLAM_particlesEvaluator_AuxPFOptimal(), mrpt::slam::PF_implementation< PARTICLE_TYPE, MYSELF >::PF_SLAM_particlesEvaluator_AuxPFStandard(), mrpt::poses::CPose2DGridTemplate< double >::phi2idx(), mrpt::math::productIntegralAndMahalanobisTwoGaussians(), mrpt::math::productIntegralTwoGaussians(), mrpt::vision::pinhole::projectPoint_no_distortion(), mrpt::math::ModelSearch::ransacSingleModel(), mrpt::bayes::CRejectionSamplingCapable< poses::CPose2D >::rejectionSampling(), mrpt::math::CBinaryRelation< T, U, UIsObject >::removeElementAt(), mrpt::bayes::CKalmanFilterCapable< 7, 3, 3, 7 >::runOneKalmanIteration(), mrpt::utils::CMemoryStream::setAllocBlockSize(), mrpt::slam::CPointsMap::setAllPointsTemplate(), mrpt::math::CSparseMatrix::setColCount(), mrpt::opengl::CGeneralizedEllipsoidTemplate< 3 >::setCovMatrixAndMean(), mrpt::utils::TCamera::setDistortionParamsVector(), mrpt::opengl::CAxis::setFrequency(), mrpt::utils::CImage::setFromMatrix(), mrpt::opengl::CGridPlaneXZ::setGridFrequency(), mrpt::opengl::CGridPlaneXY::setGridFrequency(), mrpt::math::CSparseMatrix::setRowCount(), mrpt::poses::CPose2DGridTemplate< double >::setSize(), mrpt::hwdrivers::CServoeNeck::setTruncateFactor(), mrpt::gui::CDisplayWindow::showImagesAndMatchedPoints(), mrpt::math::skew_symmetric3(), mrpt::math::skew_symmetric3_neg(), mrpt::math::detail::stub_kmeans(), mrpt::vision::TSIFTDescriptorsKDTreeIndex< distance_t, metric_t >::TSIFTDescriptorsKDTreeIndex(), mrpt::vision::TSURFDescriptorsKDTreeIndex< distance_t, metric_t >::TSURFDescriptorsKDTreeIndex(), mrpt::opengl::CSetOfTriangles::TTriangle::TTriangle(), mrpt::math::weightedHistogram(), mrpt::math::weightedHistogramLog(), mrpt::poses::CPose2DGridTemplate< double >::x2idx(), and mrpt::poses::CPose2DGridTemplate< double >::y2idx().

#define ASSERT_ (   f)    { }
#define ASSERT_ABOVE_ (   __A,
  __B 
)    { }
#define ASSERT_ABOVE_ (   __A,
  __B 
)    { }
#define ASSERT_ABOVE_ (   __A,
  __B 
)    { }

Definition at line 289 of file CColouredPointsMap.h.

Referenced by mrpt::graphslam::optimize_graph_spa_levmarq().

#define ASSERT_ABOVEEQ_ (   __A,
  __B 
)    { }
#define ASSERT_ABOVEEQ_ (   __A,
  __B 
)    { }
#define ASSERT_ABOVEEQ_ (   __A,
  __B 
)    { }
#define ASSERT_BELOW_ (   __A,
  __B 
)    { }
#define ASSERT_BELOW_ (   __A,
  __B 
)    { }
#define ASSERT_BELOW_ (   __A,
  __B 
)    { }
#define ASSERT_BELOWEQ_ (   __A,
  __B 
)    { }
#define ASSERT_BELOWEQ_ (   __A,
  __B 
)    { }
#define ASSERT_BELOWEQ_ (   __A,
  __B 
)    { }
#define ASSERT_DIRECTORY_EXISTS_ (   DIR)    { }

Definition at line 294 of file CColouredPointsMap.h.

#define ASSERT_DIRECTORY_EXISTS_ (   DIR)    { }
#define ASSERT_DIRECTORY_EXISTS_ (   DIR)    { }
#define ASSERT_EQUAL_ (   __A,
  __B 
)    { }
#define ASSERT_EQUAL_ (   __A,
  __B 
)    { }
#define ASSERT_EQUAL_ (   __A,
  __B 
)    { }
#define ASSERT_FILE_EXISTS_ (   FIL)    { }

Definition at line 293 of file CColouredPointsMap.h.

#define ASSERT_FILE_EXISTS_ (   FIL)    { }
#define ASSERT_FILE_EXISTS_ (   FIL)    { }
#define ASSERT_NOT_EQUAL_ (   __A,
  __B 
)    { }
#define ASSERT_NOT_EQUAL_ (   __A,
  __B 
)    { }
#define ASSERT_NOT_EQUAL_ (   __A,
  __B 
)    { }

Definition at line 287 of file CColouredPointsMap.h.

#define ASSERTDEB_ (   f)    { }
#define ASSERTDEB_ (   f)    { }
#define ASSERTDEB_ (   f)    { }
#define ASSERTDEBMSG_ (   f,
  __ERROR_MSG 
)    { }
#define ASSERTDEBMSG_ (   f,
  __ERROR_MSG 
)    { }
#define ASSERTDEBMSG_ (   f,
  __ERROR_MSG 
)    { }
#define ASSERTMSG_ (   f,
  __ERROR_MSG 
)    { }
#define ASSERTMSG_ (   f,
  __ERROR_MSG 
)    { }
#define ASSERTMSG_ (   f,
  __ERROR_MSG 
)    { }
#define M_2PI   6.283185307179586476925286766559
#define M_2PIf   6.28318530717959f
#define M_2PIf   6.28318530717959f

Definition at line 392 of file CColouredPointsMap.h.

#define M_2PIf   6.28318530717959f
#define M_PI   3.14159265358979323846264338327950288
#define M_PIf   3.14159265358979f
#define M_PIf   3.14159265358979f

Definition at line 391 of file CColouredPointsMap.h.

Referenced by mrpt::utils::DEG2RAD(), and mrpt::utils::RAD2DEG().

#define M_PIf   3.14159265358979f
#define MRPT_ALIGN16

Definition at line 99 of file CColouredPointsMap.h.

#define MRPT_ALIGN16
#define MRPT_ALIGN16
#define MRPT_ALIGN32
#define MRPT_ALIGN32

Definition at line 100 of file CColouredPointsMap.h.

#define MRPT_ALIGN32
#define MRPT_CHECK_NORMAL_NUMBER (   val)    { }
#define MRPT_CHECK_NORMAL_NUMBER (   val)    { }
#define MRPT_CHECK_NORMAL_NUMBER (   val)    { }
#define MRPT_COMPILE_TIME_ASSERT (   f)    { }
#define MRPT_COMPILE_TIME_ASSERT (   f)    { }
#define MRPT_COMPILE_TIME_ASSERT (   f)    { }
#define MRPT_DEBUG_BREAKPOINT (   _msg)    { }
#define MRPT_DEBUG_BREAKPOINT (   _msg)    { }

Only if compiled in debug (_DEBUG defined), calls mrpt::system::breakpoint() with the given message.

All MRPT exceptions use this macro, so mrpt::system::breakpoint() is the ideal point to set a breakpoint and catch exception before they're actually raised.

Definition at line 124 of file CColouredPointsMap.h.

#define MRPT_DEBUG_BREAKPOINT (   _msg)    { }
#define MRPT_DECLARE_DEPRECATED_FUNCTION (   __MSG,
  __FUNC 
)    MRPT_DEPRECATED_PRE(__MSG) __FUNC MRPT_DEPRECATED_POST(__MSG)

Usage: MRPT_DECLARE_DEPRECATED_FUNCTION("Use XX instead", void myFunc(double));.

Definition at line 54 of file CColouredPointsMap.h.

#define MRPT_DECLARE_DEPRECATED_FUNCTION (   __MSG,
  __FUNC 
)    MRPT_DEPRECATED_PRE(__MSG) __FUNC MRPT_DEPRECATED_POST(__MSG)
#define MRPT_DECLARE_DEPRECATED_FUNCTION (   __MSG,
  __FUNC 
)    MRPT_DEPRECATED_PRE(__MSG) __FUNC MRPT_DEPRECATED_POST(__MSG)
#define MRPT_DEPRECATED_POST (   _MSG)

Definition at line 50 of file CColouredPointsMap.h.

#define MRPT_DEPRECATED_POST (   _MSG)
#define MRPT_DEPRECATED_POST (   _MSG)
#define MRPT_DEPRECATED_PRE (   _MSG)

Definition at line 49 of file CColouredPointsMap.h.

#define MRPT_DEPRECATED_PRE (   _MSG)
#define MRPT_DEPRECATED_PRE (   _MSG)
#define MRPT_DO_PRAGMA (   x)

Declare MRPT_TODO(message)

Definition at line 67 of file CColouredPointsMap.h.

#define MRPT_DO_PRAGMA (   x)
#define MRPT_DO_PRAGMA (   x)
#define MRPT_END   MRPT_TRY_END
#define MRPT_END   MRPT_TRY_END

Definition at line 375 of file CColouredPointsMap.h.

Referenced by mrpt::graphs::CDijkstra< TYPE_GRAPH, MAPS_IMPLEMENTATION >::CDijkstra(), mrpt::bayes::CParticleFilterData< CRBPFParticleData >::clearParticles(), mrpt::slam::CLogOddsGridMapLUT< cellType >::CLogOddsGridMapLUT(), mrpt::slam::CMetricMap::computeMatchingWith2D(), mrpt::slam::CMetricMap::computeMatchingWith3D(), mrpt::math::confidenceIntervals(), mrpt::math::estimateJacobian(), mrpt::math::CLevenbergMarquardtTempl< VECTORTYPE, USERPARAM >::execute(), mrpt::vision::find_descriptor_pairings(), mrpt::math::generateAxisBaseFromDirection(), mrpt::slam::CActionCollection::getActionByClass(), mrpt::slam::CPointsMap::getAllPoints(), mrpt::utils::CMHPropertiesValuesList::getAs(), mrpt::poses::CPose2DGridTemplate< double >::getAsMatrix(), mrpt::opengl::CSetOfObjects::getByClass(), mrpt::opengl::COpenGLScene::getByClass(), mrpt::opengl::COpenGLViewport::getByClass(), mrpt::utils::CMessage::getContentAsStruct(), mrpt::utils::CMHPropertiesValuesList::getElemental(), mrpt::bayes::CParticleFilterData< CRBPFParticleData >::getMostLikelyParticle(), mrpt::slam::CSensoryFrame::getObservationByClass(), mrpt::utils::CClientTCPSocket::getPosition(), mrpt::hwdrivers::CSerialPort::getPosition(), mrpt::utils::CClientTCPSocket::getTotalBytesCount(), mrpt::hwdrivers::CSerialPort::getTotalBytesCount(), mrpt::bayes::CParticleFilterData< CRBPFParticleData >::getWeights(), mrpt::graphs::detail::graph_ops< graph_t >::graph_edge_sqerror(), mrpt::graphs::detail::graph_ops< graph_t >::graph_of_poses_collapse_dup_edges(), mrpt::graphs::detail::graph_ops< graph_t >::graph_of_poses_dijkstra_init(), mrpt::math::homogeneousMatrixInverse(), mrpt::slam::CMetricMap::insertObservationPtr(), mrpt::math::interpolate(), mrpt::math::KDTreeCapable< CFeatureList >::kdTreeClosestPoint2D(), mrpt::math::KDTreeCapable< CFeatureList >::kdTreeClosestPoint3D(), mrpt::math::KDTreeCapable< CFeatureList >::kdTreeNClosestPoint2D(), mrpt::math::KDTreeCapable< CFeatureList >::kdTreeNClosestPoint2DIdx(), mrpt::math::KDTreeCapable< CFeatureList >::kdTreeNClosestPoint3D(), mrpt::math::KDTreeCapable< CFeatureList >::kdTreeNClosestPoint3DIdx(), mrpt::math::KDTreeCapable< CFeatureList >::kdTreeRadiusSearch2D(), mrpt::math::KDTreeCapable< CFeatureList >::kdTreeRadiusSearch3D(), mrpt::math::KDTreeCapable< CFeatureList >::kdTreeTwoClosestPoint2D(), mrpt::math::KLD_Gaussians(), mrpt::math::leastSquareLinearFit(), mrpt::opengl::CPointCloud::loadFromPointsList(), mrpt::math::mahalanobisDistance2(), mrpt::math::mahalanobisDistance2AndLogPDF(), mrpt::mrpt::math::multiply_A_skew3(), mrpt::mrpt::math::multiply_skew3_A(), mrpt::math::normalPDF(), mrpt::math::normalPDFInf(), mrpt::bayes::CKalmanFilterCapable< 7, 3, 3, 7 >::OnInverseObservationModel(), mrpt::graphslam::optimize_graph_spa_levmarq(), mrpt::slam::PF_implementation< PARTICLE_TYPE, MYSELF >::PF_SLAM_implementation_pfAuxiliaryPFStandardAndOptimal(), mrpt::slam::PF_implementation< PARTICLE_TYPE, MYSELF >::PF_SLAM_implementation_pfStandardProposal(), mrpt::slam::PF_implementation< PARTICLE_TYPE, MYSELF >::PF_SLAM_particlesEvaluator_AuxPFOptimal(), mrpt::slam::PF_implementation< PARTICLE_TYPE, MYSELF >::PF_SLAM_particlesEvaluator_AuxPFStandard(), mrpt::utils::CConfigFileBase::read_enum(), mrpt::bayes::CParticleFilterData< CRBPFParticleData >::readParticlesFromStream(), mrpt::bayes::CRejectionSamplingCapable< poses::CPose2D >::rejectionSampling(), mrpt::opengl::CGeneralizedEllipsoidTemplate< 3 >::render_dl(), mrpt::utils::CDynamicGrid< TRandomFieldCell >::resize(), mrpt::bayes::CKalmanFilterCapable< 7, 3, 3, 7 >::runOneKalmanIteration(), mrpt::slam::COccupancyGridMap2D::saveAsBitmapFileWithLandmarks(), mrpt::utils::CClientTCPSocket::Seek(), mrpt::hwdrivers::CSerialPort::Seek(), mrpt::opengl::CGeneralizedEllipsoidTemplate< 3 >::setCovMatrixAndMean(), mrpt::utils::CImage::setFromMatrix(), mrpt::math::CSplineInterpolator1D::setXY(), mrpt::gui::CDisplayWindow::showImageAndPoints(), mrpt::gui::CDisplayWindow::showImagesAndMatchedPoints(), mrpt::gui::CDisplayWindow::showTiledImageAndPoints(), mrpt::slam::CMetricMap::squareDistanceToClosestCorrespondence(), mrpt::math::detail::stub_kmeans(), mrpt::math::transform_gaussian_linear(), mrpt::math::transform_gaussian_montecarlo(), mrpt::math::transform_gaussian_unscented(), mrpt::opengl::COpenGLScene::visitAllObjects(), mrpt::math::weightedHistogram(), mrpt::math::weightedHistogramLog(), mrpt::bayes::CParticleFilterData< CRBPFParticleData >::writeParticlesToStream(), and mrpt::bayes::CParticleFilterData< CRBPFParticleData >::~CParticleFilterData().

#define MRPT_END   MRPT_TRY_END
#define MRPT_END_WITH_CLEAN_UP (   stuff)    MRPT_TRY_END_WITH_CLEAN_UP(stuff)
#define MRPT_END_WITH_CLEAN_UP (   stuff)    MRPT_TRY_END_WITH_CLEAN_UP(stuff)
#define MRPT_END_WITH_CLEAN_UP (   stuff)    MRPT_TRY_END_WITH_CLEAN_UP(stuff)
#define MRPT_FORCE_INLINE   inline
#define MRPT_FORCE_INLINE   inline

Tells the compiler we really want to inline that function.

Definition at line 422 of file CColouredPointsMap.h.

#define MRPT_FORCE_INLINE   inline
#define MRPT_MSG_PRAGMA (   _msg)
#define MRPT_MSG_PRAGMA (   _msg)

Definition at line 68 of file CColouredPointsMap.h.

#define MRPT_MSG_PRAGMA (   _msg)
#define MRPT_NO_THROWS   throw()

Used after member declarations.

Definition at line 416 of file CColouredPointsMap.h.

#define MRPT_NO_THROWS   throw()
#define MRPT_NO_THROWS   throw()
#define MRPT_NO_THROWS   throw()
#define MRPT_NO_THROWS   throw()
#define MRPT_NO_THROWS   throw()

Used after member declarations.

Definition at line 416 of file CColouredPointsMap.h.

#define MRPT_printf_format_check (   _FMT_,
  _VARARGS_ 
)

Definition at line 404 of file CColouredPointsMap.h.

#define MRPT_printf_format_check (   _FMT_,
  _VARARGS_ 
)
#define MRPT_printf_format_check (   _FMT_,
  _VARARGS_ 
)
#define MRPT_printf_format_check (   _FMT_,
  _VARARGS_ 
)
#define MRPT_printf_format_check (   _FMT_,
  _VARARGS_ 
)

Definition at line 404 of file CColouredPointsMap.h.

#define MRPT_printf_format_check (   _FMT_,
  _VARARGS_ 
)
#define MRPT_PROFILE_FUNC_START
#define MRPT_PROFILE_FUNC_START

Definition at line 364 of file CColouredPointsMap.h.

#define MRPT_PROFILE_FUNC_START
#define MRPT_scanf_format_check (   _FMT_,
  _VARARGS_ 
)
#define MRPT_scanf_format_check (   _FMT_,
  _VARARGS_ 
)

Definition at line 411 of file CColouredPointsMap.h.

#define MRPT_scanf_format_check (   _FMT_,
  _VARARGS_ 
)
#define MRPT_scanf_format_check (   _FMT_,
  _VARARGS_ 
)
#define MRPT_scanf_format_check (   _FMT_,
  _VARARGS_ 
)

Definition at line 411 of file CColouredPointsMap.h.

#define MRPT_scanf_format_check (   _FMT_,
  _VARARGS_ 
)
#define MRPT_START
Value:
MRPT_PROFILE_FUNC_START \
MRPT_TRY_START
#define MRPT_START
Value:
MRPT_PROFILE_FUNC_START \
MRPT_TRY_START

Definition at line 371 of file CColouredPointsMap.h.

Referenced by mrpt::graphs::CDijkstra< TYPE_GRAPH, MAPS_IMPLEMENTATION >::CDijkstra(), mrpt::bayes::CParticleFilterData< CRBPFParticleData >::clearParticles(), mrpt::slam::CLogOddsGridMapLUT< cellType >::CLogOddsGridMapLUT(), mrpt::slam::CMetricMap::computeMatchingWith2D(), mrpt::slam::CMetricMap::computeMatchingWith3D(), mrpt::math::confidenceIntervals(), mrpt::utils::CEnhancedMetaFile::ellipseGaussian(), mrpt::utils::CCanvas::ellipseGaussian(), mrpt::math::estimateJacobian(), mrpt::math::CLevenbergMarquardtTempl< VECTORTYPE, USERPARAM >::execute(), mrpt::vision::find_descriptor_pairings(), mrpt::math::generateAxisBaseFromDirection(), mrpt::slam::CActionCollection::getActionByClass(), mrpt::slam::CPointsMap::getAllPoints(), mrpt::utils::CMHPropertiesValuesList::getAs(), mrpt::poses::CPose2DGridTemplate< double >::getAsMatrix(), mrpt::opengl::CSetOfObjects::getByClass(), mrpt::opengl::COpenGLScene::getByClass(), mrpt::opengl::COpenGLViewport::getByClass(), mrpt::utils::CMessage::getContentAsStruct(), mrpt::utils::CMHPropertiesValuesList::getElemental(), mrpt::bayes::CParticleFilterData< CRBPFParticleData >::getMostLikelyParticle(), mrpt::slam::CSensoryFrame::getObservationByClass(), mrpt::utils::CClientTCPSocket::getPosition(), mrpt::hwdrivers::CSerialPort::getPosition(), mrpt::utils::CClientTCPSocket::getTotalBytesCount(), mrpt::hwdrivers::CSerialPort::getTotalBytesCount(), mrpt::bayes::CParticleFilterData< CRBPFParticleData >::getWeights(), mrpt::graphs::detail::graph_ops< graph_t >::graph_edge_sqerror(), mrpt::graphs::detail::graph_ops< graph_t >::graph_of_poses_collapse_dup_edges(), mrpt::graphs::detail::graph_ops< graph_t >::graph_of_poses_dijkstra_init(), mrpt::math::homogeneousMatrixInverse(), mrpt::slam::CMetricMap::insertObservationPtr(), mrpt::math::interpolate(), mrpt::math::KDTreeCapable< CFeatureList >::kdTreeClosestPoint2D(), mrpt::math::KDTreeCapable< CFeatureList >::kdTreeClosestPoint3D(), mrpt::math::KDTreeCapable< CFeatureList >::kdTreeNClosestPoint2D(), mrpt::math::KDTreeCapable< CFeatureList >::kdTreeNClosestPoint2DIdx(), mrpt::math::KDTreeCapable< CFeatureList >::kdTreeNClosestPoint3D(), mrpt::math::KDTreeCapable< CFeatureList >::kdTreeNClosestPoint3DIdx(), mrpt::math::KDTreeCapable< CFeatureList >::kdTreeRadiusSearch2D(), mrpt::math::KDTreeCapable< CFeatureList >::kdTreeRadiusSearch3D(), mrpt::math::KDTreeCapable< CFeatureList >::kdTreeTwoClosestPoint2D(), mrpt::math::KLD_Gaussians(), mrpt::math::leastSquareLinearFit(), mrpt::opengl::CPointCloud::loadFromPointsList(), mrpt::math::mahalanobisDistance2(), mrpt::math::mahalanobisDistance2AndLogPDF(), mrpt::mrpt::math::multiply_A_skew3(), mrpt::mrpt::math::multiply_skew3_A(), mrpt::math::normalPDF(), mrpt::math::normalPDFInf(), mrpt::bayes::CKalmanFilterCapable< 7, 3, 3, 7 >::OnInverseObservationModel(), mrpt::graphslam::optimize_graph_spa_levmarq(), mrpt::slam::PF_implementation< PARTICLE_TYPE, MYSELF >::PF_SLAM_implementation_pfAuxiliaryPFStandardAndOptimal(), mrpt::slam::PF_implementation< PARTICLE_TYPE, MYSELF >::PF_SLAM_implementation_pfStandardProposal(), mrpt::slam::PF_implementation< PARTICLE_TYPE, MYSELF >::PF_SLAM_particlesEvaluator_AuxPFOptimal(), mrpt::slam::PF_implementation< PARTICLE_TYPE, MYSELF >::PF_SLAM_particlesEvaluator_AuxPFStandard(), mrpt::utils::CConfigFileBase::read_enum(), mrpt::bayes::CParticleFilterData< CRBPFParticleData >::readParticlesFromStream(), mrpt::bayes::CRejectionSamplingCapable< poses::CPose2D >::rejectionSampling(), mrpt::opengl::CGeneralizedEllipsoidTemplate< 3 >::render_dl(), mrpt::utils::CDynamicGrid< TRandomFieldCell >::resize(), mrpt::bayes::CKalmanFilterCapable< 7, 3, 3, 7 >::runOneKalmanIteration(), mrpt::slam::COccupancyGridMap2D::saveAsBitmapFileWithLandmarks(), mrpt::utils::CClientTCPSocket::Seek(), mrpt::hwdrivers::CSerialPort::Seek(), mrpt::opengl::CGeneralizedEllipsoidTemplate< 3 >::setCovMatrixAndMean(), mrpt::utils::CMHPropertiesValuesList::setElemental(), mrpt::utils::CImage::setFromMatrix(), mrpt::math::CSplineInterpolator1D::setXY(), mrpt::gui::CDisplayWindow::showImageAndPoints(), mrpt::gui::CDisplayWindow::showImagesAndMatchedPoints(), mrpt::gui::CDisplayWindow::showTiledImageAndPoints(), mrpt::slam::CMetricMap::squareDistanceToClosestCorrespondence(), mrpt::math::detail::stub_kmeans(), mrpt::math::transform_gaussian_linear(), mrpt::math::transform_gaussian_montecarlo(), mrpt::math::transform_gaussian_unscented(), mrpt::opengl::COpenGLScene::visitAllObjects(), mrpt::math::weightedHistogram(), mrpt::math::weightedHistogramLog(), mrpt::bayes::CParticleFilterData< CRBPFParticleData >::writeParticlesToStream(), and mrpt::bayes::CParticleFilterData< CRBPFParticleData >::~CParticleFilterData().

#define MRPT_START
Value:
MRPT_PROFILE_FUNC_START \
MRPT_TRY_START
#define MRPT_THROW_UNKNOWN_SERIALIZATION_VERSION (   V)    THROW_EXCEPTION(mrpt::format("Cannot parse object: unknown serialization version number: '%i'",static_cast<int>(version)))
#define MRPT_THROW_UNKNOWN_SERIALIZATION_VERSION (   V)    THROW_EXCEPTION(mrpt::format("Cannot parse object: unknown serialization version number: '%i'",static_cast<int>(version)))

For use in CSerializable implementations.

Definition at line 228 of file CColouredPointsMap.h.

Referenced by mrpt::opengl::CGeneralizedEllipsoidTemplate< 3 >::thisclass_readFromStream().

#define MRPT_THROW_UNKNOWN_SERIALIZATION_VERSION (   V)    THROW_EXCEPTION(mrpt::format("Cannot parse object: unknown serialization version number: '%i'",static_cast<int>(version)))
#define MRPT_TODO (   x)    MRPT_MSG_PRAGMA("TODO: " #x)

Definition at line 72 of file CColouredPointsMap.h.

#define MRPT_TODO (   x)    MRPT_MSG_PRAGMA("TODO: " #x)
#define MRPT_TODO (   x)    MRPT_MSG_PRAGMA("TODO: " #x)
#define MRPT_TRY_END
#define MRPT_TRY_END

Definition at line 357 of file CColouredPointsMap.h.

Referenced by mrpt::opengl::graph_tools::graph_visualize().

#define MRPT_TRY_END
#define MRPT_TRY_END_WITH_CLEAN_UP (   stuff)

Definition at line 358 of file CColouredPointsMap.h.

#define MRPT_TRY_END_WITH_CLEAN_UP (   stuff)
#define MRPT_TRY_END_WITH_CLEAN_UP (   stuff)
#define MRPT_TRY_START

Definition at line 356 of file CColouredPointsMap.h.

Referenced by mrpt::opengl::graph_tools::graph_visualize().

#define MRPT_TRY_START
#define MRPT_TRY_START
#define MRPT_UNUSED_PARAM (   a)    (void)(a)
#define MRPT_UNUSED_PARAM (   a)    (void)(a)

Can be used to avoid "not used parameters" warnings from the compiler.

Definition at line 312 of file CColouredPointsMap.h.

Referenced by mrpt::bayes::CParticleFilterCapable::defaultEvaluator(), mrpt::utils::CClientTCPSocket::Seek(), and mrpt::hwdrivers::CSerialPort::Seek().

#define MRPT_UNUSED_PARAM (   a)    (void)(a)
#define MRPT_WARNING (   x)    MRPT_MSG_PRAGMA("Warning: " #x)
#define MRPT_WARNING (   x)    MRPT_MSG_PRAGMA("Warning: " #x)

Definition at line 71 of file CColouredPointsMap.h.

#define MRPT_WARNING (   x)    MRPT_MSG_PRAGMA("Warning: " #x)
#define THROW_EXCEPTION (   msg)
Value:
{\
std::ostringstream auxCompStr;\
auxCompStr << "\n\n =============== MRPT EXCEPTION =============\n";\
auxCompStr << __CURRENT_FUNCTION_NAME__ << ", line " << __LINE__ << ":\n";\
auxCompStr << msg << std::endl; \
auxCompStr << mrpt::system::stack_trace(); \
MRPT_DEBUG_BREAKPOINT(msg) \
throw std::logic_error( auxCompStr.str() );\
}\
#define THROW_EXCEPTION (   msg)
Value:
{\
std::ostringstream auxCompStr;\
auxCompStr << "\n\n =============== MRPT EXCEPTION =============\n";\
auxCompStr << __CURRENT_FUNCTION_NAME__ << ", line " << __LINE__ << ":\n";\
auxCompStr << msg << std::endl; \
auxCompStr << mrpt::system::stack_trace(); \
MRPT_DEBUG_BREAKPOINT(msg) \
throw std::logic_error( auxCompStr.str() );\
}\
#define THROW_EXCEPTION (   msg)
Value:
{\
std::ostringstream auxCompStr;\
auxCompStr << "\n\n =============== MRPT EXCEPTION =============\n";\
auxCompStr << __CURRENT_FUNCTION_NAME__ << ", line " << __LINE__ << ":\n";\
auxCompStr << msg << std::endl; \
auxCompStr << mrpt::system::stack_trace(); \
MRPT_DEBUG_BREAKPOINT(msg) \
throw std::logic_error( auxCompStr.str() );\
}\
Parameters
msgThis can be a char*, a std::string, or a literal string. Defines a unified way of reporting exceptions
See Also
MRPT_TRY_START, MRPT_TRY_END, THROW_EXCEPTION_CUSTOM_MSG1

Definition at line 132 of file CColouredPointsMap.h.

Referenced by mrpt::slam::CGridMapAligner::Align3DPDF(), mrpt::poses::CPose3DQuat::iterator::check_limits(), mrpt::poses::CPose3DQuat::const_iterator::check_limits(), mrpt::hmtslam::CHMTSLAM::CHMTSLAM(), mrpt::math::CMatrixTemplate< mrpt::math::TPoint3D >::CMatrixTemplate(), mrpt::slam::CMetricMap::computeMatchingWith2D(), mrpt::slam::CMetricMap::computeMatchingWith3D(), mrpt::math::correlate_matrix(), mrpt::utils::CTicTac::CTicTac(), mrpt::utils::bimap< mrpt::slam::CLandmark::TLandmarkID, unsigned int >::direct(), mrpt::math::CMatrixTemplate< mrpt::math::TPoint3D >::extractCol(), mrpt::math::CMatrixTemplate< mrpt::math::TPoint3D >::extractSubmatrix(), mrpt::vision::find_descriptor_pairings(), mrpt::math::CQuaternion< T >::fromRodriguesVector(), mrpt::poses::CPoint< CPoint3D >::fromString(), mrpt::poses::CPose2D::fromString(), mrpt::poses::CPose3DQuat::fromString(), mrpt::poses::CPose3DRotVec::fromString(), mrpt::poses::CPose3D::fromString(), mrpt::math::generateAxisBaseFromDirection(), mrpt::math::CMatrixTemplate< mrpt::math::TPoint3D >::get_unsafe(), mrpt::math::CMatrixTemplate< mrpt::math::TPoint3D >::get_unsafe_row(), mrpt::utils::CReferencedMemBlock::getAs(), mrpt::utils::CMHPropertiesValuesList::getAs(), mrpt::graphs::CDirectedGraph< CPOSE, EDGE_ANNOTATIONS >::getEdge(), mrpt::utils::CMHPropertiesValuesList::getElemental(), mrpt::graphs::CDijkstra< TYPE_GRAPH, MAPS_IMPLEMENTATION >::getNodeDistanceToRoot(), mrpt::utils::CStdOutStream::getPosition(), mrpt::utils::CClientTCPSocket::getPosition(), mrpt::hwdrivers::CSerialPort::getPosition(), mrpt::utils::CStdOutStream::getTotalBytesCount(), mrpt::utils::CClientTCPSocket::getTotalBytesCount(), mrpt::hwdrivers::CSerialPort::getTotalBytesCount(), mrpt::math::CSparseMatrix::insert_submatrix(), mrpt::math::CMatrixTemplate< mrpt::math::TPoint3D >::insertCol(), mrpt::slam::CMetricMap::insertObservationPtr(), mrpt::utils::bimap< mrpt::slam::CLandmark::TLandmarkID, unsigned int >::inverse(), mrpt::math::jacobians::jacob_yawpitchroll_from_quat(), mrpt::math::KDTreeCapable< CFeatureList >::kdTreeClosestPoint2D(), mrpt::math::KDTreeCapable< CFeatureList >::kdTreeClosestPoint3D(), mrpt::math::KDTreeCapable< CFeatureList >::kdTreeNClosestPoint2D(), mrpt::math::KDTreeCapable< CFeatureList >::kdTreeNClosestPoint2DIdx(), mrpt::math::KDTreeCapable< CFeatureList >::kdTreeNClosestPoint3D(), mrpt::math::KDTreeCapable< CFeatureList >::kdTreeNClosestPoint3DIdx(), mrpt::math::KDTreeCapable< CFeatureList >::kdTreeTwoClosestPoint2D(), mrpt::graphs::detail::graph_ops< graph_t >::load_graph_of_poses_from_text_file(), mrpt::utils::non_copiable_ptr_basic< mrpt::slam::CMultiMetricMap >::non_copiable_ptr_basic(), mrpt::math::detail::noncentralChi2CDF_exact(), mrpt::bayes::CKalmanFilterCapable< 7, 3, 3, 7 >::OnInverseObservationModel(), mrpt::hwdrivers::CSerialPort::open(), mrpt::math::CMatrixTemplate< mrpt::math::TPoint3D >::operator()(), mrpt::utils::CTicTac::operator=(), mrpt::utils::non_copiable_ptr_basic< mrpt::slam::CMultiMetricMap >::operator=(), mrpt::utils::non_copiable_ptr< mrpt::slam::CMultiMetricMap >::operator=(), mrpt::math::CMatrixTemplate< mrpt::math::TPoint3D >::operator=(), mrpt::hmtslam::CHMTSLAM::operator=(), mrpt::math::TObject3D::operator=(), mrpt::utils::operator>>(), mrpt::slam::PF_implementation< PARTICLE_TYPE, MYSELF >::PF_SLAM_implementation_gatherActionsCheckBothActObs(), mrpt::slam::PF_implementation< PARTICLE_TYPE, MYSELF >::PF_SLAM_implementation_pfStandardProposal(), mrpt::utils::CStdOutStream::Read(), mrpt::utils::CConfigFileBase::read_enum(), mrpt::math::round2up(), mrpt::bayes::CKalmanFilterCapable< 7, 3, 3, 7 >::runOneKalmanIteration(), mrpt::utils::CLoadableOptions::saveToConfigFile(), mrpt::utils::CStdOutStream::Seek(), mrpt::utils::CFileGZInputStream::Seek(), mrpt::utils::CClientTCPSocket::Seek(), mrpt::hwdrivers::CSerialPort::Seek(), mrpt::math::CMatrixTemplate< mrpt::math::TPoint3D >::set_unsafe(), mrpt::hwdrivers::CSerialPort::setSerialPortName(), mrpt::slam::CMetricMap::squareDistanceToClosestCorrespondence(), and mrpt::opengl::CGeneralizedEllipsoidTemplate< 3 >::traceRay().

#define THROW_EXCEPTION_CUSTOM_MSG1 (   msg,
  param1 
)
Value:
{\
std::ostringstream auxCompStr;\
auxCompStr << "\n\n =============== MRPT EXCEPTION =============\n";\
auxCompStr << __CURRENT_FUNCTION_NAME__ << ", line " << __LINE__ << ":\n";\
auxCompStr << mrpt::format(msg,param1)<< std::endl; \
auxCompStr << mrpt::system::stack_trace(); \
throw std::logic_error( auxCompStr.str() );\
}\
#define THROW_EXCEPTION_CUSTOM_MSG1 (   msg,
  param1 
)
Value:
{\
std::ostringstream auxCompStr;\
auxCompStr << "\n\n =============== MRPT EXCEPTION =============\n";\
auxCompStr << __CURRENT_FUNCTION_NAME__ << ", line " << __LINE__ << ":\n";\
auxCompStr << mrpt::format(msg,param1)<< std::endl; \
auxCompStr << mrpt::system::stack_trace(); \
throw std::logic_error( auxCompStr.str() );\
}\
#define THROW_EXCEPTION_CUSTOM_MSG1 (   msg,
  param1 
)
Value:
{\
std::ostringstream auxCompStr;\
auxCompStr << "\n\n =============== MRPT EXCEPTION =============\n";\
auxCompStr << __CURRENT_FUNCTION_NAME__ << ", line " << __LINE__ << ":\n";\
auxCompStr << mrpt::format(msg,param1)<< std::endl; \
auxCompStr << mrpt::system::stack_trace(); \
throw std::logic_error( auxCompStr.str() );\
}\
Parameters
eThe caught exception.
msgIs a char* or literal string.

Referenced by mrpt::utils::CConsoleRedirector::CConsoleRedirector(), mrpt::graphs::CDijkstra< TYPE_GRAPH, MAPS_IMPLEMENTATION >::CDijkstra(), mrpt::utils::CMHPropertiesValuesList::getElemental(), mrpt::utils::CTextFileLinesParser::open(), mrpt::math::CMatrixTemplate< mrpt::math::TPoint3D >::operator()(), mrpt::utils::CConfigFileBase::read_matrix(), mrpt::graphs::detail::graph_ops< graph_t >::save_graph_of_poses_from_text_file(), and mrpt::math::size().

#define THROW_STACKED_EXCEPTION (   e)
Value:
{\
std::string str( e.what() );\
if (str.find("MRPT stack trace")==std::string::npos) \
{ \
str+= mrpt::format(", line %i:\n", __LINE__ );\
if (str.size()>3000) { std::cerr << "TOO MANY STACKED EXCEPTIONS!: " << std::endl << str << std::endl; abort(); } \
throw std::logic_error( str );\
} \
else throw std::logic_error( e.what() );\
}\
#define THROW_STACKED_EXCEPTION (   e)
Value:
{\
std::string str( e.what() );\
if (str.find("MRPT stack trace")==std::string::npos) \
{ \
str+= mrpt::format(", line %i:\n", __LINE__ );\
if (str.size()>3000) { std::cerr << "TOO MANY STACKED EXCEPTIONS!: " << std::endl << str << std::endl; abort(); } \
throw std::logic_error( str );\
} \
else throw std::logic_error( e.what() );\
}\
#define THROW_STACKED_EXCEPTION (   e)
Value:
{\
std::string str( e.what() );\
if (str.find("MRPT stack trace")==std::string::npos) \
{ \
str+= mrpt::format(", line %i:\n", __LINE__ );\
if (str.size()>3000) { std::cerr << "TOO MANY STACKED EXCEPTIONS!: " << std::endl << str << std::endl; abort(); } \
throw std::logic_error( str );\
} \
else throw std::logic_error( e.what() );\
}\
See Also
MRPT_TRY_START, MRPT_TRY_END

Definition at line 190 of file CColouredPointsMap.h.

#define THROW_STACKED_EXCEPTION_CUSTOM_MSG1 (   e,
  msg 
)
Value:
{\
std::ostringstream auxCompStr;\
auxCompStr << e.what() ; \
auxCompStr << msg << std::endl; \
throw std::logic_error( auxCompStr.str() );\
}\
#define THROW_STACKED_EXCEPTION_CUSTOM_MSG1 (   e,
  msg 
)
Value:
{\
std::ostringstream auxCompStr;\
auxCompStr << e.what() ; \
auxCompStr << msg << std::endl; \
throw std::logic_error( auxCompStr.str() );\
}\

Definition at line 207 of file CColouredPointsMap.h.

#define THROW_STACKED_EXCEPTION_CUSTOM_MSG1 (   e,
  msg 
)
Value:
{\
std::ostringstream auxCompStr;\
auxCompStr << e.what() ; \
auxCompStr << msg << std::endl; \
throw std::logic_error( auxCompStr.str() );\
}\
#define THROW_STACKED_EXCEPTION_CUSTOM_MSG2 (   e,
  stuff,
  param1 
)
Value:
{\
std::ostringstream auxCompStr;\
auxCompStr << e.what() ; \
auxCompStr << mrpt::format( stuff, param1 ) << std::endl; \
throw std::logic_error( auxCompStr.str() );\
}\

Definition at line 219 of file CColouredPointsMap.h.

#define THROW_STACKED_EXCEPTION_CUSTOM_MSG2 (   e,
  stuff,
  param1 
)
Value:
{\
std::ostringstream auxCompStr;\
auxCompStr << e.what() ; \
auxCompStr << mrpt::format( stuff, param1 ) << std::endl; \
throw std::logic_error( auxCompStr.str() );\
}\
#define THROW_STACKED_EXCEPTION_CUSTOM_MSG2 (   e,
  stuff,
  param1 
)
Value:
{\
std::ostringstream auxCompStr;\
auxCompStr << e.what() ; \
auxCompStr << mrpt::format( stuff, param1 ) << std::endl; \
throw std::logic_error( auxCompStr.str() );\
}\
#define THROW_TYPED_EXCEPTION (   msg,
  exceptionClass 
)
Value:
{\
std::ostringstream auxCompStr;\
auxCompStr << "\n\n =============== MRPT EXCEPTION =============\n";\
auxCompStr << __CURRENT_FUNCTION_NAME__ << ", line " << __LINE__ << ":\n";\
auxCompStr << msg << std::endl; \
auxCompStr << mrpt::system::stack_trace(); \
throw exceptionClass( auxCompStr.str() );\
}\

Defines a unified way of reporting exceptions of type different from "std::exception".

See Also
MRPT_TRY_START, MRPT_TRY_END

Definition at line 162 of file CColouredPointsMap.h.

#define THROW_TYPED_EXCEPTION (   msg,
  exceptionClass 
)
Value:
{\
std::ostringstream auxCompStr;\
auxCompStr << "\n\n =============== MRPT EXCEPTION =============\n";\
auxCompStr << __CURRENT_FUNCTION_NAME__ << ", line " << __LINE__ << ":\n";\
auxCompStr << msg << std::endl; \
auxCompStr << mrpt::system::stack_trace(); \
throw exceptionClass( auxCompStr.str() );\
}\
#define THROW_TYPED_EXCEPTION (   msg,
  exceptionClass 
)
Value:
{\
std::ostringstream auxCompStr;\
auxCompStr << "\n\n =============== MRPT EXCEPTION =============\n";\
auxCompStr << __CURRENT_FUNCTION_NAME__ << ", line " << __LINE__ << ":\n";\
auxCompStr << msg << std::endl; \
auxCompStr << mrpt::system::stack_trace(); \
throw exceptionClass( auxCompStr.str() );\
}\
#define THROW_TYPED_EXCEPTION_CUSTOM_MSG1 (   msg,
  param1,
  exceptionClass 
)
Value:
{\
std::ostringstream auxCompStr;\
auxCompStr << "\n\n =============== MRPT EXCEPTION =============\n";\
auxCompStr << __CURRENT_FUNCTION_NAME__ << ", line " << __LINE__ << ":\n";\
auxCompStr << mrpt::format(msg,param1)<< std::endl; \
auxCompStr << mrpt::system::stack_trace(); \
throw exceptionClass( auxCompStr.str() );\
}\
#define THROW_TYPED_EXCEPTION_CUSTOM_MSG1 (   msg,
  param1,
  exceptionClass 
)
Value:
{\
std::ostringstream auxCompStr;\
auxCompStr << "\n\n =============== MRPT EXCEPTION =============\n";\
auxCompStr << __CURRENT_FUNCTION_NAME__ << ", line " << __LINE__ << ":\n";\
auxCompStr << mrpt::format(msg,param1)<< std::endl; \
auxCompStr << mrpt::system::stack_trace(); \
throw exceptionClass( auxCompStr.str() );\
}\
#define THROW_TYPED_EXCEPTION_CUSTOM_MSG1 (   msg,
  param1,
  exceptionClass 
)
Value:
{\
std::ostringstream auxCompStr;\
auxCompStr << "\n\n =============== MRPT EXCEPTION =============\n";\
auxCompStr << __CURRENT_FUNCTION_NAME__ << ", line " << __LINE__ << ":\n";\
auxCompStr << mrpt::format(msg,param1)<< std::endl; \
auxCompStr << mrpt::system::stack_trace(); \
throw exceptionClass( auxCompStr.str() );\
}\

Definition at line 176 of file CColouredPointsMap.h.




Page generated by Doxygen 1.8.3 for MRPT 0.9.6 SVN: at Fri Feb 15 22:05:02 EST 2013