27 #include "../common/Logger.h"
28 #include "../common/TerraLib.h"
29 #include "../common/Translator.h"
62 #if TE_AUTOMATICALLY_INITIALIZE_CONNECTION_POOL_MANAGER
83 #if TE_AUTOMATICALLY_INITIALIZE_CONNECTION_POOL_MANAGER
A singleton for managing the connection pools available in the system.
A singleton to keep all the registered Attribute Converter.
This internal structure is used to model the basic information about a TerraLib module.
#define TE_DATAACCESS_MODULE_NAME
An identifier for this module.
TEDATAACCESSEXPORT te::dt::AbstractData * TupleToStringConverter(DataSet *dataset, const std::vector< std::size_t > &indexes, int dstType)
TEDATAACCESSEXPORT te::dt::AbstractData * PointToZConverter(DataSet *dataset, const std::vector< std::size_t > &indexes, int dstType)
const te::at::Module & sm_module
This is a helper function that will be automatically called when the TerraLib Annotation Text module ...
This singleton defines the TerraLib Data Access module entry.
void addConverter(const std::string &name, AttributeConverter converter)
TEDATAACCESSEXPORT te::dt::AbstractData * PointToMConverter(DataSet *dataset, const std::vector< std::size_t > &indexes, int dstType)
#define TE_LOG_TRACE(msg)
Use this tag in order to log a message to a specified logger with the TRACE level.
TEDATAACCESSEXPORT te::dt::AbstractData * PointToXConverter(DataSet *dataset, const std::vector< std::size_t > &indexes, int dstType)
Definition of attribute converter and a set of them.
void remove(const std::string &moduleName)
It removes the module entry identified by the given name.
#define TE_DATAACCESS_TEXT_DOMAIN
It contains the name of the text domain used in the translation of messages in TerraLib DataAccess mo...
TEDATAACCESSEXPORT te::dt::AbstractData * XYZToPointConverter(DataSet *dataset, const std::vector< std::size_t > &indexes, int dstType)
TEDATAACCESSEXPORT te::dt::AbstractData * XYMToPointConverter(DataSet *dataset, const std::vector< std::size_t > &indexes, int dstType)
TEDATAACCESSEXPORT te::dt::AbstractData * XYToPointConverter(DataSet *dataset, const std::vector< std::size_t > &indexes, int dstType)
static void initialize()
This is the startup function for the TerraLib Data Access module.
TEDATAACCESSEXPORT te::dt::AbstractData * PointToYConverter(DataSet *dataset, const std::vector< std::size_t > &indexes, int dstType)
#define TE_ADD_TEXT_DOMAIN(domain, domaindir, codeset)
It adds the given text domain located at domain-dir with the given codeset to the multilingual system...
#define TR_DATAACCESS(message)
It marks a string in order to get translated. This is a special mark used in the DataAccess module of...
TEDATAACCESSEXPORT te::dt::AbstractData * XYZMToPointConverter(DataSet *dataset, const std::vector< std::size_t > &indexes, int dstType)
TEDATAACCESSEXPORT te::dt::AbstractData * GenericAttributeConverter(DataSet *dataset, const std::vector< std::size_t > &indexes, int dstType)
Configuration flags for the Data Access module of TerraLib.
void stop()
It stops the connection pools monitoring thread.
static Module & getInstance()
It returns a reference to the singleton instance.
#define TE_DATAACCESS_TEXT_DOMAIN_DIR
It contains the translation catalog directory.
void add(const Module &m)
It registers the module in the TerraLib Platform.
This singleton defines the TerraLib Data Access module entry.
void start()
It starts a new thread of execution that will monitore all the connection pools.
Module()
The singleton constructor is not callable outside the class.
static void finalize()
This is the cleanup function for the TerraLib Data Access module.