Public Types | Public Member Functions | Private Types | Private Attributes
SynchedTrajectory< P > Class Template Reference

Container of Trajectories allowing a single interface for synched trajectories. More...

#include <Trajectory.h>

Inheritance diagram for SynchedTrajectory< P >:
Inheritance graph
[legend]

List of all members.

Public Types

typedef Trajectory
< std::vector< P > > 
baseType

Public Member Functions

void clear ()
virtual void getPose (double time, typename baseType::poseType &pose)
 getPose get pose at a particular time
boost::shared_ptr< const
Trajectory< typename
baseType::poseType > > 
operator[] (unsigned int i)
void pop_back ()
void push_back (boost::shared_ptr< Trajectory< P > > traj)
unsigned int size ()
 SynchedTrajectory ()
virtual ~SynchedTrajectory ()

Private Types

typedef std::vector
< boost::shared_ptr
< Trajectory< P > > > 
trajectories_type

Private Attributes

trajectories_type trajectories

Detailed Description

template<class P>
class SynchedTrajectory< P >

Container of Trajectories allowing a single interface for synched trajectories.

Definition at line 55 of file Trajectory.h.


Member Typedef Documentation

template<class P >
typedef Trajectory<std::vector<P> > SynchedTrajectory< P >::baseType

Reimplemented in TrajectorySequence< P, SynchedTrajectory >.

Definition at line 58 of file Trajectory.h.

template<class P >
typedef std::vector<boost::shared_ptr<Trajectory<P> > > SynchedTrajectory< P >::trajectories_type [private]

Reimplemented in TrajectorySequence< P, SynchedTrajectory >.

Definition at line 86 of file Trajectory.h.


Constructor & Destructor Documentation

template<class P >
SynchedTrajectory< P >::SynchedTrajectory ( ) [inline]

Definition at line 60 of file Trajectory.h.

template<class P >
virtual SynchedTrajectory< P >::~SynchedTrajectory ( ) [inline, virtual]

Definition at line 61 of file Trajectory.h.


Member Function Documentation

template<class P >
void SynchedTrajectory< P >::clear ( ) [inline]

Reimplemented in TrajectorySequence< P, SynchedTrajectory >.

Definition at line 72 of file Trajectory.h.

template<class P >
void SynchedTrajectory< P >::getPose ( double  time,
typename baseType::poseType pose 
) [virtual]

getPose get pose at a particular time

Parameters:
timetime along trajectory (0 - getDuration())
stepPosepose corresponding to the time

each step in a joint trajectory contains the position, velocity, and acceleration

Implements Trajectory< std::vector< P > >.

Reimplemented in TrajectorySequence< P, SynchedTrajectory >.

Definition at line 174 of file Trajectory.h.

template<class P >
boost::shared_ptr<const Trajectory<typename baseType::poseType> > SynchedTrajectory< P >::operator[] ( unsigned int  i) [inline]

Definition at line 80 of file Trajectory.h.

template<class P >
void SynchedTrajectory< P >::pop_back ( ) [inline]

Reimplemented in TrajectorySequence< P, SynchedTrajectory >.

Definition at line 65 of file Trajectory.h.

template<class P >
void SynchedTrajectory< P >::push_back ( boost::shared_ptr< Trajectory< P > >  traj)

Definition at line 155 of file Trajectory.h.

template<class P >
unsigned int SynchedTrajectory< P >::size ( ) [inline]

Definition at line 78 of file Trajectory.h.


Member Data Documentation

template<class P >
trajectories_type SynchedTrajectory< P >::trajectories [private]

Reimplemented in TrajectorySequence< P, SynchedTrajectory >.

Definition at line 87 of file Trajectory.h.


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


robodyn_controllers
Author(s):
autogenerated on Sat Jun 8 2019 20:20:55