#include <TimeLaw.h>
Public Member Functions | |
TrapezoidalAccParam () | |
Default constructor. | |
TrapezoidalAccParam (Decimal acceleration, Time T1, Time T2) | |
Parametric constructor. | |
TrapezoidalAccParam (const TrapezoidalAccParam &p) | |
TrapezoidalAccParam & | operator= (const TrapezoidalAccParam &p) |
void | setAcceleration (Decimal value) |
sets _acceleration parameter | |
void | setT1 (Time value) |
sets _T1 parameter | |
void | setT2 (Time value) |
sets _acceleration parameter | |
Decimal | acceleration () |
gets _acceleration parameter | |
Time | T1 () |
gets _T2 parameter | |
Time | T2 () |
gets _T2 parameter | |
string | print () |
Prints on the screen all class parametes. |
MipBaselib::TrapezoidalAccParam::TrapezoidalAccParam | ( | ) | [inline] |
Default constructor.
MipBaselib::TrapezoidalAccParam::TrapezoidalAccParam | ( | Decimal | acceleration, | |
Time | T1, | |||
Time | T2 | |||
) | [inline] |
Parametric constructor.
MipBaselib::TrapezoidalAccParam::TrapezoidalAccParam | ( | const TrapezoidalAccParam & | p | ) | [inline] |
Copy constructor. TODO verify
TrapezoidalAccParam& MipBaselib::TrapezoidalAccParam::operator= | ( | const TrapezoidalAccParam & | p | ) | [inline] |
Operator =. TODO verify
void MipBaselib::TrapezoidalAccParam::setAcceleration | ( | Decimal | value | ) | [inline] |
sets _acceleration parameter
void MipBaselib::TrapezoidalAccParam::setT1 | ( | Time | value | ) | [inline] |
sets _T1 parameter
void MipBaselib::TrapezoidalAccParam::setT2 | ( | Time | value | ) | [inline] |
sets _acceleration parameter
Decimal MipBaselib::TrapezoidalAccParam::acceleration | ( | ) | [inline] |
gets _acceleration parameter
Time MipBaselib::TrapezoidalAccParam::T1 | ( | ) | [inline] |
gets _T2 parameter
Time MipBaselib::TrapezoidalAccParam::T2 | ( | ) | [inline] |
gets _T2 parameter
string MipBaselib::TrapezoidalAccParam::print | ( | ) | [inline] |
Prints on the screen all class parametes.