Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

configurable.cpp

Go to the documentation of this file.
00001 #include "configurable.h"
00002 
00003 
00004 TConfigurable::TConfigurable()
00005 {
00006    ConfigState = WORM_STAT_NOTINIT;
00007 }
00008 
00009 HANDLE_STATUS TConfigurable::HandleConfigLine( ConfigSource * p_parser )
00010 {
00011    return HANDLER_UNUSED;
00012 }
00013 
00014 bool TConfigurable::IsReady()
00015 {
00016    if ( ConfigState == WORM_STAT_NOTINIT )
00017    {
00018       ConfigState = WORM_STAT_SUCCESS;
00019       // this, and all base classes will set ConfigState = WORM_STAT_BADSTATE
00020       // if a configuration error is encountered.
00021       CheckConfig();
00022    }
00023    return (ConfigState == WORM_STAT_SUCCESS);
00024 }
00025 
00026 

Generated on Tue May 6 09:16:00 2003 for Earthworm Libs by doxygen1.3-rc3