Class FrameType


  • public class FrameType
    extends java.lang.Object
    Enumeration of all concrete frame types of RobWork.

    FrameType::Type is an enumeration of all frame types defined within
    RobWork. For every implementation X of Frame, FrameType has an
    enumeration value named FrameType::X.

    The type of a frame can be accessed via frameTypeAccessor().

    It is the responsibility of the work cell loaders to properly initialize
    the frame type values.

    The use of FrameType is a hack introduced due to the lack of a working
    dynamic_cast<>.
    • Constructor Detail

      • FrameType

        public FrameType​(long cPtr,
                         boolean cMemoryOwn)
      • FrameType

        public FrameType​(FrameType.Type type)
        Identifier for a frame of type type.

        Parameters:
        type - [in] The type of frame.
    • Method Detail

      • getCPtr

        public static long getCPtr​(FrameType obj)
      • delete

        public void delete()
      • get

        public FrameType.Type get()
        The frame type.

        Returns:
        The frame type.