MBDyn-1.7.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
module-minmaxdrive.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

bool minmaxdrive_set ()
 

Function Documentation

bool minmaxdrive_set ( )

Definition at line 351 of file module-minmaxdrive.cc.

References MinMaxDriveDCR::MMD_MAX, MinMaxDriveDCR::MMD_MIN, and SetDriveCallerData().

Referenced by InitDriveCallerData(), and module_init().

352 {
354 
355  if (!SetDriveCallerData("min", rf)) {
356  delete rf;
357  return false;
358  }
359 
361 
362  if (!SetDriveCallerData("max", rf)) {
363  delete rf;
364  return false;
365  }
366 
367  return true;
368 }
bool SetDriveCallerData(const char *name, DriveCallerRead *rf)
Definition: drive_.cc:1324

Here is the call graph for this function: