OSVR-Core
LowLatency.h
Go to the documentation of this file.
1 
12 // Copyright 2016 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_LowLatency_h_GUID_A7B15740_3824_499E_22C3_EE2B08AFC7AC
27 #define INCLUDED_LowLatency_h_GUID_A7B15740_3824_499E_22C3_EE2B08AFC7AC
28 
29 // Internal Includes
30 #include <osvr/Common/Export.h>
31 
32 // Library/third-party includes
33 // - none
34 
35 // Standard includes
36 #include <memory>
37 
38 namespace osvr {
39 namespace common {
54  class LowLatency {
55  public:
56  OSVR_COMMON_EXPORT LowLatency();
57  OSVR_COMMON_EXPORT ~LowLatency();
58  LowLatency(LowLatency const &) = delete;
59  LowLatency &operator=(LowLatency const &) = delete;
60 
61  private:
62  // private implementation, if any is needed.
63  struct Impl;
64  std::unique_ptr<Impl> m_impl;
65  };
66 } // namespace common
67 } // namespace osvr
68 #endif // INCLUDED_LowLatency_h_GUID_A7B15740_3824_499E_22C3_EE2B08AFC7AC
Handles spatial transformations.
Definition: SerializationTraitExample_Complicated.h:40
The main namespace for all C++ elements of the framework, internal and external.
Definition: namespace_osvr.dox:3
An object that sets a system for low-latency, but potentially high-CPU-usage, high power...
Definition: LowLatency.h:54
Definition: LowLatency.cpp:66