#include <DerivedValue.h>
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 () |
Public Member Functions inherited from gtsam::Value | |
const ValueType & | cast () const |
virtual size_t | dim () const=0 |
virtual void | print (const std::string &str="") const=0 |
virtual | ~Value () |
Protected Member Functions | |
DerivedValue () | |
DerivedValue< DERIVED > & | operator= (const DerivedValue< DERIVED > &) |
Definition at line 44 of file DerivedValue.h.
|
inlineprotected |
Definition at line 47 of file DerivedValue.h.
|
inlinevirtual |
Definition at line 51 of file DerivedValue.h.
|
inlinevirtual |
Clone this value (normal clone on the heap, delete with 'delete' operator)
Implements gtsam::Value.
Definition at line 80 of file DerivedValue.h.
|
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.
Implements gtsam::Value.
Definition at line 58 of file DerivedValue.h.
|
inlinevirtual |
Destroy and deallocate this object, only if it was originally allocated using clone_().
Implements gtsam::Value.
Definition at line 67 of file DerivedValue.h.
|
inlinevirtual |
equals implementing generic Value interface
Implements gtsam::Value.
Definition at line 86 of file DerivedValue.h.
|
inlinevirtual |
Generic Value interface version of localCoordinates.
Implements gtsam::Value.
Definition at line 108 of file DerivedValue.h.
|
inline |
Conversion to the derived class.
Definition at line 126 of file DerivedValue.h.
|
inline |
Conversion to the derived class.
Definition at line 131 of file DerivedValue.h.
|
inlineprotected |
Assignment operator, protected because only the Value or DERIVED assignment operators should be used.
Definition at line 138 of file DerivedValue.h.
|
inlinevirtual |
Assignment operator.
Reimplemented from gtsam::Value.
Definition at line 117 of file DerivedValue.h.
|
inlinevirtual |
Generic Value interface version of retract.
Implements gtsam::Value.
Definition at line 95 of file DerivedValue.h.