GCC Code Coverage Report


./
File: libs/__/service/synchronizer.hpp
Date: 2025-01-21 16:21:04
Lines:
1/1
100.0%
Functions:
2/5
40.0%
Branches:
4/9
44.4%

Line Branch Exec Source
1 /************************************************************************
2 *
3 * Copyright (C) 2014-2024 IRCAD France
4 * Copyright (C) 2014-2019 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 #pragma once
24
25 #include <sight/service/config.hpp>
26
27 #include <service/base.hpp>
28
29 namespace sight::service
30 {
31
32 /**
33 * @brief synchronizer service synchronize objects from timelines
34 */
35 class SIGHT_SERVICE_CLASS_API synchronizer : public service::base
36 {
37 public:
38
39
4/9
✓ Branch 0 taken 2 times.
✓ Branch 1 taken 2 times.
✗ Branch 2 not taken.
✓ Branch 3 taken 2 times.
✗ Branch 4 not taken.
✓ Branch 6 taken 2 times.
✗ Branch 7 not taken.
✗ Branch 9 not taken.
✗ Branch 10 not taken.
8 SIGHT_DECLARE_SERVICE(synchronizer, service::base);
40
41 /**
42 * @brief Constructor.
43 */
44 SIGHT_SERVICE_API synchronizer() noexcept;
45
46 /**
47 * @brief Destructor.
48 */
49 SIGHT_SERVICE_API ~synchronizer() noexcept override;
50 };
51
52 } //namespace sight::service
53