OSVR-Core
Public Member Functions | List of all members
osvr::common::TreeResolutionVisitor Class Reference
Inheritance diagram for osvr::common::TreeResolutionVisitor:

Public Member Functions

 TreeResolutionVisitor (common::PathTree &tree, common::PathNode &node, common::OriginalSource &source)
 
template<typename T >
void operator() (T const &)
 Fallback case.
 
void operator() (elements::AliasElement const &elt)
 Handle an alias element. More...
 
void operator() (elements::SensorElement const &)
 Handle a sensor element. More...
 
void operator() (elements::InterfaceElement const &)
 Handle an interface element. More...
 

Member Function Documentation

§ operator()() [1/3]

void osvr::common::TreeResolutionVisitor::operator() ( elements::AliasElement const &  elt)
inline

Handle an alias element.

Todo:
update the element with the normalized source?

§ operator()() [2/3]

void osvr::common::TreeResolutionVisitor::operator() ( elements::SensorElement const &  )
inline

Handle a sensor element.

This is the end of the traversal: landed on a sensor.

§ operator()() [3/3]

void osvr::common::TreeResolutionVisitor::operator() ( elements::InterfaceElement const &  )
inline

Handle an interface element.

This is the end of the traversal: landed on a interface.


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