summaryrefslogtreecommitdiff
path: root/implementation/configuration/include/application_configuration.hpp
blob: f20afd52406412e2a5a04d7a8140881996af4ff2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
// Copyright (C) 2021 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_V3_CFG_APPLICATION_CONFIGURATION_HPP_
#define VSOMEIP_V3_CFG_APPLICATION_CONFIGURATION_HPP_

#include <map>
#include <set>

#include <vsomeip/primitive_types.hpp>
#include <vsomeip/plugin.hpp>

#ifdef ANDROID
#include "internal_android.hpp"
#else
#include "internal.hpp"
#endif

namespace vsomeip_v3 {

struct debounce_filter_t;

namespace cfg {

struct application_configuration {
    client_t client_;
    std::size_t max_dispatchers_;
    std::size_t max_dispatch_time_;
    std::size_t thread_count_;
    std::size_t request_debouncing_;
    std::map<plugin_type_e, std::set<std::string> > plugins_;
    int nice_level_;
    debounce_configuration_t debounces_;
    bool has_session_handling_;
};

} // namespace cfg
} // namespace vsomeip_v3

#endif // VSOMEIP_V3_CFG_APPLICATION_CONFIGURATION_HPP_