#include <instancelib.h>
Public Member Functions | |
InstanceSubgraphWalker (scene::Instantiable::Observer *observer, const scene::Path &path, scene::Instance *parent) | |
~InstanceSubgraphWalker () | |
bool | pre (scene::Node &node) const |
void | post (scene::Node &node) const |
Private Attributes | |
scene::Instantiable::Observer * | m_observer |
scene::Path | m_path |
Stack< scene::Instance * > | m_parent |
Definition at line 34 of file instancelib.h.
InstanceSubgraphWalker::InstanceSubgraphWalker | ( | scene::Instantiable::Observer * | observer, | |
const scene::Path & | path, | |||
scene::Instance * | parent | |||
) | [inline] |
Definition at line 40 of file instancelib.h.
InstanceSubgraphWalker::~InstanceSubgraphWalker | ( | ) | [inline] |
Definition at line 45 of file instancelib.h.
void InstanceSubgraphWalker::post | ( | scene::Node & | node | ) | const [inline] |
Definition at line 57 of file instancelib.h.
References m_parent, m_path, and Stack< Type >::pop().
bool InstanceSubgraphWalker::pre | ( | scene::Node & | node | ) | const [inline] |
Definition at line 48 of file instancelib.h.
References m_observer, m_parent, m_path, Stack< Type >::push(), and Stack< Type >::top().
scene::Instantiable::Observer* InstanceSubgraphWalker::m_observer [private] |
Definition at line 36 of file instancelib.h.
Referenced by pre().
Stack<scene::Instance*> InstanceSubgraphWalker::m_parent [mutable, private] |
Definition at line 38 of file instancelib.h.
scene::Path InstanceSubgraphWalker::m_path [mutable, private] |
Definition at line 37 of file instancelib.h.