summaryrefslogtreecommitdiff
path: root/implementation/routing/include/eventgroupinfo.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'implementation/routing/include/eventgroupinfo.hpp')
-rw-r--r--implementation/routing/include/eventgroupinfo.hpp53
1 files changed, 28 insertions, 25 deletions
diff --git a/implementation/routing/include/eventgroupinfo.hpp b/implementation/routing/include/eventgroupinfo.hpp
index 6c75ca3..558c3b9 100644
--- a/implementation/routing/include/eventgroupinfo.hpp
+++ b/implementation/routing/include/eventgroupinfo.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/.
@@ -12,6 +11,7 @@
#include <boost/asio/ip/address.hpp>
+#include <vsomeip/export.hpp>
#include <vsomeip/primitive_types.hpp>
namespace vsomeip {
@@ -21,38 +21,41 @@ class event;
class eventgroupinfo {
public:
- eventgroupinfo();
- eventgroupinfo(major_version_t _major, ttl_t _ttl);
- ~eventgroupinfo();
+ VSOMEIP_EXPORT eventgroupinfo();
+ VSOMEIP_EXPORT eventgroupinfo(major_version_t _major, ttl_t _ttl);
+ VSOMEIP_EXPORT ~eventgroupinfo();
- major_version_t get_major() const;
- void set_major(major_version_t _major);
+ VSOMEIP_EXPORT major_version_t get_major() const;
+ VSOMEIP_EXPORT void set_major(major_version_t _major);
- ttl_t get_ttl() const;
- void set_ttl(ttl_t _ttl);
+ VSOMEIP_EXPORT ttl_t get_ttl() const;
+ VSOMEIP_EXPORT void set_ttl(ttl_t _ttl);
- bool is_multicast() const;
- bool get_multicast(boost::asio::ip::address &_address, uint16_t &_port) const;
- void set_multicast(const boost::asio::ip::address &_address, uint16_t _port);
+ VSOMEIP_EXPORT bool is_multicast() const;
+ VSOMEIP_EXPORT bool get_multicast(boost::asio::ip::address &_address,
+ uint16_t &_port) const;
+ VSOMEIP_EXPORT void set_multicast(const boost::asio::ip::address &_address,
+ uint16_t _port);
- const std::set<std::shared_ptr<event> > get_events() const;
- void add_event(std::shared_ptr<event> _event);
+ VSOMEIP_EXPORT const std::set<std::shared_ptr<event> > get_events() const;
+ VSOMEIP_EXPORT void add_event(std::shared_ptr<event> _event);
- const std::set<std::shared_ptr<endpoint_definition> > get_targets() const;
- void add_target(std::shared_ptr<endpoint_definition> _target);
- void del_target(std::shared_ptr<endpoint_definition> _target);
- void clear_targets();
+ VSOMEIP_EXPORT const std::set<
+ std::shared_ptr<endpoint_definition> > get_targets() const;
+ VSOMEIP_EXPORT void add_target(std::shared_ptr<endpoint_definition> _target);
+ VSOMEIP_EXPORT void del_target(std::shared_ptr<endpoint_definition> _target);
+ VSOMEIP_EXPORT void clear_targets();
private:
- major_version_t major_;
- ttl_t ttl_;
+ major_version_t major_;
+ ttl_t ttl_;
- bool is_multicast_;
- boost::asio::ip::address address_;
- uint16_t port_;
+ bool is_multicast_;
+ boost::asio::ip::address address_;
+ uint16_t port_;
- std::set<std::shared_ptr<event> > events_;
- std::set<std::shared_ptr<endpoint_definition> > targets_;
+ std::set<std::shared_ptr<event> > events_;
+ std::set<std::shared_ptr<endpoint_definition> > targets_;
};
} // namespace vsomeip