#include <TimeLaw.h>
Public Member Functions | |
TimeLaw () | |
Default constructor. | |
TimeLaw (Time start, Time end) | |
Time constructor. | |
TimeLaw (const TimeLaw &timeLaw) | |
TimeLaw & | operator= (const TimeLaw &timeLaw) |
virtual void | inizializeS (Time time)=0 |
pure virtual function for the evaluation of curvilinear abscissa and its derivatives for a given value of time | |
void | setS (Decimal value) |
sets s parameter | |
void | setSp (Decimal value) |
sets _sp parameter | |
void | setSpp (Decimal value) |
sets _spp parameter | |
void | setStart (Time value) |
sets _start parameter | |
void | setEnd (Time value) |
sets _end parameter | |
void | setTimeLawType (TimeLawType value) |
sets _timeLawType parameter | |
Decimal | s () |
gets _s parameter | |
Decimal | sp () |
gets _sp parameter | |
Decimal | spp () |
gets _sppparameter | |
Time | start () |
gets _start parameter | |
Time | end () |
gets _end parameter | |
TimeLawType | timeLawType () |
gets _timeLawType parameter | |
string | print () |
Prints on the screen all class parametes. | |
Protected Attributes | |
Decimal | _s |
Decimal | _sp |
Decimal | _spp |
Time | _start |
Time | _end |
TimeLawType | _timeLawType |
MipBaselib::TimeLaw::TimeLaw | ( | ) | [inline] |
Default constructor.
MipBaselib::TimeLaw::TimeLaw | ( | const TimeLaw & | timeLaw | ) | [inline] |
Copy constructor. TODO verify
Operator =. TODO verify
virtual void MipBaselib::TimeLaw::inizializeS | ( | Time | time | ) | [pure virtual] |
pure virtual function for the evaluation of curvilinear abscissa and its derivatives for a given value of time
time | instant of evaluation |
Implemented in MipBaselib::Stillness, MipBaselib::ConstSpeed, MipBaselib::TriangularSpeed, MipBaselib::TrapezoidalSpeed, MipBaselib::CubicSpeed, MipBaselib::TrapezoidalAcc, and MipBaselib::TrapezoidalDec.
void MipBaselib::TimeLaw::setS | ( | Decimal | value | ) | [inline] |
sets s parameter
void MipBaselib::TimeLaw::setSp | ( | Decimal | value | ) | [inline] |
sets _sp parameter
void MipBaselib::TimeLaw::setSpp | ( | Decimal | value | ) | [inline] |
sets _spp parameter
void MipBaselib::TimeLaw::setStart | ( | Time | value | ) | [inline] |
sets _start parameter
void MipBaselib::TimeLaw::setEnd | ( | Time | value | ) | [inline] |
sets _end parameter
void MipBaselib::TimeLaw::setTimeLawType | ( | TimeLawType | value | ) | [inline] |
sets _timeLawType parameter
Decimal MipBaselib::TimeLaw::s | ( | ) | [inline] |
gets _s parameter
Decimal MipBaselib::TimeLaw::sp | ( | ) | [inline] |
gets _sp parameter
Decimal MipBaselib::TimeLaw::spp | ( | ) | [inline] |
gets _sppparameter
Time MipBaselib::TimeLaw::start | ( | void | ) | [inline] |
gets _start parameter
Time MipBaselib::TimeLaw::end | ( | ) | [inline] |
gets _end parameter
TimeLawType MipBaselib::TimeLaw::timeLawType | ( | ) | [inline] |
gets _timeLawType parameter
string MipBaselib::TimeLaw::print | ( | ) | [inline] |
Prints on the screen all class parametes.
Reimplemented in MipBaselib::Stillness, MipBaselib::ConstSpeed, MipBaselib::TriangularSpeed, MipBaselib::TrapezoidalSpeed, MipBaselib::CubicSpeed, MipBaselib::TrapezoidalAcc, and MipBaselib::TrapezoidalDec.
Decimal MipBaselib::TimeLaw::_s [protected] |
curvilinear abscissa
Decimal MipBaselib::TimeLaw::_sp [protected] |
first derivative of _s w.r.t. time
Decimal MipBaselib::TimeLaw::_spp [protected] |
second derivative of _s w.r.t. time
Time MipBaselib::TimeLaw::_start [protected] |
starting time
Time MipBaselib::TimeLaw::_end [protected] |
ending time
TimeLawType MipBaselib::TimeLaw::_timeLawType [protected] |