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 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...
 
 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 {false}
 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 ( )
default

Constructor.

Referenced by getCopyOfAnnots().

Here is the caller graph for this function:

◆ ~TNodeAnnotations()

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

Destructor.

◆ TNodeAnnotations() [2/2]

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

Generic copy constructor.

Definition at line 35 of file TNodeAnnotations.h.

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 36 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 58 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 48 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 44 of file TNodeAnnotations.h.

◆ retAnnotsAsString()

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

Definition at line 37 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 63 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 67 of file TNodeAnnotations.h.

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




Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: 8fe78517f Sun Jul 14 19:43:28 2019 +0200 at lun oct 28 02:10:00 CET 2019