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