Index   Main   Namespaces   Classes   Hierarchy   Annotated   Files   Compound   Global   Pages  

SgInit.h File Reference


Detailed Description

Initialization of the SmartGo module.

Definition in file SgInit.h.

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.


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 27 of file SgInit.cpp.

References SgProp::Fini(), s_isSgInitialized, 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 32 of file SgInit.h.

References SgInitImpl().

void SgInitCheck (  ) 

Check that SgInit was called.

Exceptions:
SgException if not

Definition at line 64 of file SgInit.cpp.

References s_isSgInitialized.

Referenced by SgBoardConst::SgBoardConst().

void SgInitImpl ( bool  compiledInDebugMode  ) 

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

Definition at line 34 of file SgInit.cpp.

References SgProp::Init(), and s_isSgInitialized.

Referenced by SgInit().


17 Jun 2010 Doxygen 1.4.7