MBDyn-1.7.3
|
#include <streamdrive.h>
Classes | |
class | Copy |
class | Modifier |
Public Member Functions | |
StreamDrive (unsigned int uL, const DriveHandler *pDH, const std::string &sFileName, integer nd, const std::vector< doublereal > &v0, bool c, StreamDrive::Modifier *pmod) | |
virtual | ~StreamDrive (void) |
void | SetModifier (const Modifier *p) |
const StreamDrive::Modifier * | pGetModifier (void) const |
Public Member Functions inherited from FileDrive | |
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 | |
int | size |
std::vector< char > | buf |
bool | create |
const Modifier * | pMod |
Protected Attributes inherited from FileDrive | |
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. |
Definition at line 42 of file streamdrive.h.
StreamDrive::StreamDrive | ( | unsigned int | uL, |
const DriveHandler * | pDH, | ||
const std::string & | sFileName, | ||
integer | nd, | ||
const std::vector< doublereal > & | v0, | ||
bool | c, | ||
StreamDrive::Modifier * | pmod | ||
) |
Definition at line 42 of file streamdrive.cc.
References ASSERT, buf, grad::Copy(), StreamDrive::Modifier::GetSize(), pMod, and size.
|
virtual |
const StreamDrive::Modifier * StreamDrive::pGetModifier | ( | void | ) | const |
Definition at line 80 of file streamdrive.cc.
References pMod.
Referenced by FlightGearFileDriveCallerTypeReader::Read().
void StreamDrive::SetModifier | ( | const Modifier * | p | ) |
|
protected |
Definition at line 65 of file streamdrive.h.
Referenced by RTMBDynInDrive::ServePending(), and StreamDrive().
|
protected |
Definition at line 67 of file streamdrive.h.
Referenced by RTMBDynInDrive::RTMBDynInDrive().
|
protected |
Definition at line 69 of file streamdrive.h.
Referenced by pGetModifier(), BufferStreamDrive_base::ServePending(), SetModifier(), StreamDrive(), and ~StreamDrive().
|
protected |
Definition at line 64 of file streamdrive.h.
Referenced by RTMBDynInDrive::RTMBDynInDrive(), RTMBDynInDrive::ServePending(), and StreamDrive().