OSVR-Core
Classes | Namespaces | Functions
TreeTraversalVisitor.h File Reference

Header. More...

#include <osvr/Util/TreeNode_fwd.h>
#include <utility>

Go to the source code of this file.

Classes

class  osvr::util::tree::TreeTraversalWrapper< F >
 A wrapper for pre-order traversal of a TreeNode-based tree with something like a lambda. More...
 

Namespaces

 osvr
 The main namespace for all C++ elements of the framework, internal and external.
 
 osvr::util
 The Util library: Functionality not necessarily coupled to any particular core library, serving more as a common base layer behind all systems.
 
 osvr::util::tree
 Contains a generic tree.
 

Functions

template<typename T , typename F >
void osvr::util::tree::traverseWith (T &node, F &&functor)
 A method to handle visiting every node in a tree with a lambda or other by-value function object.
 

Detailed Description

Header.

Date
2015
Author
Sensics, Inc. http://sensics.com/osvr