Public Member Functions | |
void | expand (std::list< std::list< int > > &paths, std::list< int > currentPath=std::list< int >()) const |
GraphNode (int id, GraphNode *parent=0) | |
int | id () const |
bool | isAncestor (int id) const |
virtual | ~GraphNode () |
Private Member Functions | |
void | addChild (GraphNode *child) |
void | removeChild (GraphNode *child) |
Private Attributes | |
std::set< GraphNode * > | _children |
int | _id |
GraphNode * | _parent |
Definition at line 3347 of file Memory.cpp.
rtabmap::GraphNode::GraphNode | ( | int | id, |
GraphNode * | parent = 0 |
||
) | [inline] |
Definition at line 3350 of file Memory.cpp.
virtual rtabmap::GraphNode::~GraphNode | ( | ) | [inline, virtual] |
Definition at line 3359 of file Memory.cpp.
void rtabmap::GraphNode::addChild | ( | GraphNode * | child | ) | [inline, private] |
Definition at line 3403 of file Memory.cpp.
void rtabmap::GraphNode::expand | ( | std::list< std::list< int > > & | paths, |
std::list< int > | currentPath = std::list<int>() |
||
) | const [inline] |
Definition at line 3388 of file Memory.cpp.
int rtabmap::GraphNode::id | ( | ) | const [inline] |
Definition at line 3374 of file Memory.cpp.
bool rtabmap::GraphNode::isAncestor | ( | int | id | ) | const [inline] |
Definition at line 3375 of file Memory.cpp.
void rtabmap::GraphNode::removeChild | ( | GraphNode * | child | ) | [inline, private] |
Definition at line 3407 of file Memory.cpp.
std::set<GraphNode*> rtabmap::GraphNode::_children [private] |
Definition at line 3413 of file Memory.cpp.
int rtabmap::GraphNode::_id [private] |
Definition at line 3415 of file Memory.cpp.
GraphNode* rtabmap::GraphNode::_parent [private] |
Definition at line 3414 of file Memory.cpp.