summaryrefslogtreecommitdiff
path: root/interface/vsomeip/function_types.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'interface/vsomeip/function_types.hpp')
-rw-r--r--interface/vsomeip/function_types.hpp22
1 files changed, 22 insertions, 0 deletions
diff --git a/interface/vsomeip/function_types.hpp b/interface/vsomeip/function_types.hpp
new file mode 100644
index 0000000..7db3f1e
--- /dev/null
+++ b/interface/vsomeip/function_types.hpp
@@ -0,0 +1,22 @@
+// Copyright (C) 2016 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_FUNCTION_TYPES_HPP
+#define VSOMEIP_FUNCTION_TYPES_HPP
+
+#include <functional>
+#include <memory>
+
+namespace vsomeip {
+
+class payload;
+
+typedef std::function<
+ bool (const std::shared_ptr<payload> &,
+ const std::shared_ptr<payload> &) > epsilon_change_func_t;
+
+} // namespace vsomeip
+
+#endif // VSOMEIP_FUNCTION_TYPES_HPP