Open Lighting Architecture
0.9.6
Main Page
Modules
Related Pages
Namespaces
Classes
Files
File List
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
plugins
opendmx
OpenDmxDevice.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
*
17
* OpenDmxDevice.h
18
* Interface for the Open DMX device
19
* Copyright (C) 2005 Simon Newton
20
*/
21
22
#ifndef PLUGINS_OPENDMX_OPENDMXDEVICE_H_
23
#define PLUGINS_OPENDMX_OPENDMXDEVICE_H_
24
25
#include <string>
26
#include "olad/Device.h"
27
28
namespace
ola {
29
namespace
plugin {
30
namespace
opendmx {
31
32
class
OpenDmxDevice
:
public
ola::Device
{
33
public
:
34
OpenDmxDevice
(
ola::AbstractPlugin
*owner,
35
const
std::string &name,
36
const
std::string &path,
37
unsigned
int
device_id);
38
39
// we only support one widget for now
40
std::string
DeviceId
()
const
{
return
m_device_id; }
41
42
protected
:
43
bool
StartHook
();
44
45
private
:
46
std::string m_path;
47
std::string m_device_id;
48
};
49
}
// namespace opendmx
50
}
// namespace plugin
51
}
// namespace ola
52
#endif // PLUGINS_OPENDMX_OPENDMXDEVICE_H_
Generated on Fri Jul 3 2015 15:58:45 for Open Lighting Architecture by
1.8.1.2