MRPT  1.9.9
mrpt::graphs::detail::TNodeAnnotations Struct Reference

Detailed Description

Abstract class from which NodeAnnotations related classes can be implemented.

Definition at line 27 of file TNodeAnnotations.h.

#include <mrpt/graphs/TNodeAnnotations.h>

Inheritance diagram for mrpt::graphs::detail::TNodeAnnotations:
Inheritance graph

Public Types

using self_t = TNodeAnnotations
 

Public Member Functions

 TNodeAnnotations ()
 Constructor. More...
 
virtual ~TNodeAnnotations ()
 Destructor. More...
 
 TNodeAnnotations (const TNodeAnnotations &other)
 Generic copy constructor. More...
 
virtual void getAnnotsAsString (std::string *s) const
 
std::string retAnnotsAsString () const
 
virtual bool operator== (const TNodeAnnotations &other) const
 
virtual bool operator!= (const TNodeAnnotations &other) const
 
TNodeAnnotationsgetCopyOfAnnots () const
 Create and return a copy of the TNodeAnnotations object at hand. More...
 
bool setAnnots (const self_t &other)
 Set the properties of the current TNodeAnnotations object. More...
 

Public Attributes

bool is_node_annots_empty
 Indicates if this is a dummy TNodeAnnotations struct or if it does contain meaningful data. More...
 

Member Typedef Documentation

◆ self_t

Constructor & Destructor Documentation

◆ TNodeAnnotations() [1/2]

mrpt::graphs::detail::TNodeAnnotations::TNodeAnnotations ( )
inline

Constructor.

Definition at line 32 of file TNodeAnnotations.h.

Referenced by getCopyOfAnnots().

◆ ~TNodeAnnotations()

virtual mrpt::graphs::detail::TNodeAnnotations::~TNodeAnnotations ( )
inlinevirtual

Destructor.

Definition at line 34 of file TNodeAnnotations.h.

◆ TNodeAnnotations() [2/2]

mrpt::graphs::detail::TNodeAnnotations::TNodeAnnotations ( const TNodeAnnotations other)
inline

Generic copy constructor.

Definition at line 36 of file TNodeAnnotations.h.

Member Function Documentation

◆ getAnnotsAsString()

virtual void mrpt::graphs::detail::TNodeAnnotations::getAnnotsAsString ( std::string s) const
inlinevirtual

◆ getCopyOfAnnots()

TNodeAnnotations* mrpt::graphs::detail::TNodeAnnotations::getCopyOfAnnots ( ) const
inline

Create and return a copy of the TNodeAnnotations object at hand.

Warning
Caller is responsible of afterwards deleting the object which is allocaed in heap

Definition at line 59 of file TNodeAnnotations.h.

References TNodeAnnotations().

◆ operator!=()

virtual bool mrpt::graphs::detail::TNodeAnnotations::operator!= ( const TNodeAnnotations other) const
inlinevirtual

Definition at line 49 of file TNodeAnnotations.h.

◆ operator==()

virtual bool mrpt::graphs::detail::TNodeAnnotations::operator== ( const TNodeAnnotations other) const
inlinevirtual

Reimplemented in mrpt::graphs::detail::TMRSlamNodeAnnotations.

Definition at line 45 of file TNodeAnnotations.h.

◆ retAnnotsAsString()

std::string mrpt::graphs::detail::TNodeAnnotations::retAnnotsAsString ( ) const
inline

Definition at line 38 of file TNodeAnnotations.h.

References getAnnotsAsString().

◆ setAnnots()

bool mrpt::graphs::detail::TNodeAnnotations::setAnnots ( const self_t other)
inline

Set the properties of the current TNodeAnnotations object.

Returns
True if setting the annotations part is successful.

Definition at line 64 of file TNodeAnnotations.h.

Referenced by mrpt::graphs::detail::TMRSlamNodeAnnotations::setAnnots().

Member Data Documentation

◆ is_node_annots_empty

bool mrpt::graphs::detail::TNodeAnnotations::is_node_annots_empty

Indicates if this is a dummy TNodeAnnotations struct or if it does contain meaningful data.

Definition at line 68 of file TNodeAnnotations.h.

Referenced by mrpt::graphs::detail::TNodeAnnotationsEmpty::TNodeAnnotationsEmpty().




Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: 7d5e6d718 Fri Aug 24 01:51:28 2018 +0200 at lun nov 2 08:35:50 CET 2020