Package org.robwork.sdurw_assembly
Class AssemblyResultPtr
- java.lang.Object
-
- org.robwork.sdurw_assembly.AssemblyResultPtr
-
public class AssemblyResultPtr extends java.lang.Object
Ptr stores a pointer and optionally takes ownership of the value.
-
-
Constructor Summary
Constructors Constructor Description AssemblyResultPtr()
Default constructor yielding a NULL-pointer.AssemblyResultPtr(long cPtr, boolean cMemoryOwn)
AssemblyResultPtr(AssemblyResult ptr)
Do not take ownership of ptr.
ptr can be null.
The constructor is implicit on purpose.
-
Method Summary
-
-
-
Constructor Detail
-
AssemblyResultPtr
public AssemblyResultPtr(long cPtr, boolean cMemoryOwn)
-
AssemblyResultPtr
public AssemblyResultPtr()
Default constructor yielding a NULL-pointer.
-
AssemblyResultPtr
public AssemblyResultPtr(AssemblyResult ptr)
Do not take ownership of ptr.
ptr can be null.
The constructor is implicit on purpose.
-
-
Method Detail
-
getCPtr
public static long getCPtr(AssemblyResultPtr obj)
-
delete
public void delete()
-
deref
public AssemblyResult deref()
The pointer stored in the object.
-
__ref__
public AssemblyResult __ref__()
Dereferencing operator.
-
getDeref
public AssemblyResult getDeref()
Member access operator.
-
equals
public boolean equals(AssemblyResult 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
-
clone
public AssemblyResultPtr clone()
-
toCartesianTask
public TaskSE3Ptr toCartesianTask()
-
saveRWResult
public void saveRWResult(AssemblyResultPtr result, java.lang.String name)
-
saveRWResult
public void saveRWResult(AssemblyResultPtrVector results, java.lang.String name)
-
load
public AssemblyResultPtrVector load(java.lang.String name)
-
load
public AssemblyResultPtrVector load(SWIGTYPE_p_std__istringstream inputStream)
-
setSuccess
public void setSuccess(boolean value)
-
getSuccess
public boolean getSuccess()
-
setFemaleTmaleEnd
public void setFemaleTmaleEnd(Transform3D value)
-
getFemaleTmaleEnd
public Transform3D getFemaleTmaleEnd()
-
setTaskID
public void setTaskID(java.lang.String value)
-
getTaskID
public java.lang.String getTaskID()
-
setResultID
public void setResultID(java.lang.String value)
-
getResultID
public java.lang.String getResultID()
-
setRealState
public void setRealState(PathTimedAssemblyState value)
-
getRealState
public PathTimedAssemblyState getRealState()
-
setAssumedState
public void setAssumedState(PathTimedAssemblyState value)
-
getAssumedState
public PathTimedAssemblyState getAssumedState()
-
setApproach
public void setApproach(Transform3D value)
-
getApproach
public Transform3D getApproach()
-
setErrorMessage
public void setErrorMessage(java.lang.String value)
-
getErrorMessage
public java.lang.String getErrorMessage()
-
-