25 #ifndef INCLUDED_PathTreeOwner_h_GUID_3B8C4AD4_90FA_4485_1388_CCFABF5EB66F 26 #define INCLUDED_PathTreeOwner_h_GUID_3B8C4AD4_90FA_4485_1388_CCFABF5EB66F 31 #include <osvr/Common/Export.h> 34 #include <boost/noncopyable.hpp> 35 #include <json/value.h> 59 explicit operator bool()
const {
return m_valid; }
70 OSVR_COMMON_EXPORT
void replaceTree(Json::Value
const &nodes);
80 std::vector<PathTreeObserverWeakPtr> m_observers;
85 #endif // INCLUDED_PathTreeOwner_h_GUID_3B8C4AD4_90FA_4485_1388_CCFABF5EB66F OSVR_COMMON_EXPORT void replaceTree(Json::Value const &nodes)
Replace the entirety of the path tree from the given serialized array of nodes.
Definition: PathTreeOwner.cpp:74
Handles spatial transformations.
Definition: SerializationTraitExample_Complicated.h:40
A tree representation, with path/url syntax, of the known OSVR system.
Definition: PathTree.h:43
The main namespace for all C++ elements of the framework, internal and external.
Definition: namespace_osvr.dox:3
Object responsible for owning a path tree (specifically a "downstream"/client path tree)...
Definition: PathTreeOwner.h:48
OSVR_COMMON_EXPORT PathTreeObserverPtr makeObserver()
Make an observer object that can hold callbacks for tree updates.
Definition: PathTreeOwner.cpp:68
PathTreeOwner & operator=(PathTreeOwner const &)=delete
non-copy-assignable