26 #ifndef __TERRALIB_COLOR_INTERNAL_MODULE_H 
   27 #define __TERRALIB_COLOR_INTERNAL_MODULE_H 
   30 #include "../common/Singleton.h" 
   77 #endif  // __TERRALIB_COLOR_INTERNAL_MODULE_H 
Template support for singleton pattern. 
 
static const Module & sm_module
Just to make a static initialization. 
 
Module()
The singleton constructor is not callable outside the class. 
 
static void initialize()
This is the startup function for the TerraLib Color module. 
 
This singleton defines the TerraLib Color module entry. 
 
static void finalize()
This is the cleanup function for the TerraLib Color module.