Utils.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2008 National Institute For Space Research (INPE) - Brazil.
3
4
This file is part of the TerraLib - a Framework for building GIS enabled
5
applications.
6
7
TerraLib is free software: you can redistribute it and/or modify
8
it under the terms of the GNU Lesser General Public License as published by
9
the Free Software Foundation, either version 3 of the License,
10
or (at your option) any later version.
11
12
TerraLib is distributed in the hope that it will be useful,
13
but WITHOUT ANY WARRANTY; without even the implied warranty of
14
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
GNU Lesser General Public License for more details.
16
17
You should have received a copy of the GNU Lesser General Public License
18
along with TerraLib. See COPYING. If not, write to
19
TerraLib Team at <terralib-team@terralib.org>.
20
*/
21
22
/*!
23
\file terralib/core/plugin/Utils.h
24
25
\brief General utilities for plugins.
26
27
\author Gilberto Ribeiro de Queiroz
28
\author Matheus Cavassan Zaglia
29
30
*/
31
32
#ifndef __TERRALIB_CORE_UTILS_FINDERS_H__
33
#define __TERRALIB_CORE_UTILS_FINDERS_H__
34
35
// TerraLib
36
#include "../Config.h"
37
#include "
PluginInfo.h
"
38
39
// STL
40
#include <string>
41
#include <vector>
42
43
namespace
te
44
{
45
namespace
core
46
{
47
namespace
plugin
48
{
49
TECOREEXPORT
void
InitializePluginSystem
();
50
51
TECOREEXPORT
void
FinalizePluginSystem
();
52
53
/*! A plugin finder that search for plugins in some special directories
54
* defined by compile time macros. */
55
TECOREEXPORT
std::vector<PluginInfo>
TopologicalSort
(
56
const
std::vector<PluginInfo>& v_pinfo);
57
58
TECOREEXPORT
void
LoadAll
(
bool
start =
true
);
59
60
TECOREEXPORT
void
UnloadAll
();
61
62
TECOREEXPORT
void
UnloadPlugin
(
const
std::string& plugin_name);
63
}
64
}
// end namespace core
65
}
// end namespace te
66
67
#endif // __TERRALIB_CORE_UTILS_FINDERS_H__
te
TerraLib.
Definition:
AddressGeocodingOp.h:52
te::core::plugin::TopologicalSort
TECOREEXPORT std::vector< PluginInfo > TopologicalSort(const std::vector< PluginInfo > &v_pinfo)
te::core::plugin::LoadAll
TECOREEXPORT void LoadAll(bool start=true)
te::core::plugin::FinalizePluginSystem
TECOREEXPORT void FinalizePluginSystem()
PluginInfo.h
The basic information about a plugin.
TECOREEXPORT
#define TECOREEXPORT
Definition:
Config.h:52
te::core::plugin::UnloadAll
TECOREEXPORT void UnloadAll()
te::core::plugin::InitializePluginSystem
TECOREEXPORT void InitializePluginSystem()
te::core::plugin::UnloadPlugin
TECOREEXPORT void UnloadPlugin(const std::string &plugin_name)
git_release
src
terralib
core
plugin
Utils.h
Generated on Wed Feb 2 2022 10:37:57 for TerraLib by
1.8.20