curves::curve_abc< Time, Numeric, Safe, Point > Struct Template Referenceabstract

Represents a curve of dimension Dim. More...

#include <curves/curve_abc.h>

Inheritance diagram for curves::curve_abc< Time, Numeric, Safe, Point >:
[legend]
Collaboration diagram for curves::curve_abc< Time, Numeric, Safe, Point >:
[legend]

Public Types

typedef Point point_t
 
typedef Time time_t
 

Public Member Functions

 curve_abc ()
 Constructor. More...
 
virtual ~curve_abc ()
 Destructor. More...
 
virtual point_t operator() (const time_t t) const =0
 Evaluation of the cubic spline at time t. More...
 
virtual point_t derivate (const time_t t, const std::size_t order) const =0
 Evaluate the derivative of order N of curve at time t. More...
 
virtual std::size_t dim () const =0
 Get dimension of curve. More...
 
virtual time_t min () const =0
 Get the minimum time for which the curve is defined. More...
 
virtual time_t max () const =0
 Get the maximum time for which the curve is defined. More...
 
std::pair< time_t, time_ttimeRange ()
 
template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 

Friends

class boost::serialization::access
 

Detailed Description

template<typename Time = double, typename Numeric = Time, bool Safe = false, typename Point = Eigen::Matrix<Numeric, Eigen::Dynamic, 1>>
struct curves::curve_abc< Time, Numeric, Safe, Point >

Represents a curve of dimension Dim.

If value of parameter Safe is false, no verification is made on the evaluation of the curve.

Member Typedef Documentation

◆ point_t

template<typename Time = double, typename Numeric = Time, bool Safe = false, typename Point = Eigen::Matrix<Numeric, Eigen::Dynamic, 1>>
typedef Point curves::curve_abc< Time, Numeric, Safe, Point >::point_t

◆ time_t

template<typename Time = double, typename Numeric = Time, bool Safe = false, typename Point = Eigen::Matrix<Numeric, Eigen::Dynamic, 1>>
typedef Time curves::curve_abc< Time, Numeric, Safe, Point >::time_t

Constructor & Destructor Documentation

◆ curve_abc()

template<typename Time = double, typename Numeric = Time, bool Safe = false, typename Point = Eigen::Matrix<Numeric, Eigen::Dynamic, 1>>
curves::curve_abc< Time, Numeric, Safe, Point >::curve_abc ( )
inline

Constructor.

◆ ~curve_abc()

template<typename Time = double, typename Numeric = Time, bool Safe = false, typename Point = Eigen::Matrix<Numeric, Eigen::Dynamic, 1>>
virtual curves::curve_abc< Time, Numeric, Safe, Point >::~curve_abc ( )
inlinevirtual

Destructor.

Member Function Documentation

◆ derivate()

template<typename Time = double, typename Numeric = Time, bool Safe = false, typename Point = Eigen::Matrix<Numeric, Eigen::Dynamic, 1>>
virtual point_t curves::curve_abc< Time, Numeric, Safe, Point >::derivate ( const time_t  t,
const std::size_t  order 
) const
pure virtual

◆ dim()

◆ max()

◆ min()

◆ operator()()

◆ serialize()

template<typename Time = double, typename Numeric = Time, bool Safe = false, typename Point = Eigen::Matrix<Numeric, Eigen::Dynamic, 1>>
template<class Archive >
void curves::curve_abc< Time, Numeric, Safe, Point >::serialize ( Archive &  ar,
const unsigned int  version 
)
inline

◆ timeRange()

template<typename Time = double, typename Numeric = Time, bool Safe = false, typename Point = Eigen::Matrix<Numeric, Eigen::Dynamic, 1>>
std::pair<time_t, time_t> curves::curve_abc< Time, Numeric, Safe, Point >::timeRange ( )
inline

Friends And Related Function Documentation

◆ boost::serialization::access

template<typename Time = double, typename Numeric = Time, bool Safe = false, typename Point = Eigen::Matrix<Numeric, Eigen::Dynamic, 1>>
friend class boost::serialization::access
friend