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

This singleton defines the TerraLib Data Access module entry. More...

#include <Module.h>

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

Static Public Member Functions

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

Protected Member Functions

 Module ()
 The singleton constructor is not callable outside the class. More...
 
 ~Module ()
 

Static Private Member Functions

static void finalize ()
 This is the cleanup function for the TerraLib Data Access module. More...
 
static void initialize ()
 This is the startup function for the TerraLib Data Access 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 Data Access module entry.

Definition at line 41 of file Module.h.

Constructor & Destructor Documentation

te::da::Module::Module ( )
protected
te::da::Module::~Module ( )
protected

Member Function Documentation

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

This is the cleanup function for the TerraLib Data Access module.

Note
This method can finalize the pool manager if automatic initialization is on.

Definition at line 78 of file Module.cpp.

References te::common::Singleton< ConnectionPoolManager >::getInstance(), te::da::ConnectionPoolManager::stop(), 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.

Friends And Related Function Documentation

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

Definition at line 43 of file Module.h.

Member Data Documentation

const Module& te::da::Module::sm_module
staticprivate

Just to make a static initialization.

Definition at line 71 of file Module.h.


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