Coverage Report

Created: 2026-04-01 06:58

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/Fast-DDS/src/cpp/rtps/history/TopicPayloadPoolRegistry.cpp
Line
Count
Source
1
// Copyright 2020 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
15
/**
16
 * @file TopicPayloadPoolRegistry.cpp
17
 */
18
19
#include <rtps/history/TopicPayloadPoolRegistry.hpp>
20
21
#include <rtps/history/TopicPayloadPool.hpp>
22
23
#include <rtps/history/TopicPayloadPoolRegistry_impl/TopicPayloadPoolProxy.hpp>
24
#include <rtps/history/TopicPayloadPoolRegistry_impl/TopicPayloadPoolRegistryEntry.hpp>
25
#include <rtps/history/TopicPayloadPoolRegistry_impl/TopicPayloadPoolRegistry.hpp>
26
27
namespace eprosima {
28
namespace fastdds {
29
namespace rtps {
30
31
const TopicPayloadPoolRegistry::reference& TopicPayloadPoolRegistry::instance()
32
1
{
33
1
    return detail::TopicPayloadPoolRegistry::instance();
34
1
}
35
36
std::shared_ptr<ITopicPayloadPool> TopicPayloadPoolRegistry::get(
37
        const std::string& topic_name,
38
        const BasicPoolConfig& config)
39
0
{
40
0
    return detail::TopicPayloadPoolRegistry::instance()->get(topic_name, config);
41
0
}
42
43
}  // namespace rtps
44
}  // namespace fastdds
45
}  // namespace eprosima