• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

OpenLightingProject / ola / 20179851591

12 Dec 2025 09:05PM UTC coverage: 45.048% (-0.7%) from 45.72%
20179851591

Pull #2027

github

web-flow
Bump actions/upload-artifact from 4 to 6

Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4 to 6.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v4...v6)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Pull Request #2027: Bump actions/upload-artifact from 4 to 6

8554 of 19812 branches covered (43.18%)

22094 of 49046 relevant lines covered (45.05%)

50.63 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

77.78
/plugins/shownet/ShowNetPort.h
1
/*
2
 * This program is free software; you can redistribute it and/or modify
3
 * it under the terms of the GNU General Public License as published by
4
 * the Free Software Foundation; either version 2 of the License, or
5
 * (at your option) any later version.
6
 *
7
 * This program is distributed in the hope that it will be useful,
8
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
10
 * GNU Library General Public License for more details.
11
 *
12
 * You should have received a copy of the GNU General Public License
13
 * along with this program; if not, write to the Free Software
14
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
15
 *
16
 * ShowNetPort.h
17
 * The ShowNet plugin for ola
18
 * Copyright (C) 2005 Simon Newton
19
 */
20

21
#ifndef PLUGINS_SHOWNET_SHOWNETPORT_H_
22
#define PLUGINS_SHOWNET_SHOWNETPORT_H_
23

24
#include <string>
25
#include "olad/Port.h"
26
#include "plugins/shownet/ShowNetDevice.h"
27
#include "plugins/shownet/ShowNetNode.h"
28

29
namespace ola {
30
namespace plugin {
31
namespace shownet {
32

33
class ShowNetInputPort: public BasicInputPort {
34
 public:
35
  ShowNetInputPort(ShowNetDevice *parent,
8✔
36
                   unsigned int id,
37
                   class PluginAdaptor *plugin_adaptor,
38
                   ShowNetNode *node):
8✔
39
    BasicInputPort(parent, id, plugin_adaptor),
40
    m_node(node) {}
8✔
41
  ~ShowNetInputPort() {}
8✔
42

43
  std::string Description() const;
44
  const ola::DmxBuffer &ReadDMX() const { return m_buffer; }
×
45
  bool PreSetUniverse(Universe *old_universe, Universe *new_universe);
46
  void PostSetUniverse(Universe *old_universe, Universe *new_universe);
47

48
 private:
49
  DmxBuffer m_buffer;
50
  ShowNetNode *m_node;
51
};
52

53

54
class ShowNetOutputPort: public BasicOutputPort {
55
 public:
56
  ShowNetOutputPort(ShowNetDevice *parent,
8✔
57
                    unsigned int id,
58
                    ShowNetNode *node):
8✔
59
    BasicOutputPort(parent, id),
60
    m_node(node) {}
8✔
61
  ~ShowNetOutputPort() {}
×
62

63
  bool PreSetUniverse(Universe *old_universe, Universe *new_universe);
64
  std::string Description() const;
65
  bool WriteDMX(const ola::DmxBuffer &buffer, uint8_t priority);
66

67
 private:
68
  ShowNetNode *m_node;
69
};
70
}  // namespace shownet
71
}  // namespace plugin
72
}  // namespace ola
73
#endif  // PLUGINS_SHOWNET_SHOWNETPORT_H_
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc