MBDyn-1.7.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
ScalarFunctionDCR Struct Reference
Inheritance diagram for ScalarFunctionDCR:
Collaboration diagram for ScalarFunctionDCR:

Public Member Functions

DriveCallerRead (const DataManager *pDM, MBDynParser &HP, bool bDeferred)
 
- Public Member Functions inherited from DriveCallerRead
virtual ~DriveCallerRead (void)
 

Additional Inherited Members

- Static Public Member Functions inherited from DriveCallerRead
static void ReadOutput (DriveCaller *pDC, const DataManager *pDM, MBDynParser &HP)
 
- Protected Member Functions inherited from DriveCallerRead
void NeedDM (const DataManager *pDM, MBDynParser &HP, bool bDeferred, const char *const name)
 

Detailed Description

Definition at line 1099 of file ScalarFunctionsImpl.cc.

Member Function Documentation

DriveCaller * ScalarFunctionDCR::Read ( const DataManager pDM,
MBDynParser HP,
bool  bDeferred 
)
virtual

Implements DriveCallerRead.

Definition at line 1105 of file ScalarFunctionsImpl.cc.

References MBDYN_EXCEPT_ARGS, DriveCallerRead::NeedDM(), ParseScalarFunction(), DataManager::pGetDrvHdl(), and SAFENEWWITHCONSTRUCTOR.

1106 {
1107  NeedDM(pDM, HP, bDeferred, "scalar function");
1108 
1109  /* driver legato alle scalar function */
1110  if (pDM == 0) {
1111  silent_cerr("sorry, since the driver is not owned by a DataManager" << std::endl
1112  << "no driver dependent drivers are allowed;" << std::endl
1113  << "aborting..." << std::endl);
1115  }
1116 
1117  const DriveHandler* pDrvHdl = pDM->pGetDrvHdl();
1118 
1119  const BasicScalarFunction *const sc = ParseScalarFunction(HP, (DataManager *const)pDM);
1120 
1121  DriveCaller *pDC = 0;
1122 
1123  /* allocazione e creazione */
1126  ScalarFunctionDriveCaller(pDrvHdl, sc));
1127 
1128  return pDC;
1129 }
#define MBDYN_EXCEPT_ARGS
Definition: except.h:63
const DriveHandler * pGetDrvHdl(void) const
Definition: dataman.h:340
#define SAFENEWWITHCONSTRUCTOR(pnt, item, constructor)
Definition: mynewmem.h:698
const BasicScalarFunction *const ParseScalarFunction(MBDynParser &HP, DataManager *const pDM)
void NeedDM(const DataManager *pDM, MBDynParser &HP, bool bDeferred, const char *const name)
Definition: drive_.cc:1354

Here is the call graph for this function:


The documentation for this struct was generated from the following file: