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 #ifndef VSOMEIP_V3_E2E_PROFILE01_CHECKER_HPP 7 #define VSOMEIP_V3_E2E_PROFILE01_CHECKER_HPP 8 9 #include "../profile01/profile_01.hpp" 10 #include "../profile_interface/checker.hpp" 11 12 namespace vsomeip_v3 { 13 namespace e2e { 14 namespace profile01 { 15 16 class profile_01_checker final : public e2e::profile_interface::checker { 17 18 public: 19 profile_01_checker(void) = delete; 20 21 // [SWS_E2E_00389] initialize state profile_01_checker(const profile_config & _config)22 explicit profile_01_checker(const profile_config &_config) : 23 config_(_config) {} 24 25 void check(const e2e_buffer &_buffer, instance_t _instance, 26 e2e::profile_interface::check_status_t &_generic_check_status) override final; 27 28 private: 29 profile_config config_; 30 std::mutex check_mutex_; 31 32 }; 33 34 } // namespace profile01 35 } // namespace e2e 36 } // namespace vsomeip_v3 37 38 #endif // VSOMEIP_V3_E2E_PROFILE01_CHECKER_HPP 39