GCC Code Coverage Report


Directory: ./
File: channeloutput/SerialChannelOutput.h
Date: 2026-10-29 08:11:58
Exec Total Coverage
Lines: 1 1 100.0%
Functions: 1 1 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 <string>
15 #include "fpp-json-fwd.h"
16
17 #include "ThreadedChannelOutput.h"
18
19 class SerialChannelOutput {
20 public:
21 SerialChannelOutput();
22 virtual ~SerialChannelOutput();
23
24 bool setupSerialPort(Json::Value& config, int baud, const char* mode);
25 int closeSerialPort(void);
26 void dumpSerialConfig(void);
27
28 719 int getFD() const { return m_fd; }
29
30 protected:
31 std::string pinName;
32 std::string m_deviceName;
33 int m_fd;
34 };
35