diff options
author | Juergen Gehring <juergen.gehring@bmw.de> | 2018-05-22 02:56:40 -0700 |
---|---|---|
committer | Juergen Gehring <juergen.gehring@bmw.de> | 2018-05-22 02:56:40 -0700 |
commit | 2f0fdc596d24621c2bd4223cc63c8c1fb5b4c2d8 (patch) | |
tree | 9bcfdaa7f58c4928b21964e00fdc995929032738 /implementation/e2e_protection/include/e2e/profile/profile01/checker.hpp | |
parent | 3f591262507bbce2a57e182ef8a1c40951a31018 (diff) | |
download | vSomeIP-2f0fdc596d24621c2bd4223cc63c8c1fb5b4c2d8.tar.gz |
vsomeip 2.10.112.10.11
Diffstat (limited to 'implementation/e2e_protection/include/e2e/profile/profile01/checker.hpp')
-rw-r--r-- | implementation/e2e_protection/include/e2e/profile/profile01/checker.hpp | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/implementation/e2e_protection/include/e2e/profile/profile01/checker.hpp b/implementation/e2e_protection/include/e2e/profile/profile01/checker.hpp new file mode 100644 index 0000000..5fa243a --- /dev/null +++ b/implementation/e2e_protection/include/e2e/profile/profile01/checker.hpp @@ -0,0 +1,38 @@ +// 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_E2E_PROFILE01_CHECKER_HPP +#define VSOMEIP_E2E_PROFILE01_CHECKER_HPP + +#include "../profile01/profile_01.hpp" +#include "../profile_interface/checker.hpp" + +namespace vsomeip { +namespace e2e { +namespace profile01 { + +class profile_01_checker final : public e2e::profile_interface::checker { + + public: + profile_01_checker(void) = delete; + + // [SWS_E2E_00389] initialize state + explicit profile_01_checker(const profile_config &_config) : + config_(_config) {} + + virtual void check(const e2e_buffer &_buffer, + e2e::profile_interface::generic_check_status &_generic_check_status) override final; + +private: + profile_config config_; + std::mutex check_mutex_; + +}; + +} // namespace profile01 +} // namespace e2e +} // namespace vsomeip + +#endif // VSOMEIP_E2E_PROFILE01_CHECKER_HPP |