9 #ifndef CHierarchicalMHMap_H 10 #define CHierarchicalMHMap_H
void onArcAddition(CHMHMapArc::Ptr &arc)
Event handler to be called just after an arc has being created: it will be added to the internal list...
Represents a set of nodes and arcs, posibly only a part of the whole hierarchical, multi-hypothesis map.
std::shared_ptr< CHMHMapArc > Ptr
The virtual base class which provides a unified interface for all persistent objects in MRPT...
void onArcDestruction(CHMHMapArc *arc)
Event handler to be called just before an arc is being destroyed: it will be removed from the interna...
void onNodeDestruction(CHMHMapNode *node)
Event handler to be called just before a node is being destroyed: it will be removed from the interna...
void clear()
Erase all the contents of map (It delete all nodes/arcs objects)
void dumpAsXMLfile(std::string fileName) const
Destructor.
GLsizei const GLchar ** string
void loadFromXMLfile(std::string fileName)
Load a graph from a XML file.
virtual ~CHierarchicalMHMap()
void onNodeAddition(CHMHMapNode::Ptr &node)
Event handler to be called just after a node has being created: it will be added to the internal list...
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
#define DEFINE_SERIALIZABLE(class_name)
This declaration must be inserted in all CSerializable classes definition, within the class declarati...
The most high level class for storing hybrid, multi-hypothesis maps in a graph-based model...
std::shared_ptr< CHMHMapNode > Ptr
A class for representing an arc between two nodes in a hierarchical, multi-hypothesis map...
CHierarchicalMHMap()
Default constructor.
A class for representing a node in a hierarchical, multi-hypothesis map.