MBDyn-1.7.3
|
#include <bufferstreamdrive.h>
Public Member Functions | |
BufferStreamDriveRaw (unsigned int uL, const DriveHandler *pDH, integer nd, const std::vector< doublereal > &v0, StreamDrive::Modifier *pMod, unsigned int ie, StreamDriveEcho *pSDE, bool bOwnsMemory) | |
virtual | ~BufferStreamDriveRaw (void) |
bool | bOwnsMemory (void) const |
void | SetBufRaw (integer n, const doublereal *p) |
const doublereal * | GetBufRaw (void) |
virtual std::ostream & | Restart (std::ostream &out) const |
Public Member Functions inherited from BufferStreamDrive_base | |
BufferStreamDrive_base (unsigned int uL, const DriveHandler *pDH, integer nd, const std::vector< doublereal > &v0, StreamDrive::Modifier *pMod, unsigned int ie, StreamDriveEcho *pSDE) | |
virtual | ~BufferStreamDrive_base (void) |
const integer | GetBufSize (void) const |
virtual void | ServePending (const doublereal &t) |
Public Member Functions inherited from StreamDrive | |
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 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) |
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 | |
bool | m_bOwnsMemory |
const doublereal * | m_pBuffer |
Protected Attributes inherited from BufferStreamDrive_base | |
unsigned int | InputEvery |
unsigned int | InputCounter |
StreamDriveEcho * | pSDE |
Protected Attributes inherited from StreamDrive | |
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 93 of file bufferstreamdrive.h.
BufferStreamDriveRaw::BufferStreamDriveRaw | ( | unsigned int | uL, |
const DriveHandler * | pDH, | ||
integer | nd, | ||
const std::vector< doublereal > & | v0, | ||
StreamDrive::Modifier * | pMod, | ||
unsigned int | ie, | ||
StreamDriveEcho * | pSDE, | ||
bool | bOwnsMemory | ||
) |
Definition at line 148 of file bufferstreamdrive.cc.
References m_bOwnsMemory, and m_pBuffer.
|
virtual |
bool BufferStreamDriveRaw::bOwnsMemory | ( | void | ) | const |
Definition at line 172 of file bufferstreamdrive.cc.
References m_bOwnsMemory.
Referenced by DataManager::SetBufInRaw().
|
virtual |
Implements BufferStreamDrive_base.
Definition at line 201 of file bufferstreamdrive.cc.
References ASSERT, and m_pBuffer.
|
virtual |
Implements FileDrive.
Definition at line 210 of file bufferstreamdrive.cc.
References FileDrive::iNumDrives, m_bOwnsMemory, and WithLabel::uLabel.
void BufferStreamDriveRaw::SetBufRaw | ( | integer | n, |
const doublereal * | p | ||
) |
Definition at line 178 of file bufferstreamdrive.cc.
References FileDrive::iNumDrives, m_bOwnsMemory, m_pBuffer, and MBDYN_EXCEPT_ARGS.
Referenced by DataManager::SetBufInRaw().
|
protected |
Definition at line 95 of file bufferstreamdrive.h.
Referenced by bOwnsMemory(), BufferStreamDriveRaw(), Restart(), SetBufRaw(), and ~BufferStreamDriveRaw().
|
protected |
Definition at line 96 of file bufferstreamdrive.h.
Referenced by BufferStreamDriveRaw(), GetBufRaw(), SetBufRaw(), and ~BufferStreamDriveRaw().