25 #ifndef INCLUDED_PathTreeObserver_h_GUID_229F0106_AC97_4997_0239_0900C9CB9A54 26 #define INCLUDED_PathTreeObserver_h_GUID_229F0106_AC97_4997_0239_0900C9CB9A54 31 #include <osvr/Common/Export.h> 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 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
Definition: PathTreeObserver.h:44