Open Lighting Architecture
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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, 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
using
std::string;
33
34
class
OpenDmxDevice
:
public
ola::Device
{
35
public
:
36
OpenDmxDevice
(
ola::AbstractPlugin
*owner,
37
const
string
&name,
38
const
string
&path,
39
unsigned
int
device_id);
40
41
// we only support one widget for now
42
string
DeviceId()
const
{
return
m_device_id; }
43
44
protected
:
45
bool
StartHook();
46
47
private
:
48
string
m_path;
49
string
m_device_id;
50
};
51
}
// namespace opendmx
52
}
// namespace plugin
53
}
// namespace ola
54
#endif // PLUGINS_OPENDMX_OPENDMXDEVICE_H_
Generated on Fri Apr 4 2014 11:54:23 for Open Lighting Architecture by
1.8.1.2