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