blob: 24814b93d9e6d154a0f50c3abb2c354d8bb77f20 [file] [log] [blame]
//
// message.hpp
//
// Author: Lutz Bichler
//
// This file is part of the BMW Some/IP implementation.
//
// Copyright © 2013, 2014 Bayerische Motoren Werke AG (BMW).
// All rights reserved.
//
#ifndef VSOMEIP_SERVICE_DISCOVERY_MESSAGE_HPP
#define VSOMEIP_SERVICE_DISCOVERY_MESSAGE_HPP
#include <vsomeip/message_base.hpp>
#include <vsomeip/primitive_types.hpp>
namespace vsomeip {
namespace service_discovery {
class eventgroup_entry;
class service_entry;
class configuration_option;
class ipv4_endpoint_option;
class ipv6_endpoint_option;
class load_balancing_option;
class protection_option;
class sdeserializer;
class message : virtual public vsomeip::message_base {
public:
virtual ~message() {};
virtual flags get_flags() const = 0;
virtual void set_flags(flags _flags) = 0;
virtual eventgroup_entry & create_eventgroup_entry() = 0;
virtual service_entry & create_service_entry() = 0;
virtual configuration_option & create_configuration_option() = 0;
virtual ipv4_endpoint_option & create_ipv4_endpoint_option() = 0;
virtual ipv6_endpoint_option & create_ipv6_endpoint_option() = 0;
virtual load_balancing_option & create_load_balancing_option() = 0;
virtual protection_option & create_protection_option() = 0;
};
} // namespace service_discovery
} // namespace vsomeip
#endif // VSOMEIP_SERVICE_DISCOVERY_MESSAGE_HPP