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_PROFILE_INTERFACE_PROTECTOR_HPP
7 #define VSOMEIP_V3_E2E_PROFILE_INTERFACE_PROTECTOR_HPP
8 
9 #include <vsomeip/primitive_types.hpp>
10 
11 #include "../../../buffer/buffer.hpp"
12 #include "../profile_interface/profile_interface.hpp"
13 
14 namespace vsomeip_v3 {
15 namespace e2e {
16 namespace profile_interface {
17 
18 class protector : public profile_interface {
19 public:
20     virtual void protect(e2e_buffer &_buffer,
21             instance_t _instance) = 0;
22 };
23 
24 } // namespace profile_interface
25 } // namespace e2e
26 } // namespace vsomeip_v3
27 
28 #endif // VSOMEIP_V3_E2E_PROFILE_INTERFACE_PROTECTOR_HPP
29