9#ifndef CHierarchicalMHMap_H
10#define CHierarchicalMHMap_H
#define DEFINE_SERIALIZABLE_POST_CUSTOM_BASE_LINKAGE(class_name, base_name, _LINKAGE_)
#define DEFINE_SERIALIZABLE(class_name)
This declaration must be inserted in all CSerializable classes definition, within the class declarati...
#define DEFINE_SERIALIZABLE_PRE_CUSTOM_BASE_LINKAGE(class_name, base_name, _LINKAGE_)
This declaration must be inserted in all CSerializable classes definition, before the class declarati...
A class for representing an arc between two nodes in a hierarchical, multi-hypothesis map.
A class for representing a node in a hierarchical, multi-hypothesis map.
The most high level class for storing hybrid, multi-hypothesis maps in a graph-based model.
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 onArcAddition(CHMHMapArcPtr &arc)
Event handler to be called just after an arc has being created: it will be added to the internal list...
void loadFromXMLfile(std::string fileName)
Load a graph from a XML file.
CHierarchicalMHMap()
Default constructor.
void dumpAsXMLfile(std::string fileName) const
Destructor.
void onNodeAddition(CHMHMapNodePtr &node)
Event handler to be called just after a node has being created: it will be added to the internal list...
void clear()
Erase all the contents of map (It delete all nodes/arcs objects)
virtual ~CHierarchicalMHMap()
Represents a set of nodes and arcs, posibly only a part of the whole hierarchical,...
struct HMTSLAM_IMPEXP CHMHMapArcPtr
struct HMTSLAM_IMPEXP CHMHMapNodePtr
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.