#include "mbconfig.h"
#include <sstream>
#include "dataman.h"
#include "filedrv.h"
#include "streamdrive.h"
#include "bufferstreamdrive.h"
Go to the source code of this file.
Definition at line 221 of file bufferstreamdrive.cc.
References ASSERT, HighParser::GetInt(), IncludeParser::GetLineData(), HighParser::GetReal(), HighParser::GetYesNoOrBool(), HighParser::IsKeyWord(), MBDYN_EXCEPT_ARGS, DataManager::pGetDrvHdl(), ReadStreamDriveEcho(), ReadStreamDriveModifier(), SAFENEWWITHCONSTRUCTOR, and v0.
Referenced by BufferStreamDR::Read().
227 bool bOwnsMemory(
true);
237 silent_cerr(
"BufferStreamDrive"
238 "(" << uLabel <<
"\"): "
245 unsigned int InputEvery = 1;
249 silent_cerr(
"BufferStreamDrive"
250 "(" << uLabel <<
"\"): "
251 "invalid \"input every\" value " << i
256 InputEvery = (
unsigned int)i;
261 int idrives = HP.
GetInt();
263 silent_cerr(
"BufferStreamDrive"
264 "(" << uLabel <<
"\"): "
265 "illegal number of channels " << idrives
271 std::vector<doublereal>
v0;
274 for (
int i = 0; i < idrives; i++) {
299 InputEvery, pSDE, bOwnsMemory));
#define MBDYN_EXCEPT_ARGS
virtual integer GetInt(integer iDefval=0)
StreamDriveEcho * ReadStreamDriveEcho(const DataManager *pDM, MBDynParser &HP)
StreamDrive::Modifier * ReadStreamDriveModifier(MBDynParser &HP, integer nDrives)
const DriveHandler * pGetDrvHdl(void) const
virtual bool GetYesNoOrBool(bool bDefval=false)
virtual bool IsKeyWord(const char *sKeyWord)
#define ASSERT(expression)
#define SAFENEWWITHCONSTRUCTOR(pnt, item, constructor)
static const std::vector< doublereal > v0
virtual HighParser::ErrOut GetLineData(void) const
virtual doublereal GetReal(const doublereal &dDefval=0.0)