diff options
Diffstat (limited to 'implementation/e2e_protection/include/e2e/profile/profile01/checker.hpp')
-rw-r--r-- | implementation/e2e_protection/include/e2e/profile/profile01/checker.hpp | 37 |
1 files changed, 37 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..bc97f0d --- /dev/null +++ b/implementation/e2e_protection/include/e2e/profile/profile01/checker.hpp @@ -0,0 +1,37 @@ +// 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 E2E_PROFILE_PROFILE01_CHECKER_HPP +#define E2E_PROFILE_PROFILE01_CHECKER_HPP + +#include "../profile01/profile_01.hpp" +#include "../profile_interface/checker.hpp" + +namespace e2e { +namespace profile { +namespace profile01 { + +class profile_01_checker final : public e2e::profile::profile_interface::checker { + + public: + profile_01_checker(void) = delete; + + // [SWS_E2E_00389] initialize state + explicit profile_01_checker(const Config &_config) : + config(_config) {} + + virtual void check(const buffer::e2e_buffer &_buffer, + e2e::profile::profile_interface::generic_check_status &_generic_check_status) override final; + +private: + Config config; + std::mutex check_mutex; + +}; +} +} +} + +#endif |