Package org.robwork.sdurws
Class RobWorkStudioPtr
- java.lang.Object
-
- org.robwork.sdurws.RobWorkStudioPtr
-
public class RobWorkStudioPtr extends java.lang.Object
Ptr stores a pointer and optionally takes ownership of the value.
-
-
Constructor Summary
Constructors Constructor Description RobWorkStudioPtr()
Default constructor yielding a NULL-pointer.RobWorkStudioPtr(long cPtr, boolean cMemoryOwn)
RobWorkStudioPtr(RobWorkStudio 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 RobWorkStudio
__ref__()
Dereferencing operator.void
delete()
RobWorkStudio
deref()
The pointer stored in the object.boolean
equals(RobWorkStudio p)
void
fireGenericEvent(java.lang.String str)
CollisionDetectorPtr
getCollisionDetector()
static long
getCPtr(RobWorkStudioPtr obj)
RobWorkStudio
getDeref()
Member access operator.PropertyMap
getPropertyMap()
State
getState()
PathTimedState
getTimedStatePath()
RWStudioView3DPtr
getView()
Transform3D
getViewTransform()
WorkCellPtr
getWorkCell()
SWIGTYPE_p_rw__core__PtrT_rw__graphics__WorkCellScene_t
getWorkCellScene()
boolean
isNull()
checks if the pointer is nullboolean
isShared()
check if this Ptr has shared ownership or none
ownershipLog
log()
void
openFile(java.lang.String filename)
void
openWorkCell(java.lang.String file)
void
postExit()
void
postOpenWorkCell(java.lang.String str)
void
postSaveViewGL(java.lang.String str)
void
postState(State state)
void
postTimedStatePath(PathTimedState path)
void
postUpdateAndRepaint()
void
postWorkCell(WorkCellPtr workcell)
void
saveViewGL(java.lang.String filename)
void
send(java.lang.String id)
void
send(java.lang.String id, double val)
void
send(java.lang.String id, java.lang.String val)
void
send(java.lang.String id, PropertyMap val)
void
send(java.lang.String id, Q val)
void
setState(State state)
void
setTimedStatePath(SWIGTYPE_p_rw__core__PtrT_rw__trajectory__PathT_rw__trajectory__TimedT_rw__kinematics__State_t_t_t path)
void
setViewTransform(Transform3D t3d)
void
setWorkCell(WorkCellPtr workcell)
void
updateAndRepaint()
int
wait(java.lang.String id)
int
wait(java.lang.String id, double timeout)
int
wait(java.lang.String id, Q result)
int
wait(java.lang.String id, Q result, double timeout)
-
-
-
Constructor Detail
-
RobWorkStudioPtr
public RobWorkStudioPtr(long cPtr, boolean cMemoryOwn)
-
RobWorkStudioPtr
public RobWorkStudioPtr()
Default constructor yielding a NULL-pointer.
-
RobWorkStudioPtr
public RobWorkStudioPtr(RobWorkStudio ptr)
Do not take ownership of ptr.
ptr can be null.
The constructor is implicit on purpose.
-
-
Method Detail
-
getCPtr
public static long getCPtr(RobWorkStudioPtr obj)
-
delete
public void delete()
-
deref
public RobWorkStudio deref()
The pointer stored in the object.
-
__ref__
public RobWorkStudio __ref__()
Dereferencing operator.
-
getDeref
public RobWorkStudio getDeref()
Member access operator.
-
equals
public boolean equals(RobWorkStudio 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
-
openFile
public void openFile(java.lang.String filename)
-
getPropertyMap
public PropertyMap getPropertyMap()
-
getWorkCell
public WorkCellPtr getWorkCell()
-
getCollisionDetector
public CollisionDetectorPtr getCollisionDetector()
-
getWorkCellScene
public SWIGTYPE_p_rw__core__PtrT_rw__graphics__WorkCellScene_t getWorkCellScene()
-
getView
public RWStudioView3DPtr getView()
-
getTimedStatePath
public PathTimedState getTimedStatePath()
-
log
public Log log()
-
postState
public void postState(State state)
-
postUpdateAndRepaint
public void postUpdateAndRepaint()
-
postSaveViewGL
public void postSaveViewGL(java.lang.String str)
-
postTimedStatePath
public void postTimedStatePath(PathTimedState path)
-
postWorkCell
public void postWorkCell(WorkCellPtr workcell)
-
postOpenWorkCell
public void postOpenWorkCell(java.lang.String str)
-
postExit
public void postExit()
-
getState
public State getState()
-
setTimedStatePath
public void setTimedStatePath(SWIGTYPE_p_rw__core__PtrT_rw__trajectory__PathT_rw__trajectory__TimedT_rw__kinematics__State_t_t_t path)
-
setState
public void setState(State state)
-
setWorkCell
public void setWorkCell(WorkCellPtr workcell)
-
openWorkCell
public void openWorkCell(java.lang.String file)
-
saveViewGL
public void saveViewGL(java.lang.String filename)
-
getViewTransform
public Transform3D getViewTransform()
-
setViewTransform
public void setViewTransform(Transform3D t3d)
-
updateAndRepaint
public void updateAndRepaint()
-
fireGenericEvent
public void fireGenericEvent(java.lang.String str)
-
send
public void send(java.lang.String id)
-
send
public void send(java.lang.String id, java.lang.String val)
-
send
public void send(java.lang.String id, double val)
-
send
public void send(java.lang.String id, Q val)
-
send
public void send(java.lang.String id, PropertyMap val)
-
wait
public int wait(java.lang.String id)
-
wait
public int wait(java.lang.String id, double timeout)
-
wait
public int wait(java.lang.String id, Q result, double timeout)
-
wait
public int wait(java.lang.String id, Q result)
-
-