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:
|
protected |
The singleton constructor will make some initializations.
The initialization includes:
Definition at line 47 of file Module.cpp.
References TerraLib::add(), finalize(), te::common::Singleton< UnitsOfMeasureManager >::getInstance(), te::common::Singleton< LibraryManager >::getInstance(), te::common::Singleton< TerraLib >::getInstance(), initialize(), TE_ADD_TEXT_DOMAIN, TE_COMMON_MODULE_NAME, TERRALIB_TEXT_DOMAIN, and TERRALIB_TEXT_DOMAIN_DIR.
|
protected |
Definition at line 69 of file 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 85 of file 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 74 of file Module.cpp.
References te::common::Singleton< UnitsOfMeasureManager >::getInstance(), te::common::UnitsOfMeasureManager::init(), te::common::CharEncodingConv::initialize(), TE_LOG_TRACE, and TE_TR.
Referenced by Module().
|
friend |
|
staticprivate |