|
Monado OpenXR Runtime
|
CRTP glue wrapper for xrt_frame_node. More...
#include <glue/g_frame_node.hpp>
Public Member Functions | |
| const T & | derived () const noexcept |
| T & | derived () noexcept |
| const xrt_frame_node * | getFrameNode () const noexcept |
| xrt_frame_node * | getFrameNode () noexcept |
Static Public Member Functions | |
| static const T * | fromFrameNode (const xrt_frame_node *node) noexcept |
| static T * | fromFrameNode (xrt_frame_node *node) noexcept |
CRTP glue wrapper for xrt_frame_node.
Relies on standard layout to recover the derived object from the C struct, and has some requirements and limitations because of that. See C++ glue wrappers for the guide and conventions for these wrappers.
Usually inherited alongside another glue base such as FrameServerBase, so that the object is destroyed together with the xrt_frame_context it is added to.