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

Go to the source code of this file.


bool nodedistdrive_set ()

Function Documentation

bool nodedistdrive_set ( )

Definition at line 260 of file module-nodedistdrive.cc.

References SetDriveCallerData().

Referenced by InitDriveCallerData(), and module_init().

261 {
262  DriveCallerRead *rf = new NodeDistDCR;
264  if (!SetDriveCallerData("node" "distance", rf)) {
265  delete rf;
266  return false;
267  }
269  return true;
270 }
bool SetDriveCallerData(const char *name, DriveCallerRead *rf)
Definition: drive_.cc:1324

Here is the call graph for this function: