coordsys_generic

namespace nin {
    template <derived_from_coordsys_backend BE>
    class coordsys_generic final : public coordsys<typename BE::coordsys_traits>;
}

coordsys_generic is a convenience wrapper that turns any coordsys_backend derivation into a complete coordinate system. It owns a backend of type BE and exposes it through operator →.

Use coordsys_generic when you have a custom backend that is not a child (i.e. it does not have a parent in the kinematic tree, or manages its own traversal logic). For child-style backends, use coordsys_child instead.

Member functions

(Constructor)

Perfect-forwards all arguments to the BE constructor.

operator →

access the underlying backend

BE * operator →()

(1)

BE const* operator →() const

(2)

Provides pointer-style access to the underlying backend object.