OSVR-Core
ClientInterfacePtr.h
Go to the documentation of this file.
1 
11 // Copyright 2014 Sensics, Inc.
12 //
13 // Licensed under the Apache License, Version 2.0 (the "License");
14 // you may not use this file except in compliance with the License.
15 // You may obtain a copy of the License at
16 //
17 // http://www.apache.org/licenses/LICENSE-2.0
18 //
19 // Unless required by applicable law or agreed to in writing, software
20 // distributed under the License is distributed on an "AS IS" BASIS,
21 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
22 // See the License for the specific language governing permissions and
23 // limitations under the License.
24 
25 #ifndef INCLUDED_ClientInterfacePtr_h_GUID_8B87240D_2BBD_46BC_8D74_BC3436FAAF3A
26 #define INCLUDED_ClientInterfacePtr_h_GUID_8B87240D_2BBD_46BC_8D74_BC3436FAAF3A
27 
28 // Internal Includes
30 #include <osvr/Util/SharedPtr.h>
31 
32 // Library/third-party includes
33 // - none
34 
35 // Standard includes
36 // - none
37 
39 namespace osvr {
40 namespace common {
41  typedef ::OSVR_ClientInterfaceObject ClientInterface;
43  typedef shared_ptr<ClientInterface> ClientInterfacePtr;
45  typedef weak_ptr<ClientInterface> ClientInterfaceWeakPtr;
46 } // namespace common
47 } // namespace osvr
48 
49 #endif // INCLUDED_ClientInterfacePtr_h_GUID_8B87240D_2BBD_46BC_8D74_BC3436FAAF3A
Handles spatial transformations.
Definition: SerializationTraitExample_Complicated.h:40
shared_ptr< ClientInterface > ClientInterfacePtr
Pointer for holding ClientInterface objects safely.
Definition: ClientInterfacePtr.h:43
Header declaring opaque types used by Client and ClientKit.
The main namespace for all C++ elements of the framework, internal and external.
Definition: namespace_osvr.dox:3
Header to bring shared_ptr into the osvr namespace.
weak_ptr< ClientInterface > ClientInterfaceWeakPtr
Pointer for observing ClientInterface objects safely and weakly.
Definition: ClientInterfacePtr.h:45
Definition: ClientInterface.h:49