summaryrefslogtreecommitdiff
path: root/interface/vsomeip/function_types.hpp
blob: aa086ddc0cc6f7bd7253ca932a9b9d6c8c1428e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Copyright (C) 2016-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_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