1 // Copyright (C) 2014-2017 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
2 // This Source Code Form is subject to the terms of the Mozilla Public
3 // License, v. 2.0. If a copy of the MPL was not distributed with this
4 // file, You can obtain one at http://mozilla.org/MPL/2.0/.
5 #ifndef VSOMEIP_V3_CFG_WATCHDOG_HPP_
6 #define VSOMEIP_V3_CFG_WATCHDOG_HPP_
7 
8 namespace vsomeip_v3 {
9 namespace cfg {
10 
11 struct watchdog {
watchdogvsomeip_v3::cfg::watchdog12     watchdog()
13         : is_enabeled_(false),
14           timeout_in_ms_(VSOMEIP_DEFAULT_WATCHDOG_TIMEOUT),
15           missing_pongs_allowed_(VSOMEIP_DEFAULT_MAX_MISSING_PONGS) {
16     }
17 
18     bool is_enabeled_;
19     uint32_t timeout_in_ms_;
20     uint32_t missing_pongs_allowed_;
21 };
22 
23 } // namespace cfg
24 } // namespace vsomeip_v3
25 
26 #endif // VSOMEIP_V3_CFG_WATCHDOG_HPP_
27