OSVR Framework (Internal Development Docs)  0.6-1962-g59773924
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
BeaconIdTypes.h File Reference

Header. More...

#include "BodyIdTypes.h"
#include <osvr/Util/TypeSafeId.h>
#include <boost/assert.hpp>
#include <stdexcept>

Go to the source code of this file.

Classes

struct  osvr::util::typesafeid_traits::WrappedType< vbtracker::detail::ZeroBasedBeaconIdTag >
 Tag-based specialization of underlying value type for beacon ID. More...
 
struct  osvr::util::typesafeid_traits::WrappedType< vbtracker::detail::OneBasedBeaconIdTag >
 Tag-based specialization of underlying value type for beacon ID. More...
 

Namespaces

 osvr
 <
 
 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::UnderlyingBeaconIdType = int
 All beacon IDs, whether 0 or 1 based, are ints on the inside.
 
using osvr::vbtracker::ZeroBasedBeaconId = util::TypeSafeId< detail::ZeroBasedBeaconIdTag >
 Type-safe zero-based beacon ID.
 
using osvr::vbtracker::OneBasedBeaconId = util::TypeSafeId< detail::OneBasedBeaconIdTag >
 Type-safe one-based beacon ID.
 

Functions

OneBasedBeaconId osvr::vbtracker::makeOneBased (ZeroBasedBeaconId id)
 
OneBasedBeaconId const & osvr::vbtracker::makeOneBased (OneBasedBeaconId const &id)
 
ZeroBasedBeaconId osvr::vbtracker::makeZeroBased (OneBasedBeaconId id)
 
ZeroBasedBeaconId const & osvr::vbtracker::makeZeroBased (ZeroBasedBeaconId const &id)
 
bool osvr::vbtracker::beaconIdentified (ZeroBasedBeaconId id)
 Does the given beacon ID indicate that it's identified?
 
std::size_t osvr::vbtracker::asIndex (ZeroBasedBeaconId id)
 

Detailed Description

Header.

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

Definition in file BeaconIdTypes.h.