MBDyn-1.7.3
|
#include <filedrv.h>
Public Member Functions | |
FileDrive (unsigned int uL, const DriveHandler *pDH, const std::string &s, integer nd, const std::vector< doublereal > &v0) | |
virtual | ~FileDrive (void) |
virtual Drive::Type | GetDriveType (void) const |
virtual std::ostream & | Restart (std::ostream &out) const =0 |
virtual integer | iGetNumDrives (void) const |
virtual doublereal | dGet (const doublereal &t, int i=1) const |
Public Member Functions inherited from Drive | |
Drive (unsigned int uL, const DriveHandler *pDH) | |
virtual | ~Drive (void) |
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 | |
std::string | sFileName |
integer | iNumDrives |
doublereal * | pdVal |
Protected Attributes inherited from Drive | |
const DriveHandler * | pDrvHdl |
Protected Attributes inherited from WithLabel | |
unsigned int | uLabel |
std::string | sName |
Additional Inherited Members | |
Public Types inherited from Drive | |
enum | Type { UNKNOWN = -1, FILEDRIVE = 0, LASTDRIVETYPE } |
enum | Bailout { BO_NONE = 0x0, BO_UPPER = 0x1, BO_LOWER = 0x2, BO_ANY = (BO_UPPER | BO_LOWER) } |
Static Protected Attributes inherited from Drive | |
static doublereal | dReturnValue = 0. |
FileDrive::FileDrive | ( | unsigned int | uL, |
const DriveHandler * | pDH, | ||
const std::string & | s, | ||
integer | nd, | ||
const std::vector< doublereal > & | v0 | ||
) |
Definition at line 52 of file filedrv.cc.
References ASSERT, MBDYN_FILE_DRIVE_CHECK, pdVal, and SAFENEWARR.
|
virtual |
|
virtual |
Definition at line 88 of file filedrv.cc.
References ASSERT, iNumDrives, and pdVal.
Referenced by FileDriveCaller::dGet().
|
virtual |
|
inlinevirtual |
|
pure virtual |
Implements Drive.
Implemented in BufferStreamDriveRaw, BufferStreamDrive, JoystickDrive, RTMBDynInDrive, FixedStepFileDrive, and VariableStepFileDrive.
|
protected |
Definition at line 47 of file filedrv.h.
Referenced by dGet(), FixedStepFileDrive::FixedStepFileDrive(), BufferStreamDrive::GetBuf(), BufferStreamDrive::GetBufRaw(), BufferStreamDrive_base::GetBufSize(), iGetNumDrives(), BufferStreamDrive::Restart(), BufferStreamDriveRaw::Restart(), BufferStreamDrive_base::ServePending(), VariableStepFileDrive::ServePending(), FixedStepFileDrive::ServePending(), RTMBDynInDrive::ServePending(), BufferStreamDriveRaw::SetBufRaw(), and VariableStepFileDrive::VariableStepFileDrive().
|
protected |
Definition at line 48 of file filedrv.h.
Referenced by dGet(), FileDrive(), VariableStepFileDrive::ServePending(), BufferStreamDrive_base::ServePending(), FixedStepFileDrive::ServePending(), RTMBDynInDrive::ServePending(), JoystickDrive::ServePending(), and ~FileDrive().
|
protected |
Definition at line 46 of file filedrv.h.
Referenced by JoystickDrive::get_one(), JoystickDrive::init(), and JoystickDrive::ServePending().