Class GraspTaskPtr


  • public class GraspTaskPtr
    extends java.lang.Object
    Ptr stores a pointer and optionally takes ownership of the value.
    • Constructor Detail

      • GraspTaskPtr

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

        public GraspTaskPtr()
        Default constructor yielding a NULL-pointer.
      • GraspTaskPtr

        public GraspTaskPtr​(GraspTask ptr)
        Do not take ownership of ptr.

        ptr can be null.

        The constructor is implicit on purpose.
    • Method Detail

      • getCPtr

        public static long getCPtr​(GraspTaskPtr obj)
      • delete

        public void delete()
      • deref

        public GraspTask deref()
        The pointer stored in the object.
      • __ref__

        public GraspTask __ref__()
        Dereferencing operator.
      • getDeref

        public GraspTask getDeref()
        Member access operator.
      • equals

        public boolean equals​(GraspTask p)
      • isShared

        public boolean isShared()
        check if this Ptr has shared ownership or none
        ownership
        Returns:
        true if Ptr has shared ownership, false if it has no ownership.
      • isNull

        public boolean isNull()
        checks if the pointer is null
        Returns:
        Returns true if the pointer is null
      • toCartesianTask

        public TaskSE3Ptr toCartesianTask()
      • getGripperID

        public java.lang.String getGripperID()
      • getTCPID

        public java.lang.String getTCPID()
      • getGraspControllerID

        public java.lang.String getGraspControllerID()
      • setGripperID

        public void setGripperID​(java.lang.String id)
      • setTCPID

        public void setTCPID​(java.lang.String id)
      • setGraspControllerID

        public void setGraspControllerID​(java.lang.String id)
      • saveUIBK

        public void saveUIBK​(GraspTaskPtr task,
                             java.lang.String name)
      • saveRWTask

        public void saveRWTask​(GraspTaskPtr task,
                               java.lang.String name)
      • saveText

        public void saveText​(GraspTaskPtr task,
                             java.lang.String name)
      • load

        public GraspTaskPtr load​(java.lang.String name)