Main MRPT website > C++ reference for MRPT 1.5.6
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 16 of file TMRSlamNodeAnnotations.h.

#include <mrpt/graphs/TMRSlamNodeAnnotations.h>

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

Public Types

typedef TNodeAnnotations parent_t
 
typedef TMRSlamNodeAnnotations self_t
 

Public Member Functions

 TMRSlamNodeAnnotations ()
 
 TMRSlamNodeAnnotations (const TMRSlamNodeAnnotations &other)
 
TNodeAnnotationsgetCopyOfAnnots () const
 
bool setAnnots (const parent_t &other)
 
bool operator== (const TNodeAnnotations &other) const
 
void getAnnotsAsString (std::string *s) const
 
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::utils::TNodeID nodeID_loc
 ID of node in the graph of the SLAM Agent that initially registered this node. More...
 
bool is_node_annots_empty
 Indicates if this is a dummy TNodeAnnotations struct or if it does contain meaningful data. More...
 

Member Typedef Documentation

Definition at line 17 of file TMRSlamNodeAnnotations.h.

Definition at line 18 of file TMRSlamNodeAnnotations.h.

Constructor & Destructor Documentation

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

Definition at line 21 of file TMRSlamNodeAnnotations.h.

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

Definition at line 25 of file TMRSlamNodeAnnotations.h.

References setAnnots().

Member Function Documentation

void mrpt::graphs::detail::TMRSlamNodeAnnotations::getAnnotsAsString ( std::string s) const
inlinevirtual
TNodeAnnotations* mrpt::graphs::detail::TMRSlamNodeAnnotations::getCopyOfAnnots ( ) const
inline

Definition at line 31 of file TMRSlamNodeAnnotations.h.

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

Definition at line 42 of file TNodeAnnotations.h.

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

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

Definition at line 52 of file TMRSlamNodeAnnotations.h.

References agent_ID_str, and nodeID_loc.

std::string mrpt::graphs::detail::TNodeAnnotations::retAnnotsAsString ( ) const
inlineinherited
bool mrpt::graphs::detail::TMRSlamNodeAnnotations::setAnnots ( const parent_t other)
inline

Member Data Documentation

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

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

Definition at line 78 of file TMRSlamNodeAnnotations.h.

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

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

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

Definition at line 61 of file TNodeAnnotations.h.

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

mrpt::utils::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 86 of file TMRSlamNodeAnnotations.h.

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




Page generated by Doxygen 1.8.6 for MRPT 1.5.6 Git: 4c65e84 Tue Apr 24 08:18:17 2018 +0200 at mar abr 24 08:26:17 CEST 2018