25 #ifndef INCLUDED_PathTreeOwner_h_GUID_3B8C4AD4_90FA_4485_1388_CCFABF5EB66F
26 #define INCLUDED_PathTreeOwner_h_GUID_3B8C4AD4_90FA_4485_1388_CCFABF5EB66F
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
void replaceTree(Json::Value const &nodes)
Replace the entirety of the path tree from the given serialized array of nodes.
A tree representation, with path/url syntax, of the known OSVR system.
Object responsible for owning a path tree (specifically a "downstream"/client path tree)...
PathTreeObserverPtr makeObserver()
Make an observer object that can hold callbacks for tree updates. Callbacks are called in the order t...
Automatically-generated export header - do not edit!
PathTreeOwner & operator=(PathTreeOwner const &)=delete
non-copy-assignable