26 #ifndef __TERRALIB_SRS_INTERNAL_MODULE_H
27 #define __TERRALIB_SRS_INTERNAL_MODULE_H
30 #include "../common/Singleton.h"
31 #include "../common/TerraLib.h"
38 #include <boost/thread/mutex.hpp>
Template support for singleton pattern.
This singleton defines the TerraLib Spatial Reference System module entry.
static void initialize()
This is the startup function for the TerraLib SRS module.
std::shared_ptr< TerraLib::Module > m_module
static void finalize()
This is the cleanup function for the TerraLib SRS module.
Module()
Constructor. A singleton constructor is not callable outside the class.
static const Module & sm_module
Just to make a static initialization.
TESRSEXPORT boost::mutex & getStaticMutex()
Returns a reference to a static mutex initialized when this module is initialized.
#define TESRSEXPORT
You can use this macro in order to export/import classes and functions from this module.