Index   Main   Namespaces   Classes   Hierarchy   Annotated   Files   Compound   Global   Pages  
Functions

SgInit.h File Reference

Initialization of the SmartGo module. More...

Go to the source code of this file.

Functions

void SgInitImpl (bool compiledInDebugMode)
 Used in SgInit(); public only as a side effect of the implementation.
void SgFini ()
 Call all lower-level Fini functions.
void SgInit ()
 Call all lower-level initialization functions.
void SgInitCheck ()
 Check that SgInit was called.

Detailed Description

Initialization of the SmartGo module.

Definition in file SgInit.h.


Function Documentation

void SgFini (  ) 

Call all lower-level Fini functions.

This function must be called after using the SmartGo module. Also calls SgMemCheck.

Note:
Will become obsolete in the future
See also:
SgInit

Definition at line 26 of file SgInit.cpp.

References SgProp::Fini(), and SgMemCheck().

void SgInit (  ) 

Call all lower-level initialization functions.

This function must be called before using the SmartGo module. Returns false if one of them returns false.

Note:
Don't add any more global variables that need explicit initialization; this function will become unnecessary in the future. Currently still needed for:
  • Property
Exceptions:
SgException on error

Definition at line 29 of file SgInit.h.

References SgInitImpl().

void SgInitCheck (  ) 

Check that SgInit was called.

Exceptions:
SgException if not

Definition at line 63 of file SgInit.cpp.

Referenced by SgBoardConst::SgBoardConst().

void SgInitImpl ( bool  compiledInDebugMode  ) 

Used in SgInit(); public only as a side effect of the implementation.

Definition at line 33 of file SgInit.cpp.

References cerr, and SgProp::Init().

Referenced by SgInit().


Sun Mar 13 2011 Doxygen 1.7.1