Package org.robwork.sdurw
Class PathTimedState
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<TimedState>
-
- org.robwork.sdurw.TimedStateVector
-
- org.robwork.sdurw.PathTimedState
-
- All Implemented Interfaces:
java.lang.Iterable<TimedState>
,java.util.Collection<TimedState>
,java.util.List<TimedState>
,java.util.RandomAccess
public class PathTimedState extends TimedStateVector
-
-
Constructor Summary
Constructors Constructor Description PathTimedState()
PathTimedState(long cnt)
PathTimedState(long cPtr, boolean cMemoryOwn)
PathTimedState(long cnt, TimedState value)
PathTimedState(TimedStateVector v)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
append(PathTimedStatePtr spath)
void
delete()
TimedState
elem(long idx)
static long
getCPtr(PathTimedState obj)
static PathTimedStatePtr
load(java.lang.String filename, WorkCellPtr wc)
void
save(java.lang.String filename, WorkCellPtr wc)
int
size()
-
Methods inherited from class org.robwork.sdurw.TimedStateVector
add, add, capacity, clear, get, getCPtr, isEmpty, remove, reserve, set
-
Methods inherited from class java.util.AbstractList
addAll, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, subList
-
-
-
-
Constructor Detail
-
PathTimedState
public PathTimedState(long cPtr, boolean cMemoryOwn)
-
PathTimedState
public PathTimedState()
-
PathTimedState
public PathTimedState(long cnt)
-
PathTimedState
public PathTimedState(long cnt, TimedState value)
-
PathTimedState
public PathTimedState(TimedStateVector v)
-
-
Method Detail
-
getCPtr
public static long getCPtr(PathTimedState obj)
-
delete
public void delete()
- Overrides:
delete
in classTimedStateVector
-
size
public int size()
- Specified by:
size
in interfacejava.util.Collection<TimedState>
- Specified by:
size
in interfacejava.util.List<TimedState>
- Overrides:
size
in classTimedStateVector
-
elem
public TimedState elem(long idx)
-
load
public static PathTimedStatePtr load(java.lang.String filename, WorkCellPtr wc)
-
save
public void save(java.lang.String filename, WorkCellPtr wc)
-
append
public void append(PathTimedStatePtr spath)
-
-