Package org.robwork.sdurw_trajectory
Class TimedVector2D_fPtr
- java.lang.Object
-
- org.robwork.sdurw_trajectory.TimedVector2D_fPtr
-
public class TimedVector2D_fPtr extends java.lang.Object
Ptr stores a pointer and optionally takes ownership of the value.
-
-
Constructor Summary
Constructors Constructor Description TimedVector2D_fPtr()
Default constructor yielding a NULL-pointer.TimedVector2D_fPtr(long cPtr, boolean cMemoryOwn)
TimedVector2D_fPtr(TimedVector2D_f 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 TimedVector2D_f
__ref__()
Dereferencing operator.TimedVector2D_fCPtr
cptr()
void
delete()
TimedVector2D_f
deref()
The pointer stored in the object.boolean
equals(TimedVector2D_f p)
static long
getCPtr(TimedVector2D_fPtr obj)
TimedVector2D_f
getDeref()
Member access operator.SWIGTYPE_p_double
getTime()
The timeVector2Df
getValue()
boolean
isNull()
checks if the pointer is nullboolean
isShared()
check if this Ptr has shared ownership or none
ownershipvoid
setTime(double time)
-
-
-
Constructor Detail
-
TimedVector2D_fPtr
public TimedVector2D_fPtr(long cPtr, boolean cMemoryOwn)
-
TimedVector2D_fPtr
public TimedVector2D_fPtr()
Default constructor yielding a NULL-pointer.
-
TimedVector2D_fPtr
public TimedVector2D_fPtr(TimedVector2D_f ptr)
Do not take ownership of ptr.
ptr can be null.
The constructor is implicit on purpose.
-
-
Method Detail
-
getCPtr
public static long getCPtr(TimedVector2D_fPtr obj)
-
delete
public void delete()
-
deref
public TimedVector2D_f deref()
The pointer stored in the object.
-
__ref__
public TimedVector2D_f __ref__()
Dereferencing operator.
-
getDeref
public TimedVector2D_f getDeref()
Member access operator.
-
equals
public boolean equals(TimedVector2D_f 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
-
cptr
public TimedVector2D_fCPtr cptr()
-
getTime
public SWIGTYPE_p_double getTime()
The time
-
getValue
public Vector2Df getValue()
-
setTime
public void setTime(double time)
-
-