Fast DDS
Version 3.6.1.0
Fast DDS
Toggle main menu visibility
Loading...
Searching...
No Matches
LocatorsIterator.hpp
1
// Copyright 2021 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
18
19
#ifndef FASTDDS_RTPS_COMMON__LOCATORSITERATOR_HPP
20
#define FASTDDS_RTPS_COMMON__LOCATORSITERATOR_HPP
21
22
#include <fastdds/rtps/common/Locator.hpp>
23
24
namespace
eprosima
{
25
namespace
fastdds
{
26
namespace
rtps
{
27
32
struct
LocatorsIterator
33
{
39
virtual
LocatorsIterator
&
operator ++
() = 0;
47
virtual
bool
operator ==
(
48
const
LocatorsIterator
& other)
const
= 0;
56
virtual
bool
operator !=
(
57
const
LocatorsIterator
& other)
const
= 0;
63
virtual
const
Locator
&
operator *
()
const
= 0;
64
};
65
66
using
LocatorsIterator
=
eprosima::fastdds::rtps::LocatorsIterator
;
67
68
}
// namespace rtps
69
}
// namespace fastdds
70
}
// namespace eprosima
71
72
#endif
// FASTDDS_RTPS_COMMON__LOCATORSITERATOR_HPP
eprosima::fastdds::rtps
Contains the RTPS protocol implementation.
eprosima::fastdds::rtps::Locator
eprosima::fastdds::rtps::Locator_t Locator
Definition
Locator.hpp:572
eprosima::fastdds
eprosima
eProsima namespace.
eprosima::fastdds::rtps::LocatorsIterator
Provides a Locator's iterator interface that can be used by different Locator's containers.
Definition
LocatorsIterator.hpp:33
eprosima::fastdds::rtps::LocatorsIterator::operator*
virtual const Locator & operator*() const =0
Dereference operator.
eprosima::fastdds::rtps::LocatorsIterator::operator!=
virtual bool operator!=(const LocatorsIterator &other) const =0
Not equal to operator.
eprosima::fastdds::rtps::LocatorsIterator::operator++
virtual LocatorsIterator & operator++()=0
Increment operator.
eprosima::fastdds::rtps::LocatorsIterator::operator==
virtual bool operator==(const LocatorsIterator &other) const =0
Equal to operator.
include
fastdds
rtps
common
LocatorsIterator.hpp
Generated on
for