|
MULTIBODY SIMULATION SOFTWARE - API documentation |
#include <CHlinkBrake.h>


Public Member Functions | |
| virtual void | Copy (ChLinkBrake *source) |
| virtual ChLink * | new_Duplicate () |
| virtual void | UpdateTime (double time) |
| virtual void | UpdateForces (double mytime) |
| virtual void | SetDisabled (bool mdis) |
| double | Get_brake_torque () |
| void | Set_brake_torque (double mset) |
| double | Get_stick_ratio () |
| void | Set_stick_ratio (double mset) |
| int | Get_brake_mode () |
| void | Set_brake_mode (int mmode) |
| virtual void | StreamIN (ChStreamInBinary &mstream) |
| virtual void | StreamOUT (ChStreamOutBinary &mstream) |
Protected Types | |
| enum | eChBrmode { BRAKE_ROTATION = 0, BRAKE_TRANSLATEX } |
Protected Attributes | |
| double | brake_torque |
| double | stick_ratio |
| int | brake_mode |
| int | last_dir |
| int | must_stick |
| void chrono::ChLinkBrake::UpdateTime | ( | double | time | ) | [virtual] |
UPDATING PROCEDURES
Reimplemented from chrono::ChLinkLock.
| void chrono::ChLinkBrake::UpdateForces | ( | double | mytime | ) | [virtual] |
Inherits, and updates the C_force and C_torque 'intuitive' forces, adding the effects of the contained ChLinkForce objects. (Default: inherits parent UpdateForces(), then C_force and C_torque are incremented with the Link::ChLinkForces objects)
Reimplemented from chrono::ChLinkLock.
| void chrono::ChLinkBrake::SetDisabled | ( | bool | mdis | ) | [virtual] |
User can use this to enable/disable all the constraint of the link as desired.
Reimplemented from chrono::ChLinkMasked.
| void chrono::ChLinkBrake::StreamIN | ( | ChStreamInBinary & | mstream | ) | [virtual] |
Method to allow deserializing a persistent binary archive (ex: a file) into transient data.
Reimplemented from chrono::ChLinkLock.
| void chrono::ChLinkBrake::StreamOUT | ( | ChStreamOutBinary & | mstream | ) | [virtual] |
Method to allow serializing transient data into a persistent binary archive (ex: a file).
Reimplemented from chrono::ChLinkLock.
CHRONO::ENGINE