| Fast DDS Version 3.3.0 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
19
20#ifndef FASTDDS_RTPS_TRANSPORT__UDPV4TRANSPORTDESCRIPTOR_HPP
21#define FASTDDS_RTPS_TRANSPORT__UDPV4TRANSPORTDESCRIPTOR_HPP
22
23#include <fastdds/rtps/transport/UDPTransportDescriptor.hpp>
24
25 namespace eprosima {
26 namespace fastdds {
27 namespace rtps {
28
35 struct UDPv4TransportDescriptor : public UDPTransportDescriptor
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
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::UDPv4TransportDescriptor::UDPv4TransportDescriptor
FASTDDS_EXPORTED_API UDPv4TransportDescriptor(const UDPv4TransportDescriptor &t)=default
Copy constructor.
eprosima::fastdds::rtps::UDPv4TransportDescriptor::operator==
FASTDDS_EXPORTED_API bool operator==(const UDPv4TransportDescriptor &t) const
eprosima::fastdds::rtps::UDPv4TransportDescriptor::create_transport
virtual TransportInterface * create_transport() const override
Factory method pattern.
eprosima::fastdds::rtps::UDPv4TransportDescriptor::UDPv4TransportDescriptor
FASTDDS_EXPORTED_API UDPv4TransportDescriptor()
Constructor.
eprosima::fastdds::rtps::UDPv4TransportDescriptor::operator=
FASTDDS_EXPORTED_API UDPv4TransportDescriptor & operator=(const UDPv4TransportDescriptor &t)=default
Copy assignment.
eprosima::fastdds::rtps::UDPv4TransportDescriptor::~UDPv4TransportDescriptor
virtual ~UDPv4TransportDescriptor()=default
Destructor.