Wrapper to a stlplus clone smart pointer to polymorphic classes, capable of handling copy operator, etc.
making deep copies. Example use: poly_ptr_ptr<mrpt::poses::CPosePDFPtr>
Definition at line 27 of file poly_ptr_ptr.h.
#include <mrpt/utils/poly_ptr_ptr.h>

Public Member Functions | |
| poly_ptr_ptr (const T &ptr) | |
| Ctor from a smart pointer; makes deep copy. More... | |
| poly_ptr_ptr () | |
| Default ctor; init to nullptr. More... | |
| poly_ptr_ptr (const poly_ptr_ptr< T > &o) | |
copy ctor: makes a copy of the object via clone() More... | |
| poly_ptr_ptr< T > & | operator= (const poly_ptr_ptr< T > &o) |
| poly_ptr_ptr< T > & | operator= (const T &o_ptr) |
| ~poly_ptr_ptr () | |
| T::value_type * | pointer () |
| const T::value_type * | pointer () const |
| T::value_type * | operator-> () |
| const T::value_type * | operator-> () const |
| T::value_type & | operator* (void) |
| const T::value_type & | operator* (void) const |
| operator bool () const | |
| bool | operator! (void) const |
| const T & | get_ptr () const |
| T & | get_ptr () |
| void | clear_unique () |
Private Attributes | |
| T | m_smartptr |
|
inline |
Ctor from a smart pointer; makes deep copy.
Definition at line 31 of file poly_ptr_ptr.h.
|
inline |
Default ctor; init to nullptr.
Definition at line 36 of file poly_ptr_ptr.h.
|
inline |
copy ctor: makes a copy of the object via clone()
Definition at line 38 of file poly_ptr_ptr.h.
|
inline |
Definition at line 67 of file poly_ptr_ptr.h.
|
inline |
Definition at line 90 of file poly_ptr_ptr.h.
|
inline |
Definition at line 87 of file poly_ptr_ptr.h.
Referenced by mrpt::slam::PF_implementation< mrpt::poses::CPose3D, CMonteCarloLocalization3D >::PF_SLAM_implementation_gatherActionsCheckBothActObs().
|
inline |
Definition at line 88 of file poly_ptr_ptr.h.
|
inline |
Definition at line 84 of file poly_ptr_ptr.h.
|
inline |
Definition at line 85 of file poly_ptr_ptr.h.
|
inline |
Definition at line 81 of file poly_ptr_ptr.h.
|
inline |
Definition at line 82 of file poly_ptr_ptr.h.
|
inline |
Definition at line 78 of file poly_ptr_ptr.h.
|
inline |
Definition at line 79 of file poly_ptr_ptr.h.
|
inline |
Definition at line 42 of file poly_ptr_ptr.h.
|
inline |
Definition at line 48 of file poly_ptr_ptr.h.
|
inline |
Definition at line 69 of file poly_ptr_ptr.h.
Referenced by mrpt::obs::CActionRobotMovement2D::computeFromOdometry_modelGaussian(), mrpt::obs::CActionRobotMovement2D::computeFromOdometry_modelThrun(), mrpt::utils::poly_ptr_ptr< mrpt::poses::CPosePDFSOGPtr >::operator*(), mrpt::utils::poly_ptr_ptr< mrpt::poses::CPosePDFSOGPtr >::operator->(), and mrpt::obs::CActionRobotMovement2D::prepareFastDrawSingleSample_modelGaussian().
|
inline |
Definition at line 73 of file poly_ptr_ptr.h.
|
private |
Definition at line 92 of file poly_ptr_ptr.h.
Referenced by mrpt::utils::poly_ptr_ptr< mrpt::poses::CPosePDFSOGPtr >::clear_unique(), mrpt::utils::poly_ptr_ptr< mrpt::poses::CPosePDFSOGPtr >::get_ptr(), mrpt::utils::poly_ptr_ptr< mrpt::poses::CPosePDFSOGPtr >::operator bool(), mrpt::utils::poly_ptr_ptr< mrpt::poses::CPosePDFSOGPtr >::operator!(), mrpt::utils::poly_ptr_ptr< mrpt::poses::CPosePDFSOGPtr >::operator=(), mrpt::utils::poly_ptr_ptr< mrpt::poses::CPosePDFSOGPtr >::pointer(), and mrpt::utils::poly_ptr_ptr< mrpt::poses::CPosePDFSOGPtr >::poly_ptr_ptr().
| Page generated by Doxygen 1.8.14 for MRPT 1.5.5 Git: e06b63dbf Fri Dec 1 14:41:11 2017 +0100 at lun oct 28 01:31:35 CET 2019 |