1 // Copyright (C) 2014-2017 Bayerische Motoren Werke Aktiengesellschaft (BMW AG) 2 // This Source Code Form is subject to the terms of the Mozilla Public 3 // License, v. 2.0. If a copy of the MPL was not distributed with this 4 // file, You can obtain one at http://mozilla.org/MPL/2.0/. 5 6 #include <vsomeip/defines.hpp> 7 #include <vsomeip/message.hpp> 8 9 #include "../include/constants.hpp" 10 #include "../include/defines.hpp" 11 #include "../include/message_impl.hpp" 12 #include "../include/runtime_impl.hpp" 13 #include "../include/service_discovery_impl.hpp" 14 15 VSOMEIP_PLUGIN(vsomeip_v3::sd::runtime_impl) 16 17 namespace vsomeip_v3 { 18 namespace sd { 19 runtime_impl()20runtime_impl::runtime_impl() 21 : plugin_impl("vsomeip SD plug-in", 1, plugin_type_e::SD_RUNTIME_PLUGIN) { 22 } 23 ~runtime_impl()24runtime_impl::~runtime_impl() { 25 } 26 27 std::shared_ptr<service_discovery> create_service_discovery(service_discovery_host * _host,std::shared_ptr<configuration> _configuration) const28runtime_impl::create_service_discovery(service_discovery_host *_host, 29 std::shared_ptr<configuration> _configuration) const { 30 return std::make_shared<service_discovery_impl>(_host, _configuration); 31 } 32 33 } // namespace sd 34 } // namespace vsomeip_v3 35