KDL  1.4.0
Public Member Functions | Static Public Member Functions | Private Types | Private Attributes | List of all members
KDL::Trajectory_Composite Class Reference

Trajectory_Composite implements a trajectory that is composed of underlying trajectoria. More...

#include <src/trajectory_composite.hpp>

Inheritance diagram for KDL::Trajectory_Composite:
Inheritance graph
[legend]
Collaboration diagram for KDL::Trajectory_Composite:
Collaboration graph
[legend]

Public Member Functions

 Trajectory_Composite ()
 
virtual double Duration () const
 
virtual Frame Pos (double time) const
 
virtual Twist Vel (double time) const
 
virtual Twist Acc (double time) const
 
virtual void Add (Trajectory *elem)
 
virtual void Destroy ()
 
virtual void Write (std::ostream &os) const
 
virtual TrajectoryClone () const
 
virtual ~Trajectory_Composite ()
 

Static Public Member Functions

static TrajectoryRead (std::istream &is)
 

Private Types

typedef std::vector< Trajectory * > VectorTraj
 
typedef std::vector< double > VectorDouble
 

Private Attributes

VectorTraj vt
 
VectorDouble vd
 
double duration
 

Detailed Description

Trajectory_Composite implements a trajectory that is composed of underlying trajectoria.

Call Add to add a trajectory

Member Typedef Documentation

§ VectorDouble

typedef std::vector<double> KDL::Trajectory_Composite::VectorDouble
private

§ VectorTraj

typedef std::vector<Trajectory*> KDL::Trajectory_Composite::VectorTraj
private

Constructor & Destructor Documentation

§ Trajectory_Composite()

KDL::Trajectory_Composite::Trajectory_Composite ( )

Referenced by Clone().

§ ~Trajectory_Composite()

KDL::Trajectory_Composite::~Trajectory_Composite ( )
virtual

References Destroy().

Member Function Documentation

§ Acc()

Twist KDL::Trajectory_Composite::Acc ( double  time) const
virtual

§ Add()

void KDL::Trajectory_Composite::Add ( Trajectory elem)
virtual

References duration, KDL::Trajectory::Duration(), vd, and vt.

Referenced by Clone().

§ Clone()

Trajectory * KDL::Trajectory_Composite::Clone ( ) const
virtual

Implements KDL::Trajectory.

References Add(), Trajectory_Composite(), and vt.

§ Destroy()

void KDL::Trajectory_Composite::Destroy ( )
virtual

References vd, and vt.

Referenced by ~Trajectory_Composite().

§ Duration()

double KDL::Trajectory_Composite::Duration ( ) const
virtual

Implements KDL::Trajectory.

References duration.

§ Pos()

Frame KDL::Trajectory_Composite::Pos ( double  time) const
virtual

§ Read()

Trajectory * KDL::Trajectory::Read ( std::istream &  is)
staticinherited

§ Vel()

Twist KDL::Trajectory_Composite::Vel ( double  time) const
virtual

§ Write()

void KDL::Trajectory_Composite::Write ( std::ostream &  os) const
virtual

Implements KDL::Trajectory.

References vt.

Member Data Documentation

§ duration

double KDL::Trajectory_Composite::duration
private

Referenced by Add(), and Duration().

§ vd

VectorDouble KDL::Trajectory_Composite::vd
private

Referenced by Acc(), Add(), Destroy(), Pos(), and Vel().

§ vt

VectorTraj KDL::Trajectory_Composite::vt
private

Referenced by Acc(), Add(), Clone(), Destroy(), Pos(), Vel(), and Write().


The documentation for this class was generated from the following files: