| Fast DDS Version 3.3.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
19
20#ifndef FASTDDS_RTPS_TRANSPORT__UDPV6TRANSPORTDESCRIPTOR_HPP
21#define FASTDDS_RTPS_TRANSPORT__UDPV6TRANSPORTDESCRIPTOR_HPP
22
23#include <fastdds/rtps/transport/UDPTransportDescriptor.hpp>
24
25 namespace eprosima {
26 namespace fastdds {
27 namespace rtps {
28
29 class TransportInterface;
30
37 struct UDPv6TransportDescriptor : public UDPTransportDescriptor
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
eprosima::fastdds::rtps::TransportInterface
Interface against which to implement a transport layer, decoupled from Fast DDS internals.
Definition TransportInterface.hpp:64
eprosima::fastdds::rtps
Contains the RTPS protocol implementation.
eprosima::fastdds
eprosima
eProsima namespace.
eprosima::fastdds::rtps::UDPTransportDescriptor::UDPTransportDescriptor
FASTDDS_EXPORTED_API UDPTransportDescriptor()
Constructor.
eprosima::fastdds::rtps::UDPv6TransportDescriptor::UDPv6TransportDescriptor
FASTDDS_EXPORTED_API UDPv6TransportDescriptor(const UDPv6TransportDescriptor &t)=default
Copy constructor.
eprosima::fastdds::rtps::UDPv6TransportDescriptor::~UDPv6TransportDescriptor
virtual ~UDPv6TransportDescriptor()=default
Destructor.
eprosima::fastdds::rtps::UDPv6TransportDescriptor::operator==
FASTDDS_EXPORTED_API bool operator==(const UDPv6TransportDescriptor &t) const
eprosima::fastdds::rtps::UDPv6TransportDescriptor::create_transport
virtual TransportInterface * create_transport() const override
Factory method pattern.
eprosima::fastdds::rtps::UDPv6TransportDescriptor::UDPv6TransportDescriptor
FASTDDS_EXPORTED_API UDPv6TransportDescriptor()
Constructor.
eprosima::fastdds::rtps::UDPv6TransportDescriptor::operator=
FASTDDS_EXPORTED_API UDPv6TransportDescriptor & operator=(const UDPv6TransportDescriptor &t)=default
Copy assignment.