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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
// Copyright (C) 2014-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_V3_ROUTING_TYPES_HPP_
#define VSOMEIP_V3_ROUTING_TYPES_HPP_
#include <map>
#include <memory>
#include <boost/asio/ip/address.hpp>
#include <vsomeip/primitive_types.hpp>
#include <vsomeip/constants.hpp>
namespace vsomeip_v3 {
class serviceinfo;
class endpoint_definition;
typedef std::map<service_t,
std::map<instance_t,
std::shared_ptr<serviceinfo> > > services_t;
class eventgroupinfo;
typedef std::map<service_t,
std::map<instance_t,
std::map<eventgroup_t,
std::shared_ptr<
eventgroupinfo> > > > eventgroups_t;
enum class registration_type_e : std::uint8_t {
REGISTER = 0x1,
DEREGISTER = 0x2,
DEREGISTER_ON_ERROR = 0x3
};
enum class remote_subscription_state_e : std::uint8_t {
SUBSCRIPTION_PENDING = 0x00,
SUBSCRIPTION_ACKED = 0x01,
SUBSCRIPTION_NACKED = 0x02,
SUBSCRIPTION_ERROR = 0x03,
SUBSCRIPTION_UNKNOWN = 0xFF
};
typedef std::uint16_t remote_subscription_id_t;
typedef std::uint32_t pending_remote_offer_id_t;
struct msg_statistic_t {
uint32_t counter_;
length_t avg_length_;
};
}
// namespace vsomeip_v3
#endif // VSOMEIP_V3_ROUTING_TYPES_HPP_
|