summaryrefslogtreecommitdiff
path: root/implementation/service_discovery/include/entry_impl.hpp
diff options
context:
space:
mode:
authorJürgen Gehring <juergen.gehring@bmw.de>2015-07-29 00:39:43 -0700
committerJürgen Gehring <juergen.gehring@bmw.de>2015-07-29 00:39:43 -0700
commit4792b52c653ab8cdba740a141ae808226b3ed2c1 (patch)
tree47ba024655b6491de0f8e3033ec99fc35080d5f4 /implementation/service_discovery/include/entry_impl.hpp
parenta1082eaf77850fe213e30e9abc4ea709d0499681 (diff)
downloadvSomeIP-4792b52c653ab8cdba740a141ae808226b3ed2c1.tar.gz
vSomeIP 1.3.01.3.0
Diffstat (limited to 'implementation/service_discovery/include/entry_impl.hpp')
-rwxr-xr-ximplementation/service_discovery/include/entry_impl.hpp56
1 files changed, 28 insertions, 28 deletions
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<uint8_t> & get_options(uint8_t _run) const;
+ void assign_option(const std::shared_ptr<option_impl> &_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<uint8_t> options_[VSOMEIP_MAX_OPTION_RUN];
- entry_impl();
- entry_impl(const entry_impl &entry_);
+ entry_impl();
+ entry_impl(const entry_impl &entry_);
};
} // namespace sd