Main Page   Class Hierarchy   Alphabetical List   Data Structures   File List   Data Fields   Globals  

inicool.hh File Reference

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Functions

int iniCoolant (const char *filename)


Function Documentation

int iniCoolant const char *    filename
 

Definition at line 178 of file inicool.cc.

Referenced by EMC_COOLANT_MODULE::INIT().

00179 {
00180   int retval = 0;
00181 
00182   coolantInifile = new INIFILE;
00183 
00184   if (-1 == coolantInifile->open(filename))
00185     {
00186       return -1;
00187     }
00188 
00189   // load coolant values
00190   if (0 != loadCoolant())
00191     {
00192       retval = -1;
00193     }
00194 
00195   // close the inifile
00196   coolantInifile->close();
00197   delete coolantInifile;
00198 
00199   return retval;
00200 }


Generated on Sun Dec 2 15:28:05 2001 for EMC by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001