blob: 61662b8e59e2192d03f1f8a9851ca3dd1065468b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
// Copyright (C) 2014-2017 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
#ifndef VSOMEIP_V3_PLUGIN_MANAGER_HPP
#define VSOMEIP_V3_PLUGIN_MANAGER_HPP
#include <memory>
#include <string>
#include <vsomeip/export.hpp>
#include <vsomeip/plugin.hpp>
namespace vsomeip_v3 {
class plugin_manager {
public:
VSOMEIP_EXPORT virtual ~plugin_manager() {};
VSOMEIP_EXPORT static std::shared_ptr<plugin_manager> get();
VSOMEIP_EXPORT virtual void load_plugins() = 0;
VSOMEIP_EXPORT virtual std::shared_ptr<plugin> get_plugin(plugin_type_e _type, std::string _name) = 0;
};
} // namespace vsomeip_v3
#endif // VSOMEIP_V3_PLUGIN_MANAGER_HPP
|