PluginManagerBase.h
Go to the documentation of this file.
1 // this is for emacs file handling -*- mode: c++; indent-tabs-mode: nil -*-
2 
3 // -- BEGIN LICENSE BLOCK ----------------------------------------------
4 // This file is part of FZIs ic_workspace.
5 //
6 // This program is free software licensed under the LGPL
7 // (GNU LESSER GENERAL PUBLIC LICENSE Version 3).
8 // You can find a copy of this license in LICENSE folder in the top
9 // directory of the source code.
10 //
11 // © Copyright 2016 FZI Forschungszentrum Informatik, Karlsruhe, Germany
12 //
13 // -- END LICENSE BLOCK ------------------------------------------------
14 
15 //----------------------------------------------------------------------
27 //----------------------------------------------------------------------
28 #ifndef ICL_CORE_PLUGIN_PLUGIN_MANAGER_BASE_H_INCLUDED
29 #define ICL_CORE_PLUGIN_PLUGIN_MANAGER_BASE_H_INCLUDED
30 
33 
34 #include <string>
35 #include <list>
36 
37 namespace icl_core {
38 namespace plugin {
39 
40 typedef std::list<std::string> StringList;
41 
43 {
44 public:
48  explicit PluginManagerBase(std::string plugin_dir = "");
49 
52  StringList pluginPaths();
53 
58  void addPluginPath(const std::string &path);
59 
64  StringList errorMessages();
65 
67 #ifdef _IC_BUILDER_DEPRECATED_STYLE_
68 
73 
77  ICL_CORE_VC_DEPRECATE_STYLE void AddPluginPath(const std::string &path)
79 
86 
87 #endif
88 
90 protected:
91  void clearErrorMessages();
92 
93  void addErrorMessage(const std::string &message);
94 
96 #ifdef _IC_BUILDER_DEPRECATED_STYLE_
97 
99 
100  ICL_CORE_VC_DEPRECATE_STYLE void AddErrorMessage(const std::string &message)
102 
103 #endif
104 
106  StringList m_error_messages;
107 
108 private:
109  StringList m_plugin_paths;
110 };
111 
112 }
113 }
114 
115 #endif
#define ICL_CORE_VC_DEPRECATE_STYLE
Definition: Deprecate.h:53
Contains import/export definitions for the Win32 plattform.
Contains logging definitions for the icl_core_plugin library.
#define ICL_CORE_PLUGIN_IMPORT_EXPORT
std::list< std::string > StringList
#define ICL_CORE_GCC_DEPRECATE_STYLE
Definition: Deprecate.h:54


fzi_icl_core
Author(s):
autogenerated on Mon Jun 10 2019 13:17:58