Package org.robwork.sdurw_trajectory
Class PathTimedState
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<TimedState>
-
- org.robwork.sdurw_trajectory.TimedStateVector
-
- org.robwork.sdurw_trajectory.PathTimedState
-
- All Implemented Interfaces:
java.lang.Iterable<TimedState>,java.util.Collection<TimedState>,java.util.List<TimedState>,java.util.RandomAccess
public class PathTimedState extends TimedStateVector
This is a std::Vector overloaded with some extra constructor functionality
-
-
Constructor Summary
Constructors Constructor Description PathTimedState()Default constructorPathTimedState(long cnt)Constructor adding cnt elements.PathTimedState(long cPtr, boolean cMemoryOwn)PathTimedState(long cnt, TimedState value)Constructor adding cnt elements with value value.PathTimedState(TimedStateVector v)Construct Path and copies elements from v
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidappend(SWIGTYPE_p_rw__core__PtrT_rw__trajectory__PathT_rw__trajectory__TimedT_rw__kinematics__State_t_t_t spath)PathTimedStateassign(TimedStateVector rhs)Construct Path and copies elements from rhsvoiddelete()TimedStateelem(long idx)static longgetCPtr(PathTimedState obj)intsize()-
Methods inherited from class org.robwork.sdurw_trajectory.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()
Default constructor
-
PathTimedState
public PathTimedState(long cnt)
Constructor adding cnt elements. Objects of type T is added using default
constructor- Parameters:
cnt- [in] Number of elements in data structure.
-
PathTimedState
public PathTimedState(long cnt, TimedState value)Constructor adding cnt elements with value value.- Parameters:
cnt- [in] Number of elements in data structure.value- [in] Values with which to initialize elements.
-
PathTimedState
public PathTimedState(TimedStateVector v)
Construct Path and copies elements from v- Parameters:
v- [in] vector to copy data from
-
-
Method Detail
-
getCPtr
public static long getCPtr(PathTimedState obj)
-
delete
public void delete()
- Overrides:
deletein classTimedStateVector
-
assign
public PathTimedState assign(TimedStateVector rhs)
Construct Path and copies elements from rhs- Parameters:
rhs- [in] vector to copy data from
-
size
public int size()
- Specified by:
sizein interfacejava.util.Collection<TimedState>- Specified by:
sizein interfacejava.util.List<TimedState>- Overrides:
sizein classTimedStateVector
-
elem
public TimedState elem(long idx)
-
append
public void append(SWIGTYPE_p_rw__core__PtrT_rw__trajectory__PathT_rw__trajectory__TimedT_rw__kinematics__State_t_t_t spath)
-
-