Package org.robwork.sdurw
Class PathSE3CPtr
- java.lang.Object
-
- org.robwork.sdurw.PathSE3CPtr
-
public class PathSE3CPtr extends java.lang.ObjectPtr stores a pointer and optionally takes ownership of the value.
-
-
Constructor Summary
Constructors Constructor Description PathSE3CPtr()Default constructor yielding a NULL-pointer.PathSE3CPtr(long cPtr, boolean cMemoryOwn)PathSE3CPtr(PathSE3 ptr)Do not take ownership of ptr.
ptr can be null.
The constructor is implicit on purpose.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PathSE3__ref__()Dereferencing operator.longcapacity()voiddelete()PathSE3deref()The pointer stored in the object.booleanequals(PathSE3 p)static longgetCPtr(PathSE3CPtr obj)PathSE3getDeref()Member access operator.booleanisEmpty()booleanisNull()checks if the pointer is nullbooleanisShared()check if this Ptr has shared ownership or none
ownership
-
-
-
Constructor Detail
-
PathSE3CPtr
public PathSE3CPtr(long cPtr, boolean cMemoryOwn)
-
PathSE3CPtr
public PathSE3CPtr()
Default constructor yielding a NULL-pointer.
-
PathSE3CPtr
public PathSE3CPtr(PathSE3 ptr)
Do not take ownership of ptr.
ptr can be null.
The constructor is implicit on purpose.
-
-
Method Detail
-
getCPtr
public static long getCPtr(PathSE3CPtr obj)
-
delete
public void delete()
-
deref
public PathSE3 deref()
The pointer stored in the object.
-
__ref__
public PathSE3 __ref__()
Dereferencing operator.
-
getDeref
public PathSE3 getDeref()
Member access operator.
-
equals
public boolean equals(PathSE3 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
-
capacity
public long capacity()
-
isEmpty
public boolean isEmpty()
-
-