MRPT  2.0.4
List of all members | Public Types | Public Member Functions | Public Attributes
mrpt::graphs::detail::TNodeAnnotations Struct Reference

Detailed Description

Abstract class from which NodeAnnotations related classes can be implemented.

Definition at line 26 of file TNodeAnnotations.h.

#include <mrpt/graphs/TNodeAnnotations.h>

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

Public Types

using self_t = TNodeAnnotations
 

Public Member Functions

 TNodeAnnotations ()=default
 Constructor. More...
 
virtual ~TNodeAnnotations ()=default
 Destructor. 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 {false}
 Indicates if this is a dummy TNodeAnnotations struct or if it does contain meaningful data. More...
 

Member Typedef Documentation

◆ self_t

Definition at line 28 of file TNodeAnnotations.h.

Constructor & Destructor Documentation

◆ TNodeAnnotations()

mrpt::graphs::detail::TNodeAnnotations::TNodeAnnotations ( )
default

Constructor.

Referenced by getCopyOfAnnots().

Here is the caller graph for this function:

◆ ~TNodeAnnotations()

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

Destructor.

Member Function Documentation

◆ getAnnotsAsString()

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

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

Definition at line 35 of file TNodeAnnotations.h.

References ASSERT_.

Referenced by mrpt::graphs::detail::TMRSlamNodeAnnotations::getAnnotsAsString(), and retAnnotsAsString().

Here is the caller graph for this function:

◆ 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 57 of file TNodeAnnotations.h.

References TNodeAnnotations().

Here is the call graph for this function:

◆ operator!=()

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

Definition at line 47 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 43 of file TNodeAnnotations.h.

◆ retAnnotsAsString()

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

Definition at line 36 of file TNodeAnnotations.h.

References getAnnotsAsString().

Here is the call graph for this function:

◆ 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 62 of file TNodeAnnotations.h.

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

Here is the caller graph for this function:

Member Data Documentation

◆ is_node_annots_empty

bool mrpt::graphs::detail::TNodeAnnotations::is_node_annots_empty {false}

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

Definition at line 66 of file TNodeAnnotations.h.

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




Page generated by Doxygen 1.8.14 for MRPT 2.0.4 Git: 33de1d0ad Sat Jun 20 11:02:42 2020 +0200 at sáb jun 20 17:35:17 CEST 2020