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

Detailed Description

Struct to be used as the NODE_ANNOTATIONS template argument in CNetworkOfPoses class instances for use in multiple-robot SLAM applications.

Definition at line 23 of file TMRSlamNodeAnnotations.h.

#include <mrpt/graphs/TMRSlamNodeAnnotations.h>

Inheritance diagram for mrpt::graphs::detail::TMRSlamNodeAnnotations:

Public Types

using parent_t = TNodeAnnotations
 
using self_t = TMRSlamNodeAnnotations
 

Public Member Functions

 TMRSlamNodeAnnotations ()
 
 TMRSlamNodeAnnotations (const TMRSlamNodeAnnotations &other)
 
TNodeAnnotationsgetCopyOfAnnots () const
 
bool setAnnots (const parent_t &other)
 
bool operator== (const TNodeAnnotations &other) const override
 
void getAnnotsAsString (std::string *s) const override
 
std::string retAnnotsAsString () const
 
virtual bool operator!= (const TNodeAnnotations &other) const
 

Public Attributes

std::string agent_ID_str
 string identifier of the SLAM Agent that initially registered this node. More...
 
mrpt::graphs::TNodeID nodeID_loc
 ID of node in the graph of the SLAM Agent that initially registered this node. More...
 
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

◆ parent_t

Definition at line 27 of file TMRSlamNodeAnnotations.h.

◆ self_t

Definition at line 28 of file TMRSlamNodeAnnotations.h.

Constructor & Destructor Documentation

◆ TMRSlamNodeAnnotations() [1/2]

mrpt::graphs::detail::TMRSlamNodeAnnotations::TMRSlamNodeAnnotations ( )
inline

Definition at line 30 of file TMRSlamNodeAnnotations.h.

◆ TMRSlamNodeAnnotations() [2/2]

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

Definition at line 31 of file TMRSlamNodeAnnotations.h.

References setAnnots().

Here is the call graph for this function:

Member Function Documentation

◆ getAnnotsAsString()

void mrpt::graphs::detail::TMRSlamNodeAnnotations::getAnnotsAsString ( std::string *  s) const
inlineoverridevirtual

Reimplemented from mrpt::graphs::detail::TNodeAnnotations.

Definition at line 78 of file TMRSlamNodeAnnotations.h.

References agent_ID_str, mrpt::graphs::detail::TNodeAnnotations::getAnnotsAsString(), and nodeID_loc.

Here is the call graph for this function:

◆ getCopyOfAnnots()

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

Definition at line 37 of file TMRSlamNodeAnnotations.h.

◆ operator!=()

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

Definition at line 47 of file TNodeAnnotations.h.

◆ operator==()

bool mrpt::graphs::detail::TMRSlamNodeAnnotations::operator== ( const TNodeAnnotations other) const
inlineoverridevirtual

Reimplemented from mrpt::graphs::detail::TNodeAnnotations.

Definition at line 62 of file TMRSlamNodeAnnotations.h.

References agent_ID_str, and nodeID_loc.

◆ retAnnotsAsString()

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

Definition at line 36 of file TNodeAnnotations.h.

References mrpt::graphs::detail::TNodeAnnotations::getAnnotsAsString().

Here is the call graph for this function:

◆ setAnnots()

bool mrpt::graphs::detail::TMRSlamNodeAnnotations::setAnnots ( const parent_t other)
inline

Definition at line 42 of file TMRSlamNodeAnnotations.h.

References agent_ID_str, nodeID_loc, and mrpt::graphs::detail::TNodeAnnotations::setAnnots().

Referenced by TMRSlamNodeAnnotations().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ agent_ID_str

std::string mrpt::graphs::detail::TMRSlamNodeAnnotations::agent_ID_str

string identifier of the SLAM Agent that initially registered this node.

Definition at line 92 of file TMRSlamNodeAnnotations.h.

Referenced by getAnnotsAsString(), operator==(), and setAnnots().

◆ is_node_annots_empty

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

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().

◆ nodeID_loc

mrpt::graphs::TNodeID mrpt::graphs::detail::TMRSlamNodeAnnotations::nodeID_loc

ID of node in the graph of the SLAM Agent that initially registered this node.

Note
Field is handy especially in cases where one SLAM agent communicates its local graph to another agent and we still want to keep track of the node ID in the former's graph.

Definition at line 102 of file TMRSlamNodeAnnotations.h.

Referenced by getAnnotsAsString(), operator==(), and setAnnots().




Page generated by Doxygen 1.8.14 for MRPT 2.0.0 Git: b38439d21 Tue Mar 31 19:58:06 2020 +0200 at miƩ abr 1 00:50:30 CEST 2020