OSVR-Core
Classes | Namespaces | Typedefs | Functions
BodyIdTypes.h File Reference

Header. More...

#include <osvr/Util/TypeSafeId.h>
#include <osvr/Util/TypeSafeIdHash.h>
#include <stdexcept>
#include <cstdint>

Go to the source code of this file.

Classes

struct  osvr::util::typesafeid_traits::WrappedType< vbtracker::detail::BodyIdTag >
 Tag-based specialization of underlying value type for body ID. More...
 
struct  osvr::util::typesafeid_traits::WrappedType< vbtracker::detail::TargetIdTag >
 Tag-based specialization of underlying value type for target ID. More...
 
struct  std::hash< osvr::vbtracker::BodyTargetId >
 

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::typesafeid_traits
 Namespace for traits templates associated with osvr::util::TypeSafeId.
 

Typedefs

using osvr::vbtracker::BodyId = util::TypeSafeId< detail::BodyIdTag >
 Type-safe zero-based body ID.
 
using osvr::vbtracker::TargetId = util::TypeSafeId< detail::TargetIdTag >
 Type-safe zero-based target ID.
 
using osvr::vbtracker::BodyTargetId = std::pair< BodyId, TargetId >
 Type-safe zero-based target ID qualified with its body ID.
 

Functions

template<typename Stream >
Stream & osvr::vbtracker::operator<< (Stream &os, BodyTargetId const &id)
 Stream output operator for the body-target ID.
 

Detailed Description

Header.

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