OSVR-Core
Namespaces | Functions
ForEachTracked.h File Reference

Header. More...

#include "TrackingSystem.h"
#include "TrackedBody.h"
#include "TrackedBodyTarget.h"

Go to the source code of this file.

Namespaces

 osvr
 The main namespace for all C++ elements of the framework, internal and external.
 

Functions

template<typename F >
void osvr::vbtracker::forEachBody (TrackingSystem &sys, F &&f)
 For each body in a tracking system.
 
template<typename F >
void osvr::vbtracker::forEachBody (TrackingSystem const &sys, F &&f)
 For each body in a tracking system - const overload.
 
template<typename F >
void osvr::vbtracker::forEachTarget (TrackedBody &body, F &&f)
 For each target belonging to a tracked body. More...
 
template<typename F >
void osvr::vbtracker::forEachTarget (TrackedBody const &body, F &&f)
 For each target belonging to a tracked body - const overload. More...
 
template<typename F >
void osvr::vbtracker::forEachTarget (TrackingSystem &sys, F &&f)
 For each target in a tracking system.
 
template<typename F >
void osvr::vbtracker::forEachTarget (TrackingSystem const &sys, F &&f)
 For each target in a tracking system - const overload.
 
template<typename F >
void osvr::vbtracker::forEachIMU (TrackingSystem &sys, F &&f)
 For each IMU in a tracking system.
 
template<typename F >
void osvr::vbtracker::forEachIMU (TrackingSystem const &sys, F &&f)
 For each IMU in a tracking system - const overload.
 

Detailed Description

Header.

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

Function Documentation

§ forEachTarget() [1/2]

template<typename F >
void osvr::vbtracker::forEachTarget ( TrackedBody body,
F &&  f 
)
inline

For each target belonging to a tracked body.

Delegates to the member function of the tracked body.

§ forEachTarget() [2/2]

template<typename F >
void osvr::vbtracker::forEachTarget ( TrackedBody const &  body,
F &&  f 
)
inline

For each target belonging to a tracked body - const overload.

Delegates to the member function of the tracked body.