MBDyn-1.7.3
|
#include <streamdrive.h>
Public Member Functions | |
StreamDriveEcho (const DriveHandler *pDrvHdl, std::string &sOutFileName, int iPrecision, doublereal dShift) | |
~StreamDriveEcho (void) | |
bool | bIsEcho (void) const |
bool | Init (const std::string &msg, unsigned uLabel, unsigned nChannels) |
void | EchoPrepare (const doublereal *pbuf, unsigned nChannels) |
void | Echo (const doublereal *pbuf, unsigned nChannels) |
Private Attributes | |
const DriveHandler * | pDrvHdl |
std::string | sOutFileName |
std::vector< doublereal > | echoBuf |
std::ofstream | outFile |
int | iPrecision |
doublereal | dShift |
Definition at line 90 of file streamdrive.h.
StreamDriveEcho::StreamDriveEcho | ( | const DriveHandler * | pDrvHdl, |
std::string & | sOutFileName, | ||
int | iPrecision, | ||
doublereal | dShift | ||
) |
StreamDriveEcho::~StreamDriveEcho | ( | void | ) |
Definition at line 217 of file streamdrive.cc.
References NO_OP.
bool StreamDriveEcho::bIsEcho | ( | void | ) | const |
void StreamDriveEcho::Echo | ( | const doublereal * | pbuf, |
unsigned | nChannels | ||
) |
Definition at line 264 of file streamdrive.cc.
References DriveHandler::dGetTime(), dShift, echoBuf, outFile, and pDrvHdl.
Referenced by BufferStreamDrive_base::ServePending().
void StreamDriveEcho::EchoPrepare | ( | const doublereal * | pbuf, |
unsigned | nChannels | ||
) |
Definition at line 256 of file streamdrive.cc.
References echoBuf.
Referenced by BufferStreamDrive_base::ServePending().
bool StreamDriveEcho::Init | ( | const std::string & | msg, |
unsigned | uLabel, | ||
unsigned | nChannels | ||
) |
Definition at line 223 of file streamdrive.cc.
References echoBuf, iPrecision, MBDYN_EXCEPT_ARGS, outFile, and sOutFileName.
Referenced by BufferStreamDrive_base::BufferStreamDrive_base().
|
private |
Definition at line 97 of file streamdrive.h.
Referenced by Echo().
|
private |
Definition at line 94 of file streamdrive.h.
Referenced by Echo(), EchoPrepare(), and Init().
|
private |
Definition at line 96 of file streamdrive.h.
Referenced by Init().
|
private |
Definition at line 95 of file streamdrive.h.
|
private |
Definition at line 92 of file streamdrive.h.
Referenced by Echo().
|
private |
Definition at line 93 of file streamdrive.h.
Referenced by Init().