25 #ifndef INCLUDED_PathTreeObserver_h_GUID_229F0106_AC97_4997_0239_0900C9CB9A54
26 #define INCLUDED_PathTreeObserver_h_GUID_229F0106_AC97_4997_0239_0900C9CB9A54
34 #include <boost/noncopyable.hpp>
43 enum class PathTreeEvents : std::size_t { AboutToUpdate, AfterUpdate };
49 using callback_type = std::function<void(callback_argument)>;
50 OSVR_COMMON_EXPORT
void setEventCallback(PathTreeEvents e,
51 callback_type
const &callback);
57 std::map<PathTreeEvents, callback_type> m_handlers;
61 #endif // INCLUDED_PathTreeObserver_h_GUID_229F0106_AC97_4997_0239_0900C9CB9A54
A tree representation, with path/url syntax, of the known OSVR system.
Automatically-generated export header - do not edit!