#include <MRControlInput.h>
Public Member Functions | |
| MRControlInput () | |
| Default constructor (sets all fields to zero - ctime included). | |
| MRControlInput (const Decimal lv, const Decimal av) | |
| Velocities constructor (sets ctime to the current SimTime). | |
| MRControlInput (const SimTime &t, const Decimal lv, const Decimal av) | |
| Complete constructor. | |
| MRControlInput (const MRControlInput &mc) | |
| Copy constructor. | |
| MRControlInput (stringstream &ss) | |
| stringstream constructor. | |
| ~MRControlInput () | |
| Destructor (does not do anything). | |
| MRControlInput & | operator= (const MRControlInput &mc) |
| Copy operator. | |
| string | exportAsString () const |
| Exports as formatted string. | |
Public Attributes | |
| SimTime | ctime |
| Time of imposition of the control input. | |
| Decimal | lVel |
| Linear velocity. | |
| Decimal | aVel |
| Angular velocity. | |
| MipResources::MRControlInput::MRControlInput | ( | ) |
Default constructor (sets all fields to zero - ctime included).
Velocities constructor (sets ctime to the current SimTime).
| [in] | lv | Sets lVel to this value. |
| [in] | av | Sets aVel to this value. |
| MipResources::MRControlInput::MRControlInput | ( | const SimTime & | t, | |
| const Decimal | lv, | |||
| const Decimal | av | |||
| ) |
Complete constructor.
| [in] | &t | Sets ctime to this value. |
| [in] | lv | Sets lVel to this value. |
| [in] | av | Sets aVel to this value. |
| MipResources::MRControlInput::MRControlInput | ( | const MRControlInput & | mc | ) |
| MipResources::MRControlInput::MRControlInput | ( | stringstream & | ss | ) |
stringstream constructor.
| [in] | &ss | extract the MRControlInput from this stringstream. Extracts a MRControlInput from a stringstream reading the values as if they where printed using exportAsString. |
| MipResources::MRControlInput::~MRControlInput | ( | ) |
Destructor (does not do anything).
| MRControlInput & MipResources::MRControlInput::operator= | ( | const MRControlInput & | mc | ) |
| string MipResources::MRControlInput::exportAsString | ( | ) | const |
Exports as formatted string.
Time of imposition of the control input.
Linear velocity.
Angular velocity.
1.5.6