summaryrefslogtreecommitdiff
path: root/implementation/e2e_protection/include/e2e/profile/profile_interface
diff options
context:
space:
mode:
Diffstat (limited to 'implementation/e2e_protection/include/e2e/profile/profile_interface')
-rw-r--r--implementation/e2e_protection/include/e2e/profile/profile_interface/checker.hpp12
-rw-r--r--implementation/e2e_protection/include/e2e/profile/profile_interface/profile_interface.hpp14
-rw-r--r--implementation/e2e_protection/include/e2e/profile/profile_interface/protector.hpp10
3 files changed, 19 insertions, 17 deletions
diff --git a/implementation/e2e_protection/include/e2e/profile/profile_interface/checker.hpp b/implementation/e2e_protection/include/e2e/profile/profile_interface/checker.hpp
index c66d1b0..f160ea1 100644
--- a/implementation/e2e_protection/include/e2e/profile/profile_interface/checker.hpp
+++ b/implementation/e2e_protection/include/e2e/profile/profile_interface/checker.hpp
@@ -3,25 +3,25 @@
// 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_PROFILE_INTERFACE_CHECKER_HPP
-#define VSOMEIP_E2E_PROFILE_INTERFACE_CHECKER_HPP
+#ifndef VSOMEIP_V3_E2E_PROFILE_INTERFACE_CHECKER_HPP
+#define VSOMEIP_V3_E2E_PROFILE_INTERFACE_CHECKER_HPP
#include "../profile_interface/profile_interface.hpp"
#include "../../../buffer/buffer.hpp"
#include <mutex>
-namespace vsomeip {
+namespace vsomeip_v3 {
namespace e2e {
namespace profile_interface {
class checker : public profile_interface {
public:
virtual void check(const e2e_buffer &_buffer,
- vsomeip::e2e::profile_interface::generic_check_status &_generic_check_status) = 0;
+ check_status_t &_generic_check_status) = 0;
};
} // namespace profile_interface
} // namespace e2e
-} // namespace vsomeip
+} // namespace vsomeip_v3
-#endif // VSOMEIP_E2E_PROFILE_INTERFACE_CHECKER_HPP
+#endif // VSOMEIP_V3_E2E_PROFILE_INTERFACE_CHECKER_HPP
diff --git a/implementation/e2e_protection/include/e2e/profile/profile_interface/profile_interface.hpp b/implementation/e2e_protection/include/e2e/profile/profile_interface/profile_interface.hpp
index 377bbee..dc72aac 100644
--- a/implementation/e2e_protection/include/e2e/profile/profile_interface/profile_interface.hpp
+++ b/implementation/e2e_protection/include/e2e/profile/profile_interface/profile_interface.hpp
@@ -3,16 +3,18 @@
// 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_PROFILE_INTERFACE_PROFILE_INTERFACE_HPP
-#define VSOMEIP_E2E_PROFILE_INTERFACE_PROFILE_INTERFACE_HPP
+#ifndef VSOMEIP_V3_E2E_PROFILE_INTERFACE_PROFILE_INTERFACE_HPP
+#define VSOMEIP_V3_E2E_PROFILE_INTERFACE_PROFILE_INTERFACE_HPP
#include <cstdint>
-namespace vsomeip {
+namespace vsomeip_v3 {
namespace e2e {
namespace profile_interface {
-enum class generic_check_status : uint8_t { E2E_OK, E2E_WRONG_CRC, E2E_ERROR};
+typedef uint8_t check_status_t;
+enum generic_check_status : check_status_t { E2E_OK, E2E_WRONG_CRC, E2E_ERROR};
+
class profile_interface {
public:
@@ -22,6 +24,6 @@ public:
} // namespace profile_interface
} // namespace e2e
-} // namespace vsomeip
+} // namespace vsomeip_v3
-#endif // VSOMEIP_E2E_PROFILE_INTERFACE_PROFILE_INTERFACE_HPP
+#endif // VSOMEIP_V3_E2E_PROFILE_INTERFACE_PROFILE_INTERFACE_HPP
diff --git a/implementation/e2e_protection/include/e2e/profile/profile_interface/protector.hpp b/implementation/e2e_protection/include/e2e/profile/profile_interface/protector.hpp
index a031a9e..5bae188 100644
--- a/implementation/e2e_protection/include/e2e/profile/profile_interface/protector.hpp
+++ b/implementation/e2e_protection/include/e2e/profile/profile_interface/protector.hpp
@@ -3,13 +3,13 @@
// 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_PROFILE_INTERFACE_PROTECTOR_HPP
-#define VSOMEIP_E2E_PROFILE_INTERFACE_PROTECTOR_HPP
+#ifndef VSOMEIP_V3_E2E_PROFILE_INTERFACE_PROTECTOR_HPP
+#define VSOMEIP_V3_E2E_PROFILE_INTERFACE_PROTECTOR_HPP
#include "../../../buffer/buffer.hpp"
#include "../profile_interface/profile_interface.hpp"
-namespace vsomeip {
+namespace vsomeip_v3 {
namespace e2e {
namespace profile_interface {
@@ -20,6 +20,6 @@ class protector : public profile_interface {
} // namespace profile_interface
} // namespace e2e
-} // namespace vsomeip
+} // namespace vsomeip_v3
-#endif // VSOMEIP_E2E_PROFILE_INTERFACE_PROTECTOR_HPP
+#endif // VSOMEIP_V3_E2E_PROFILE_INTERFACE_PROTECTOR_HPP