OSVR-Core
NormalizeDeviceDescriptor.h
Go to the documentation of this file.
1 
12 // Copyright 2015 Sensics, Inc.
13 //
14 // Licensed under the Apache License, Version 2.0 (the "License");
15 // you may not use this file except in compliance with the License.
16 // You may obtain a copy of the License at
17 //
18 // http://www.apache.org/licenses/LICENSE-2.0
19 //
20 // Unless required by applicable law or agreed to in writing, software
21 // distributed under the License is distributed on an "AS IS" BASIS,
22 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
23 // See the License for the specific language governing permissions and
24 // limitations under the License.
25 
26 #ifndef INCLUDED_NormalizeDeviceDescriptor_h_GUID_1DF9C796_7C76_47A2_74DA_5DDCF1F407C9
27 #define INCLUDED_NormalizeDeviceDescriptor_h_GUID_1DF9C796_7C76_47A2_74DA_5DDCF1F407C9
28 
29 // Internal Includes
30 #include <osvr/Common/Export.h>
31 
32 // Library/third-party includes
33 // - none
34 
35 // Standard includes
36 #include <string>
37 
38 namespace osvr {
39 namespace common {
47  OSVR_COMMON_EXPORT std::string
48  normalizeDeviceDescriptor(std::string const &jsonDescriptor);
49 
50 } // namespace common
51 } // namespace osvr
52 
53 #endif // INCLUDED_NormalizeDeviceDescriptor_h_GUID_1DF9C796_7C76_47A2_74DA_5DDCF1F407C9
Handles spatial transformations.
Definition: SerializationTraitExample_Complicated.h:40
OSVR_COMMON_EXPORT std::string normalizeDeviceDescriptor(std::string const &jsonDescriptor)
"Normalizes" a device descriptor by parsing it and adding implied interfaces to the existing device d...
Definition: NormalizeDeviceDescriptor.cpp:136
The main namespace for all C++ elements of the framework, internal and external.
Definition: namespace_osvr.dox:3