MBDyn-1.7.3
|
#include <drive.h>
Public Types | |
enum | Type { UNKNOWN = -1, FILEDRIVE = 0, LASTDRIVETYPE } |
enum | Bailout { BO_NONE = 0x0, BO_UPPER = 0x1, BO_LOWER = 0x2, BO_ANY = (BO_UPPER | BO_LOWER) } |
Public Member Functions | |
Drive (unsigned int uL, const DriveHandler *pDH) | |
virtual | ~Drive (void) |
virtual Drive::Type | GetDriveType (void) const =0 |
virtual std::ostream & | Restart (std::ostream &out) const =0 |
virtual void | ServePending (const doublereal &t)=0 |
Public Member Functions inherited from WithLabel | |
WithLabel (unsigned int uL=0, const std::string &sN="") | |
virtual | ~WithLabel (void) |
void | PutLabel (unsigned int uL) |
void | PutName (const std::string &sN) |
unsigned int | GetLabel (void) const |
const std::string & | GetName (void) const |
Protected Attributes | |
const DriveHandler * | pDrvHdl |
Protected Attributes inherited from WithLabel | |
unsigned int | uLabel |
std::string | sName |
Static Protected Attributes | |
static doublereal | dReturnValue = 0. |
enum Drive::Bailout |
Enumerator | |
---|---|
BO_NONE | |
BO_UPPER | |
BO_LOWER | |
BO_ANY |
enum Drive::Type |
Enumerator | |
---|---|
UNKNOWN | |
FILEDRIVE | |
LASTDRIVETYPE |
Drive::Drive | ( | unsigned int | uL, |
const DriveHandler * | pDH | ||
) |
|
virtual |
|
pure virtual |
Implemented in FileDrive.
|
pure virtual |
Implemented in BufferStreamDriveRaw, BufferStreamDrive, JoystickDrive, RTMBDynInDrive, FileDrive, FixedStepFileDrive, and VariableStepFileDrive.
|
pure virtual |
Implemented in JoystickDrive, RTMBDynInDrive, FixedStepFileDrive, BufferStreamDrive_base, and VariableStepFileDrive.
|
staticprotected |
|
protected |
Definition at line 109 of file drive.h.
Referenced by DriveCaller::dGet(), and DriveCaller::dGetP().