Concatenation of several paths. More...
#include <hpp/core/path-vector.hh>
Public Types | |
typedef Path | parent_t |
Public Member Functions | |
std::size_t | numberPaths () const |
Get the number of sub paths. | |
const PathPtr_t & | pathAtRank (std::size_t rank) const |
Get a path in the vector. | |
std::size_t | rankAtParam (const value_type ¶m, value_type &localParam) const |
Get rank of direct path in vector at param. | |
void | appendPath (const PathPtr_t &path) |
Append a path at the end of the vector. | |
void | concatenate (const PathVector &path) |
Concatenate two vectors of path. | |
virtual PathPtr_t | extract (const interval_t &subInterval) const |
Extraction of a sub-path. | |
virtual Configuration_t | initial () const |
Get the initial configuration. | |
virtual Configuration_t | end () const |
Get the final configuration. | |
Protected Member Functions | |
virtual std::ostream & | print (std::ostream &os) const |
Print path in a stream. | |
PathVector (std::size_t outputSize, std::size_t outputDerivativeSize) | |
Constructor. | |
PathVector (const PathVector &path) | |
Copy constructor. | |
void | init (PathVectorPtr_t self) |
virtual bool | impl_compute (ConfigurationOut_t result, value_type t) const |
Function evaluation. | |
Construction, destruction, copy | |
static PathVectorPtr_t | create (size_type outputSize, size_type outputDerivativeSize) |
Create instance and return shared pointer. | |
static PathVectorPtr_t | createCopy (const PathVector &original) |
Create instance and return shared pointer. | |
virtual PathPtr_t | copy () const |
Return a shared pointer to a copy of this. | |
virtual | ~PathVector () throw () |
Destructor. |
Concatenation of several paths.
typedef Path hpp::core::PathVector::parent_t |
virtual hpp::core::PathVector::~PathVector | ( | ) | throw () [inline, virtual] |
Destructor.
hpp::core::PathVector::PathVector | ( | std::size_t | outputSize, |
std::size_t | outputDerivativeSize | ||
) | [inline, protected] |
Constructor.
hpp::core::PathVector::PathVector | ( | const PathVector & | path | ) | [inline, protected] |
Copy constructor.
References hpp::core::Path::timeRange_.
void hpp::core::PathVector::appendPath | ( | const PathPtr_t & | path | ) |
Append a path at the end of the vector.
void hpp::core::PathVector::concatenate | ( | const PathVector & | path | ) |
Concatenate two vectors of path.
virtual PathPtr_t hpp::core::PathVector::copy | ( | ) | const [inline, virtual] |
Return a shared pointer to a copy of this.
Implements hpp::core::Path.
static PathVectorPtr_t hpp::core::PathVector::create | ( | size_type | outputSize, |
size_type | outputDerivativeSize | ||
) | [inline, static] |
Create instance and return shared pointer.
References init().
static PathVectorPtr_t hpp::core::PathVector::createCopy | ( | const PathVector & | original | ) | [inline, static] |
Create instance and return shared pointer.
References init().
virtual Configuration_t hpp::core::PathVector::end | ( | ) | const [inline, virtual] |
Get the final configuration.
Implements hpp::core::Path.
virtual PathPtr_t hpp::core::PathVector::extract | ( | const interval_t & | subInterval | ) | const [virtual] |
Extraction of a sub-path.
subInterval | interval of definition of the extract path |
Reimplemented from hpp::core::Path.
virtual bool hpp::core::PathVector::impl_compute | ( | ConfigurationOut_t | configuration, |
value_type | t | ||
) | const [protected, virtual] |
void hpp::core::PathVector::init | ( | PathVectorPtr_t | self | ) | [inline, protected] |
Referenced by create(), and createCopy().
virtual Configuration_t hpp::core::PathVector::initial | ( | ) | const [inline, virtual] |
Get the initial configuration.
Implements hpp::core::Path.
std::size_t hpp::core::PathVector::numberPaths | ( | ) | const [inline] |
Get the number of sub paths.
const PathPtr_t& hpp::core::PathVector::pathAtRank | ( | std::size_t | rank | ) | const [inline] |
Get a path in the vector.
virtual std::ostream& hpp::core::PathVector::print | ( | std::ostream & | os | ) | const [inline, protected, virtual] |
Print path in a stream.
Implements hpp::core::Path.
std::size_t hpp::core::PathVector::rankAtParam | ( | const value_type & | param, |
value_type & | localParam | ||
) | const |
Get rank of direct path in vector at param.
param | parameter in interval of definition, |
localParam | parameter on sub-path |