Classes | Public Member Functions | Protected Member Functions | List of all members
rtabmap::DerivedValue< DERIVED > Class Template Reference

#include <DerivedValue.h>

Inheritance diagram for rtabmap::DerivedValue< DERIVED >:
Inheritance graph
[legend]

Classes

struct  PoolTag
 Fake Tag struct for singleton pool allocator. In fact, it is never used! More...
 

Public Member Functions

virtual boost::shared_ptr< gtsam::Value > clone () const
 
virtual gtsam::Value * clone_ () const
 
virtual void deallocate_ () const
 
virtual bool equals_ (const gtsam::Value &p, double tol=1e-9) const
 equals implementing generic Value interface More...
 
virtual gtsam::Vector localCoordinates_ (const gtsam::Value &value2) const
 Generic Value interface version of localCoordinates. More...
 
 operator const DERIVED & () const
 Conversion to the derived class. More...
 
 operator DERIVED & ()
 Conversion to the derived class. More...
 
virtual gtsam::Value & operator= (const gtsam::Value &rhs)
 Assignment operator. More...
 
virtual gtsam::Value * retract_ (const gtsam::Vector &delta) const
 Generic Value interface version of retract. More...
 
virtual ~DerivedValue ()
 

Protected Member Functions

 DerivedValue ()
 
DerivedValue< DERIVED > & operator= (const DerivedValue< DERIVED > &)
 

Detailed Description

template<class DERIVED>
class rtabmap::DerivedValue< DERIVED >

Definition at line 44 of file DerivedValue.h.

Constructor & Destructor Documentation

template<class DERIVED>
rtabmap::DerivedValue< DERIVED >::DerivedValue ( )
inlineprotected

Definition at line 47 of file DerivedValue.h.

template<class DERIVED>
virtual rtabmap::DerivedValue< DERIVED >::~DerivedValue ( )
inlinevirtual

Definition at line 51 of file DerivedValue.h.

Member Function Documentation

template<class DERIVED>
virtual boost::shared_ptr<gtsam::Value> rtabmap::DerivedValue< DERIVED >::clone ( ) const
inlinevirtual

Clone this value (normal clone on the heap, delete with 'delete' operator)

Definition at line 75 of file DerivedValue.h.

template<class DERIVED>
virtual gtsam::Value* rtabmap::DerivedValue< DERIVED >::clone_ ( ) const
inlinevirtual

Create a duplicate object returned as a pointer to the generic Value interface. For the sake of performance, this function use singleton pool allocator instead of the normal heap allocator. The result must be deleted with Value::deallocate_, not with the 'delete' operator.

Definition at line 58 of file DerivedValue.h.

template<class DERIVED>
virtual void rtabmap::DerivedValue< DERIVED >::deallocate_ ( ) const
inlinevirtual

Destroy and deallocate this object, only if it was originally allocated using clone_().

Definition at line 67 of file DerivedValue.h.

template<class DERIVED>
virtual bool rtabmap::DerivedValue< DERIVED >::equals_ ( const gtsam::Value &  p,
double  tol = 1e-9 
) const
inlinevirtual

equals implementing generic Value interface

Definition at line 80 of file DerivedValue.h.

template<class DERIVED>
virtual gtsam::Vector rtabmap::DerivedValue< DERIVED >::localCoordinates_ ( const gtsam::Value &  value2) const
inlinevirtual

Generic Value interface version of localCoordinates.

Definition at line 102 of file DerivedValue.h.

template<class DERIVED>
rtabmap::DerivedValue< DERIVED >::operator const DERIVED & ( ) const
inline

Conversion to the derived class.

Definition at line 120 of file DerivedValue.h.

template<class DERIVED>
rtabmap::DerivedValue< DERIVED >::operator DERIVED & ( )
inline

Conversion to the derived class.

Definition at line 125 of file DerivedValue.h.

template<class DERIVED>
virtual gtsam::Value& rtabmap::DerivedValue< DERIVED >::operator= ( const gtsam::Value &  rhs)
inlinevirtual

Assignment operator.

Definition at line 111 of file DerivedValue.h.

template<class DERIVED>
DerivedValue<DERIVED>& rtabmap::DerivedValue< DERIVED >::operator= ( const DerivedValue< DERIVED > &  )
inlineprotected

Assignment operator, protected because only the Value or DERIVED assignment operators should be used.

Definition at line 132 of file DerivedValue.h.

template<class DERIVED>
virtual gtsam::Value* rtabmap::DerivedValue< DERIVED >::retract_ ( const gtsam::Vector &  delta) const
inlinevirtual

Generic Value interface version of retract.

Definition at line 89 of file DerivedValue.h.


The documentation for this class was generated from the following file:


rtabmap
Author(s): Mathieu Labbe
autogenerated on Mon Dec 14 2020 03:37:08