Fast DDS  Version 3.1.2
Fast DDS
Loading...
Searching...
No Matches
UDPv4TransportDescriptor.hpp
1// Copyright 2016 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__UDPV4TRANSPORTDESCRIPTOR_HPP
21#define FASTDDS_RTPS_TRANSPORT__UDPV4TRANSPORTDESCRIPTOR_HPP
22
23#include <fastdds/rtps/transport/UDPTransportDescriptor.hpp>
24
25namespace eprosima {
26namespace fastdds {
27namespace rtps {
28
36{
38 virtual ~UDPv4TransportDescriptor() = default;
39
40 virtual TransportInterface* create_transport() const override;
41
43 FASTDDS_EXPORTED_API UDPv4TransportDescriptor();
44
46 FASTDDS_EXPORTED_API UDPv4TransportDescriptor(
47 const UDPv4TransportDescriptor& t) = default;
48
50 FASTDDS_EXPORTED_API UDPv4TransportDescriptor& operator =(
51 const UDPv4TransportDescriptor& t) = default;
52
53 FASTDDS_EXPORTED_API bool operator ==(
54 const UDPv4TransportDescriptor& t) const;
55};
56
57} // namespace rtps
58} // namespace fastdds
59} // namespace eprosima
60
61#endif // FASTDDS_RTPS_TRANSPORT__UDPV4TRANSPORTDESCRIPTOR_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
UDPv4 Transport configuration The kind value for UDPv4TransportDescriptor is given by eprosima::fastd...
Definition UDPv4TransportDescriptor.hpp:36
FASTDDS_EXPORTED_API UDPv4TransportDescriptor(const UDPv4TransportDescriptor &t)=default
Copy constructor.
FASTDDS_EXPORTED_API bool operator==(const UDPv4TransportDescriptor &t) const
virtual TransportInterface * create_transport() const override
Factory method pattern.
FASTDDS_EXPORTED_API UDPv4TransportDescriptor()
Constructor.
FASTDDS_EXPORTED_API UDPv4TransportDescriptor & operator=(const UDPv4TransportDescriptor &t)=default
Copy assignment.
virtual ~UDPv4TransportDescriptor()=default
Destructor.