All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
te::srs::Module Class Reference

This singleton defines the TerraLib Spatial Reference System module entry. More...

#include <Module.h>

Inheritance diagram for te::srs::Module:
te::common::Singleton< Module >

Static Public Member Functions

static ModulegetInstance ()
 It returns a reference to the singleton instance. More...
 

Protected Member Functions

 Module ()
 Constructor. A singleton constructor is not callable outside the class. More...
 
 ~Module ()
 Destructor. More...
 

Static Private Member Functions

static void finalize ()
 This is the cleanup function for the TerraLib SRS module. More...
 
static void initialize ()
 This is the startup function for the TerraLib SRS module. More...
 

Static Private Attributes

static const Modulesm_module
 Just to make a static initialization. More...
 

Friends

class te::common::Singleton< Module >
 

Detailed Description

This singleton defines the TerraLib Spatial Reference System module entry.

Definition at line 47 of file Module.h.

Constructor & Destructor Documentation

te::srs::Module::Module ( )
protected

Constructor. A singleton constructor is not callable outside the class.

Definition at line 36 of file Module.cpp.

References TerraLib::add(), finalize(), te::common::Singleton< TerraLib >::getInstance(), te::srs::getStaticMutex(), initialize(), and TE_SRS_MODULE_NAME.

te::srs::Module::~Module ( )
protected

Destructor.

Definition at line 50 of file Module.cpp.

References te::common::Singleton< TerraLib >::getInstance(), TerraLib::remove(), and TE_SRS_MODULE_NAME.

Member Function Documentation

void te::srs::Module::finalize ( )
staticprivate

This is the cleanup function for the TerraLib SRS module.

Note
This method doesn't perform operations for this module.

Definition at line 64 of file Module.cpp.

References TE_LOG_TRACE, and TE_TR.

Referenced by Module().

static Module & te::common::Singleton< Module >::getInstance ( )
staticinherited

It returns a reference to the singleton instance.

Returns
A reference to the singleton instance.
void te::srs::Module::initialize ( )
staticprivate

This is the startup function for the TerraLib SRS module.

Note
This method doesn't perform operations for this module.

Definition at line 55 of file Module.cpp.

References te::common::Singleton< SpatialReferenceSystemManager >::getInstance(), te::srs::SpatialReferenceSystemManager::init(), TE_LOG_TRACE, and TE_TR.

Referenced by Module().

Friends And Related Function Documentation

friend class te::common::Singleton< Module >
friend

Definition at line 49 of file Module.h.

Member Data Documentation

const Module& te::srs::Module::sm_module
staticprivate

Just to make a static initialization.

Definition at line 75 of file Module.h.


The documentation for this class was generated from the following files: