Open Lighting Architecture
0.9.0
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
include
ola
client
CallbackTypes.h
Go to the documentation of this file.
1
/*
2
* This library is free software; you can redistribute it and/or
3
* modify it under the terms of the GNU Lesser General Public
4
* License as published by the Free Software Foundation; either
5
* version 2.1 of the License, or (at your option) any later version.
6
*
7
* This library 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 GNU
10
* Lesser General Public License for more details.
11
*
12
* You should have received a copy of the GNU Lesser General Public
13
* License along with this library; if not, write to the Free Software
14
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
15
*
16
* CallbackTypes.h
17
* Copyright (C) 2013 Simon Newton
18
*/
19
25
#ifndef INCLUDE_OLA_CLIENT_CALLBACKTYPES_H_
26
#define INCLUDE_OLA_CLIENT_CALLBACKTYPES_H_
27
28
#include <
ola/Callback.h
>
29
#include <
ola/DmxBuffer.h
>
30
#include <
ola/client/ClientTypes.h
>
31
#include <
ola/client/Result.h
>
32
#include <
ola/rdm/RDMCommand.h
>
33
#include <
ola/rdm/UIDSet.h
>
34
35
#include <string>
36
#include <vector>
37
38
namespace
ola {
39
namespace
client {
40
46
typedef
SingleUseCallback2<void, const Result&, const std::vector<OlaPlugin>&>
47
PluginListCallback
;
48
54
typedef
SingleUseCallback2<void, const Result&, const std::string&>
55
PluginDescriptionCallback
;
56
62
typedef
SingleUseCallback2<void, const Result&, const PluginState&>
63
PluginStateCallback
;
64
70
typedef
SingleUseCallback2<void, const Result&, const std::vector<OlaDevice>
&>
71
DeviceInfoCallback
;
72
78
typedef
SingleUseCallback2<void, const Result&, const std::vector<OlaDevice>
&>
79
CandidatePortsCallback
;
80
85
typedef
SingleUseCallback1<void, const Result&>
SetCallback
;
86
91
typedef
BaseCallback1<void, const Result&>
GeneralSetCallback
;
92
98
typedef
SingleUseCallback2<void, const Result&, const std::vector<OlaUniverse>
&>
99
UniverseListCallback
;
100
106
typedef
SingleUseCallback2<void, const Result&, const OlaUniverse&>
107
UniverseInfoCallback
;
108
114
typedef
SingleUseCallback2<void, const Result&, const std::string&>
115
ConfigureDeviceCallback
;
116
123
typedef
SingleUseCallback2<void, const Result&, const ola::rdm::UIDSet&>
124
DiscoveryCallback
;
125
126
133
typedef
SingleUseCallback3
<void,
const
Result
&,
const
DMXMetadata
&,
134
const
DmxBuffer
&>
DMXCallback
;
135
141
typedef
Callback2<void, const DMXMetadata&, const DmxBuffer&>
142
RepeatableDMXCallback
;
143
152
typedef
SingleUseCallback3
<void,
const
Result
&,
153
const
RDMMetadata
&,
154
const
ola::rdm::RDMResponse
*>
RDMCallback
;
155
156
157
}
// namespace client
158
}
// namespace ola
159
#endif // INCLUDE_OLA_CLIENT_CALLBACKTYPES_H_
Generated on Fri Apr 4 2014 11:46:03 for Open Lighting Architecture by
1.8.1.2