Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
wiki:documentation:devguide:core:library [2016/10/04 11:15] carolina.santos [C++] |
wiki:documentation:devguide:core:library [2016/10/04 13:59] carolina.santos [Additional References] |
||
---|---|---|---|
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 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 a implementação de uma função para cálculo do fatorial de um número inteiro e um programa executável que realiza a carga dinâmica da biblioteca gerada. | + | This example constructs a dynamic library that contains the implementation of a 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 |