TimedTrajectory.h
Go to the documentation of this file.
1 #ifndef TIMEDTRAJECTORY_H
2 #define TIMEDTRAJECTORY_H
3 
6 
7 namespace armarx
8 {
9  /**
10  * @class TimedTrajectory
11  * @brief A container for a Trajectory and a set of timestamps, representing the arrival of the Trajectory at userPoints.
12  */
14  {
15  private:
16  //The Trajectory.
17  TrajectoryPtr trajectory;
18  //Mapped times of the Trajectory reaching userpoints.
19  std::vector<double> userPoints;
20  public:
21  /**
22  * @brief Creates a TimedTrajectory out of the supplied Trajectory and userpoints.
23  * @param trajectory The Trajectory to point to.
24  * @param userPoints The UserPoints.
25  * @return The set of userPoints.
26  */
27  TimedTrajectory(armarx::TrajectoryPtr trajectory, std::vector<double> userPoints);
28  /**
29  * @brief Returns the contained Trajectory.
30  * @return The contained Trajectory.
31  */
33  /**
34  * @brief Returns the userPoints.
35  * @return The set of userPoints.
36  */
37  std::vector<double> getUserPoints() const;
38  };
39 }
40 #endif // TIMEDTRAJECTORY_H
armarx::TimedTrajectory::TimedTrajectory
TimedTrajectory(armarx::TrajectoryPtr trajectory, std::vector< double > userPoints)
Creates a TimedTrajectory out of the supplied Trajectory and userpoints.
Definition: TimedTrajectory.cpp:4
armarx::TimedTrajectory::getUserPoints
std::vector< double > getUserPoints() const
Returns the userPoints.
Definition: TimedTrajectory.cpp:15
IceInternal::Handle< Trajectory >
armarx::TimedTrajectory::getTrajectory
const armarx::TrajectoryPtr getTrajectory() const
Returns the contained Trajectory.
Definition: TimedTrajectory.cpp:10
NotImplementedYetException.h
Trajectory.h
armarx::TimedTrajectory
A container for a Trajectory and a set of timestamps, representing the arrival of the Trajectory at u...
Definition: TimedTrajectory.h:13
armarx
This file offers overloads of toIce() and fromIce() functions for STL container types.
Definition: ArmarXTimeserver.cpp:28