GCC Code Coverage Report


Directory: ./
File: util/PiGPIOUtils.h
Date: 2026-10-29 08:11:58
Exec Total Coverage
Lines: 2 2 100.0%
Functions: 2 2 100.0%
Branches: 0 0 -%

Line Branch Exec Source
1 #pragma once
2 /*
3 * This file is part of the Falcon Player (FPP) and is Copyright (C)
4 * 2013-2022 by the Falcon Player Developers.
5 *
6 * The Falcon Player (FPP) is free software, and is covered under
7 * multiple Open Source licenses. Please see the included 'LICENSES'
8 * file for descriptions of what files are covered by each license.
9 *
10 * This source file is covered under the GPL v2 as described in the
11 * included LICENSE.GPL file.
12 */
13
14 #include <vector>
15
16 #include "GPIOUtils.h"
17
18 class PiGPIOPinProvider : public PinCapabilitiesProvider {
19 public:
20 63 PiGPIOPinProvider() {}
21 216 virtual ~PiGPIOPinProvider() {}
22
23 void Init();
24 const PinCapabilities& getPinByName(const std::string& name);
25 const PinCapabilities& getPinByGPIO(int chip, int gpio);
26 const PinCapabilities& getPinByUART(const std::string& n);
27
28 std::vector<std::string> getPinNames();
29 };
30