diff options
Diffstat (limited to 'implementation/runtime/include/runtime_impl.hpp')
-rw-r--r-- | implementation/runtime/include/runtime_impl.hpp | 31 |
1 files changed, 15 insertions, 16 deletions
diff --git a/implementation/runtime/include/runtime_impl.hpp b/implementation/runtime/include/runtime_impl.hpp index 2040ffb..6240969 100644 --- a/implementation/runtime/include/runtime_impl.hpp +++ b/implementation/runtime/include/runtime_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/. @@ -13,24 +12,24 @@ namespace vsomeip { class runtime_impl: public runtime { public: - static runtime * get(); + static std::shared_ptr<runtime> get(); - virtual ~runtime_impl(); + virtual ~runtime_impl(); - std::shared_ptr<application> create_application( - const std::string &_name) const; + std::shared_ptr<application> create_application( + const std::string &_name) const; - std::shared_ptr<message> create_message() const; - std::shared_ptr<message> create_request() const; - std::shared_ptr<message> create_response( - const std::shared_ptr<message> &_request) const; - std::shared_ptr<message> create_notification() const; + std::shared_ptr<message> create_message(bool _reliable) const; + std::shared_ptr<message> create_request(bool _reliable) const; + std::shared_ptr<message> create_response( + const std::shared_ptr<message> &_request) const; + std::shared_ptr<message> create_notification(bool _reliable) const; - std::shared_ptr<payload> create_payload() const; - std::shared_ptr<payload> create_payload( - const byte_t *_data, uint32_t _size) const; - std::shared_ptr<payload> create_payload( - const std::vector<byte_t> &_data) const; + std::shared_ptr<payload> create_payload() const; + std::shared_ptr<payload> create_payload(const byte_t *_data, + uint32_t _size) const; + std::shared_ptr<payload> create_payload( + const std::vector<byte_t> &_data) const; }; } // namespace vsomeip |