te::rp::Module Class Reference

This singleton defines the TerraLib Raster Processing module entry. More...

#include <Module.h>

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

Static Public Member Functions

static ModulegetInstance ()
 It returns a reference to the singleton instance. More...
 
static const std::string getLastLogStr ()
 Returns the last log string generated by this module. More...
 
static void setLastLogStr (const std::string &errorStr)
 Set the last log string generated by this module. 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 DataType module. More...
 
static void initialize ()
 This is the startup function for the TerraLib Raster Processing module. More...
 

Private Attributes

std::shared_ptr< TerraLib::Modulem_module
 

Static Private Attributes

static std::string m_lastLogString
 The last error string generated by this module. More...
 
static std::mutex m_mutex
 Static mutex. More...
 
static const Modulesm_module
 Just to make a static initialization. More...
 

Friends

class te::common::Singleton< Module >
 

Detailed Description

This singleton defines the TerraLib Raster Processing module entry.

Definition at line 48 of file Module.h.

Constructor & Destructor Documentation

◆ Module()

te::rp::Module::Module ( )
protected

The singleton constructor is not callable outside the class.

◆ ~Module()

te::rp::Module::~Module ( )
protected

Member Function Documentation

◆ finalize()

static void te::rp::Module::finalize ( )
staticprivate

This is the cleanup function for the TerraLib DataType module.

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

◆ getInstance()

Module & te::common::Singleton< Module >::getInstance ( )
inlinestaticinherited

It returns a reference to the singleton instance.

Returns
A reference to the singleton instance.

Definition at line 126 of file Singleton.h.

◆ getLastLogStr()

static const std::string te::rp::Module::getLastLogStr ( )
static

Returns the last log string generated by this module.

Note
This is a thread-safe method.

◆ initialize()

static void te::rp::Module::initialize ( )
staticprivate

This is the startup function for the TerraLib Raster Processing module.

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

◆ setLastLogStr()

static void te::rp::Module::setLastLogStr ( const std::string &  errorStr)
static

Set the last log string generated by this module.

Note
This is a thread-safe method.

Friends And Related Function Documentation

◆ te::common::Singleton< Module >

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

Definition at line 50 of file Module.h.

Member Data Documentation

◆ m_lastLogString

std::string te::rp::Module::m_lastLogString
staticprivate

The last error string generated by this module.

Definition at line 96 of file Module.h.

◆ m_module

std::shared_ptr<TerraLib::Module> te::rp::Module::m_module
private

Definition at line 98 of file Module.h.

◆ m_mutex

std::mutex te::rp::Module::m_mutex
staticprivate

Static mutex.

Definition at line 92 of file Module.h.

◆ sm_module

const Module& te::rp::Module::sm_module
staticprivate

Just to make a static initialization.

Definition at line 94 of file Module.h.


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