Header. More...
#include <boost/type_traits/remove_cv.hpp>#include <osvr/Common/NormalizeDeviceDescriptor.h>#include <json/value.h>#include <json/reader.h>#include <boost/noncopyable.hpp>#include <boost/variant/get.hpp>#include <boost/algorithm/string/predicate.hpp>#include <boost/algorithm/string/erase.hpp>#include <boost/algorithm/string.hpp>#include <iostream>Go to the source code of this file.
| Namespaces | |
| osvr | |
| < | |
| osvr::common | |
| Handles spatial transformations. | |
| Functions | |
| void | osvr::common::mergeIdenticalInterfaces (Json::Value &existingIface, Json::Value &newIface, std::string const &detail) | 
| void | osvr::common::appendCurrentIface (Json::Value &augInterface, Json::Value &currInterface) | 
| appends json value for a given string  More... | |
| void | osvr::common::normalizeForEyeTracker (Json::Value &descriptor, std::string const &ifaceName) | 
| For eyetracker, it will add the following interfaces to the descriptor provided that they are set to true: OSVR_Direction, OSVR_Location2D, OSVR_Tracker, OSVR_Button. | |
| std::string | osvr::common::normalizeDeviceDescriptor (std::string const &jsonDescriptor) | 
| "Normalizes" a device descriptor by parsing it and adding implied interfaces to the existing device descriptor before serializing it back out to a string. Contains logic for every interface that combines multiple other interfaces, such as eyetracker (direction, location2d, tracker, button)  More... | |