InstanceSubgraphWalker Class Reference

#include <instancelib.h>

Collaboration diagram for InstanceSubgraphWalker:
Collaboration graph
[legend]

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

Detailed Description

Definition at line 34 of file instancelib.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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().


Field Documentation

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.

Referenced by post(), and pre().

Definition at line 37 of file instancelib.h.

Referenced by post(), and pre().


The documentation for this class was generated from the following file:

Generated by  doxygen 1.6.2