Open Lighting Architecture 0.10.9
Loading...
Searching...
No Matches
StageProfiPort.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 * StageProfiPort.h
17 * The StageProfi plugin for ola
18 * Copyright (C) 2006 Simon Newton
19 */
20
21#ifndef PLUGINS_STAGEPROFI_STAGEPROFIPORT_H_
22#define PLUGINS_STAGEPROFI_STAGEPROFIPORT_H_
23
24#include <string>
25#include "ola/DmxBuffer.h"
26#include "olad/Port.h"
27#include "plugins/stageprofi/StageProfiDevice.h"
28
29namespace ola {
30namespace plugin {
31namespace stageprofi {
32
33class StageProfiWidget;
34
39 public:
48 unsigned int id,
49 StageProfiWidget *widget);
50
51 bool WriteDMX(const DmxBuffer &buffer, uint8_t priority);
52
53 std::string Description() const;
54
55 private:
56 StageProfiWidget *m_widget;
57};
58} // namespace stageprofi
59} // namespace plugin
60} // namespace ola
61#endif // PLUGINS_STAGEPROFI_STAGEPROFIPORT_H_
A class used to hold a single universe of DMX data.
Definition Port.h:283
Used to hold a single universe of DMX data.
Definition DmxBuffer.h:49
Definition StageProfiDevice.h:38
An OutputPort for the StageProfi Device.
Definition StageProfiPort.h:38
StageProfiOutputPort(StageProfiDevice *parent, unsigned int id, StageProfiWidget *widget)
Create a new StageProfi Output Port.
Definition StageProfiPort.cpp:33
bool WriteDMX(const DmxBuffer &buffer, uint8_t priority)
Write DMX data to this port.
Definition StageProfiPort.cpp:40
std::string Description() const
Fetch the string description for a Port.
Definition StageProfiPort.cpp:45
Definition StageProfiWidget.h:36
The namespace containing all OLA symbols.
Definition Credentials.cpp:44