Fast DDS  Version 3.1.0
Fast DDS
Loading...
Searching...
No Matches
UDPv6TransportDescriptor.hpp
1// Copyright 2019 Proyectos y Sistemas de Mantenimiento SL (eProsima).
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
20#ifndef FASTDDS_RTPS_TRANSPORT__UDPV6TRANSPORTDESCRIPTOR_HPP
21#define FASTDDS_RTPS_TRANSPORT__UDPV6TRANSPORTDESCRIPTOR_HPP
22
23#include <fastdds/rtps/transport/UDPTransportDescriptor.hpp>
24
25namespace eprosima {
26namespace fastdds {
27namespace rtps {
28
29class TransportInterface;
30
38{
40 virtual ~UDPv6TransportDescriptor() = default;
41
42 virtual TransportInterface* create_transport() const override;
43
45 FASTDDS_EXPORTED_API UDPv6TransportDescriptor();
46
48 FASTDDS_EXPORTED_API UDPv6TransportDescriptor(
49 const UDPv6TransportDescriptor& t) = default;
50
52 FASTDDS_EXPORTED_API UDPv6TransportDescriptor& operator =(
53 const UDPv6TransportDescriptor& t) = default;
54
55 FASTDDS_EXPORTED_API bool operator ==(
56 const UDPv6TransportDescriptor& t) const;
57};
58
59} // namespace rtps
60} // namespace fastdds
61} // namespace eprosima
62
63#endif // FASTDDS_RTPS_TRANSPORT__UDPV6TRANSPORTDESCRIPTOR_HPP
Interface against which to implement a transport layer, decoupled from Fast DDS internals.
Definition TransportInterface.hpp:64
eProsima namespace.
UDP Transport configuration.
Definition UDPTransportDescriptor.hpp:42
UDPv6 Transport configuration The kind value for UDPv6TransportDescriptor is given by eprosima::fastd...
Definition UDPv6TransportDescriptor.hpp:38
FASTDDS_EXPORTED_API UDPv6TransportDescriptor(const UDPv6TransportDescriptor &t)=default
Copy constructor.
virtual ~UDPv6TransportDescriptor()=default
Destructor.
FASTDDS_EXPORTED_API bool operator==(const UDPv6TransportDescriptor &t) const
virtual TransportInterface * create_transport() const override
Factory method pattern.
FASTDDS_EXPORTED_API UDPv6TransportDescriptor()
Constructor.
FASTDDS_EXPORTED_API UDPv6TransportDescriptor & operator=(const UDPv6TransportDescriptor &t)=default
Copy assignment.