GCC Code Coverage Report


Directory: ./
File: libs/viz/qt3d/registry/detail.cpp
Date: 2024-03-28 16:25:37
Exec Total Coverage
Lines: 0 3 0.0%
Branches: 0 0 -%

Line Branch Exec Source
1 /************************************************************************
2 *
3 * Copyright (C) 2020-2023 IRCAD France
4 * Copyright (C) 2020 IHU Strasbourg
5 *
6 * This file is part of Sight.
7 *
8 * Sight is free software: you can redistribute it and/or modify it under
9 * the terms of the GNU Lesser General Public License as published by
10 * the Free Software Foundation, either version 3 of the License, or
11 * (at your option) any later version.
12 *
13 * Sight is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU Lesser General Public License for more details.
17 *
18 * You should have received a copy of the GNU Lesser General Public
19 * License along with Sight. If not, see <https://www.gnu.org/licenses/>.
20 *
21 ***********************************************************************/
22
23 #include "viz/qt3d/registry/detail.hpp"
24
25 #include <core/lazy_instantiator.hpp>
26
27 namespace sight::viz::qt3d::registry
28 {
29
30 struct render_qt3_d_registry_instantiator_tag {};
31
32 SPTR(type) get()
33 {
34 using instantiator_t = core::lazy_instantiator<type, render_qt3_d_registry_instantiator_tag>;
35 return instantiator_t::get_instance();
36 }
37
38 } // namespace sight::viz::qt3d::registry
39