summaryrefslogtreecommitdiff
path: root/implementation/routing/include/types.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'implementation/routing/include/types.hpp')
-rw-r--r--implementation/routing/include/types.hpp18
1 files changed, 6 insertions, 12 deletions
diff --git a/implementation/routing/include/types.hpp b/implementation/routing/include/types.hpp
index c301b33..d59015c 100644
--- a/implementation/routing/include/types.hpp
+++ b/implementation/routing/include/types.hpp
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2017 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
+// Copyright (C) 2014-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/.
@@ -18,18 +18,13 @@ namespace vsomeip_v3 {
class serviceinfo;
class endpoint_definition;
-
-typedef std::map<service_t,
- std::map<instance_t,
- std::shared_ptr<serviceinfo> > > services_t;
+using services_t = std::map<service_t, std::map<instance_t, std::shared_ptr<serviceinfo>>>;
class eventgroupinfo;
-typedef std::map<service_t,
- std::map<instance_t,
- std::map<eventgroup_t,
- std::shared_ptr<
- eventgroupinfo> > > > eventgroups_t;
+using eventgroups_t =
+ std::map<service_t,
+ std::map<instance_t, std::map<eventgroup_t, std::shared_ptr<eventgroupinfo>>>>;
enum class registration_type_e : std::uint8_t {
REGISTER = 0x1,
@@ -47,8 +42,7 @@ enum class remote_subscription_state_e : std::uint8_t {
SUBSCRIPTION_UNKNOWN = 0xFF
};
-typedef std::uint16_t remote_subscription_id_t;
-typedef std::uint32_t pending_remote_offer_id_t;
+using remote_subscription_id_t = std::uint16_t;
struct msg_statistic_t {
uint32_t counter_;