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

inispin.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 iniSpindle (const char *filename)


Function Documentation

int iniSpindle const char *    filename
 

Definition at line 528 of file inispin.cc.

Referenced by EMC_SPINDLE_MODULE::INIT(), and emcIoInit().

00529 {
00530   int retval = 0;
00531 
00532   spindleInifile = new INIFILE;
00533 
00534   if (-1 == spindleInifile->open(filename))
00535     {
00536       return -1;
00537     }
00538 
00539   // load spindle values
00540   if (0 != loadSpindle())
00541     {
00542       retval = -1;
00543     }
00544 
00545   // close the inifile
00546   spindleInifile->close();
00547   delete spindleInifile;
00548 
00549   return retval;
00550 }


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