TerraLib and TerraView Wiki Page

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
wiki:documentation:devguide:core:library [2016/10/04 11:13]
carolina.santos [TerraLib.Core: Library]
wiki:documentation:devguide:core:library [2016/10/04 13:59] (current)
carolina.santos [Additional References]
Line 18: Line 18:
 ==== C++ ==== ==== C++ ====
  
-API para gerenciamento de bibliotecas na TerraLib ​é definida pela classe ​**Library**, ​mostrada abaixo:+The API for managing libraries in TerraLib ​is defined by the **Library** ​classshown below:
  
 <code cpp> <code cpp>
Line 32: Line 32:
       \warning Shared libraries should not be loaded concurrently by multiple threads.       \warning Shared libraries should not be loaded concurrently by multiple threads.
      */      */
-    class TECOREEXPORT ​Library : public boost::​noncopyable+    class Library : public boost::​noncopyable
     {     {
       public:       public:
Line 134: Line 134:
 </​code>​ </​code>​
  
-A classe ​**LibraryManager**, ​mostrada abaixoé um singleton ​que pode ser utilizado para registrar todas as bibliotecas compartilhadas carregadas por um sistema ​(aplicação). Atente-se ao fato de que este singleton ​não irá tomar a propriedade da biblioteca muito menos irá compartilhá-laele apenas irá observar as bibliotecas carregadasPor issovocê deverá controlar o tempo de vida das bibliotecas compatilhadas.+The **LibraryManager** ​classshown belowis a singleton ​that can be used to record all shared libraries loaded by a system ​(application). Pay attention to the fact that this singleton ​will not take the library property much less will share itit will only observe the loaded librariesThereforeyou should control the lifetime of shared libraries.
  
 <code cpp> <code cpp>
Line 174: Line 174:
       like an observer of known libraries.       like an observer of known libraries.
      */      */
-    class TECOREEXPORT ​LibraryManager+    class LibraryManager
     {     {
       public:       public:
Line 241: Line 241:
 </​code>​ </​code>​
  
-===== Exemplos ​=====+===== Examples ​=====
  
-Este exemplo constrói uma biblioteca dinâmica que contém ​implementação de uma função para cálculo do fatorial de um número inteiro e um programa executável que realiza ​carga dinâmica da biblioteca gerada.+This example constructs ​dynamic library that contains the implementation of function for calculating the factor of an integer and an executable program that performs the dynamic load library generated.
  
-A biblioteca gerada possui o seguinte nome: //​terralib_example_core_lib_function//​.+The generated library has the following name: //​terralib_example_core_lib_function//​.
  
-A seguir um exemplo que mostra como carregar uma biblioteca compartilhada:+Here is an example that shows how to load a shared library:
  
 <code cpp> <code cpp>
Line 350: Line 350:
 </​code>​ </​code>​
  
-===== Referências ​=====+===== Additional References ​=====
  
-  * [[http://​www.boost.org/​doc/​libs/​1_62_0/​doc/​html/​boost_dll.html | Boost.DLL]]+  * No references