OSVR-Core
PathNode_fwd.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_PathNode_fwd_h_GUID_3160EFE4_EC7A_4187_5263_ED3303384F7B
26 #define INCLUDED_PathNode_fwd_h_GUID_3160EFE4_EC7A_4187_5263_ED3303384F7B
27 
28 // Internal Includes
29 #include <osvr/Common/Export.h>
31 #include <osvr/Util/TreeNode_fwd.h> // IWYU pragma: export
32 
33 // Library/third-party includes
34 // - none
35 
36 // Standard includes
37 // - none
38 
39 namespace osvr {
40 namespace common {
42  typedef ::osvr::util::TreeNode<PathElement> PathNode;
43 
45  typedef ::osvr::util::TreeNodePointer<PathElement>::type PathNodePtr;
46 
48  typedef PathNode *PathNodeParentPtr;
49 
51  OSVR_COMMON_EXPORT const char *getTypeName(PathNode const &node);
52 } // namespace common
53 } // namespace osvr
54 
55 #endif // INCLUDED_PathNode_fwd_h_GUID_3160EFE4_EC7A_4187_5263_ED3303384F7B
Handles spatial transformations.
Definition: SerializationTraitExample_Complicated.h:40
::osvr::util::TreeNode< PathElement > PathNode
The specific tree node type that contains a path element.
Definition: PathNode_fwd.h:42
The main namespace for all C++ elements of the framework, internal and external.
Definition: namespace_osvr.dox:3
PathNode * PathNodeParentPtr
The weak (non-owning) pointer used to refer to a parent tree node.
Definition: PathNode_fwd.h:48
OSVR_COMMON_EXPORT const char * getTypeName(PathNode const &node)
Gets an identifying string for the node value type.
Definition: PathNode.cpp:39
::osvr::util::TreeNodePointer< PathElement >::type PathNodePtr
The ownership pointer of the specific tree node.
Definition: PathNode_fwd.h:45
Header forward-declaring the types in PathElementTypes.h and including the PathElement typedef...