Package org.robwork.sdurw_pathplanning
Class QIKSamplerCPtr
- java.lang.Object
-
- org.robwork.sdurw_pathplanning.QIKSamplerCPtr
-
public class QIKSamplerCPtr extends java.lang.Object
Ptr stores a pointer and optionally takes ownership of the value.
-
-
Constructor Summary
Constructors Constructor Description QIKSamplerCPtr()
Default constructor yielding a NULL-pointer.QIKSamplerCPtr(long cPtr, boolean cMemoryOwn)
QIKSamplerCPtr(QIKSampler 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 QIKSampler
__ref__()
Dereferencing operator.void
delete()
QIKSampler
deref()
The pointer stored in the object.boolean
empty()
True if the sampler is known to contain no more
configurations.boolean
equals(QIKSampler p)
static long
getCPtr(QIKSamplerCPtr obj)
QIKSampler
getDeref()
Member access operator.boolean
isNull()
checks if the pointer is nullboolean
isShared()
check if this Ptr has shared ownership or none
ownership
-
-
-
Constructor Detail
-
QIKSamplerCPtr
public QIKSamplerCPtr(long cPtr, boolean cMemoryOwn)
-
QIKSamplerCPtr
public QIKSamplerCPtr()
Default constructor yielding a NULL-pointer.
-
QIKSamplerCPtr
public QIKSamplerCPtr(QIKSampler ptr)
Do not take ownership of ptr.
ptr can be null.
The constructor is implicit on purpose.
-
-
Method Detail
-
getCPtr
public static long getCPtr(QIKSamplerCPtr obj)
-
delete
public void delete()
-
deref
public QIKSampler deref()
The pointer stored in the object.
-
__ref__
public QIKSampler __ref__()
Dereferencing operator.
-
getDeref
public QIKSampler getDeref()
Member access operator.
-
equals
public boolean equals(QIKSampler 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
-
empty
public boolean empty()
True if the sampler is known to contain no more
configurations.
-
-