This singleton defines an entry in the Platform for the TerraLib Common Runtime module. More...
#include <Module.h>
Static Public Member Functions | |
| static Module & | getInstance () |
| It returns a reference to the singleton instance. More... | |
Protected Member Functions | |
| Module () | |
| The singleton constructor will make some initializations. More... | |
| ~Module () | |
Static Private Member Functions | |
| static void | finalize () |
| This is the cleanup function for the TerraLib Common Runtime module. More... | |
| static void | initialize () |
| This is the startup function for the TerraLib Common Runtime module. More... | |
Static Private Attributes | |
| static const Module & | sm_module |
| let's force C++ to make an static initialization. More... | |
Friends | |
| class | te::common::Singleton< Module > |
This singleton defines an entry in the Platform for the TerraLib Common Runtime module.
This class is responsible for:
Definition at line 50 of file src/terralib/common/Module.h.
|
protected |
The singleton constructor will make some initializations.
The initialization includes:
Definition at line 42 of file src/terralib/common/Module.cpp.
References TerraLib::add(), finalize(), te::common::Singleton< TerraLib >::getInstance(), te::common::Singleton< UnitsOfMeasureManager >::getInstance(), initialize(), and TE_COMMON_MODULE_NAME.
|
protected |
Definition at line 64 of file src/terralib/common/Module.cpp.
References te::common::Singleton< TerraLib >::getInstance(), TerraLib::remove(), and TE_COMMON_MODULE_NAME.
|
staticprivate |
This is the cleanup function for the TerraLib Common Runtime module.
Definition at line 78 of file src/terralib/common/Module.cpp.
References te::common::UnitsOfMeasureManager::clear(), te::common::Singleton< UnitsOfMeasureManager >::getInstance(), TE_LOG_TRACE, and TE_TR.
Referenced by Module().
|
staticinherited |
It returns a reference to the singleton instance.
|
staticprivate |
This is the startup function for the TerraLib Common Runtime module.
Definition at line 69 of file src/terralib/common/Module.cpp.
References te::common::Singleton< UnitsOfMeasureManager >::getInstance(), te::common::UnitsOfMeasureManager::init(), TE_LOG_TRACE, and TE_TR.
Referenced by Module().
|
friend |
Definition at line 52 of file src/terralib/common/Module.h.
|
staticprivate |
let's force C++ to make an static initialization.
Definition at line 98 of file src/terralib/common/Module.h.