From 4792b52c653ab8cdba740a141ae808226b3ed2c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Gehring?= Date: Wed, 29 Jul 2015 00:39:43 -0700 Subject: vSomeIP 1.3.0 --- .../service_discovery/include/entry_impl.hpp | 56 +++++++++++----------- 1 file changed, 28 insertions(+), 28 deletions(-) (limited to 'implementation/service_discovery/include/entry_impl.hpp') diff --git a/implementation/service_discovery/include/entry_impl.hpp b/implementation/service_discovery/include/entry_impl.hpp index 6bb68c7..2da3a5f 100755 --- a/implementation/service_discovery/include/entry_impl.hpp +++ b/implementation/service_discovery/include/entry_impl.hpp @@ -1,5 +1,4 @@ -// Copyright (C) 2014 BMW Group -// Author: Lutz Bichler (lutz.bichler@bmw.de) +// Copyright (C) 2014-2015 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/. @@ -29,45 +28,46 @@ class message_impl; class entry_impl: public message_element_impl { public: - virtual ~entry_impl(); + virtual ~entry_impl(); - // public interface - entry_type_e get_type() const; + // public interface + entry_type_e get_type() const; - service_t get_service() const; - void set_service(service_t _service); + service_t get_service() const; + void set_service(service_t _service); - instance_t get_instance() const; - void set_instance(instance_t _instance); + instance_t get_instance() const; + void set_instance(instance_t _instance); - major_version_t get_major_version() const; - void set_major_version(major_version_t _version); + major_version_t get_major_version() const; + void set_major_version(major_version_t _version); - ttl_t get_ttl() const; - void set_ttl(ttl_t _ttl); + ttl_t get_ttl() const; + void set_ttl(ttl_t _ttl); - const std::vector< uint8_t > & get_options(uint8_t _run) const; - void assign_option(const std::shared_ptr< option_impl > &_option, uint8_t _run); + const std::vector & get_options(uint8_t _run) const; + void assign_option(const std::shared_ptr &_option, + uint8_t _run); - bool is_service_entry() const; - bool is_eventgroup_entry() const; + bool is_service_entry() const; + bool is_eventgroup_entry() const; - void set_type(entry_type_e _type); + void set_type(entry_type_e _type); - virtual bool serialize(vsomeip::serializer *_to) const; - virtual bool deserialize(vsomeip::deserializer *_from); + virtual bool serialize(vsomeip::serializer *_to) const; + virtual bool deserialize(vsomeip::deserializer *_from); protected: - entry_type_e type_; - service_t service_; - instance_t instance_; - major_version_t major_version_; - ttl_t ttl_; + entry_type_e type_; + service_t service_; + instance_t instance_; + major_version_t major_version_; + ttl_t ttl_; - std::vector< uint8_t > options_[VSOMEIP_MAX_OPTION_RUN]; + std::vector options_[VSOMEIP_MAX_OPTION_RUN]; - entry_impl(); - entry_impl(const entry_impl &entry_); + entry_impl(); + entry_impl(const entry_impl &entry_); }; } // namespace sd -- cgit v1.2.1