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
include
ola
client
Module.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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
15
*
16
* Module.h
17
* Contains the information required to load the StreamingClient as a plugin.
18
* Copyright (C) 2014 Simon Newton
19
*/
41
#ifndef INCLUDE_OLA_CLIENT_MODULE_H_
42
#define INCLUDE_OLA_CLIENT_MODULE_H_
43
44
#include <
ola/client/StreamingClient.h
>
45
46
namespace
ola {
47
48
namespace
client {
class
StreamingClientInterface; }
49
class
DmxBuffer;
50
51
}
// namespace ola
52
56
#define OLA_NEW_STREAMING_CLIENT "ola_new_streaming_client"
57
61
#define OLA_DELETE_STREAMING_CLIENT "ola_delete_streaming_client"
62
66
typedef
ola::client::StreamingClientInterface
*
ola_new_streaming_client_t
(
67
const
ola::client::StreamingClient::Options
&options);
68
72
typedef
void
ola_delete_streaming_client_t
(
73
ola::client::StreamingClientInterface
*client);
74
75
extern
"C"
{
76
ola::client::StreamingClientInterface
*ola_new_streaming_client(
77
const
ola::client::StreamingClient::Options
&options);
78
void
ola_delete_streaming_client(
79
ola::client::StreamingClientInterface
*client);
80
}
81
85
#define OLA_NEW_DMXBUFFER "ola_new_dmxbuffer"
86
90
#define OLA_DELETE_DMXBUFFER "ola_delete_dmxbuffer"
91
95
#define OLA_SET_DMXBUFFER "ola_set_dmxbuffer"
96
100
typedef
ola::DmxBuffer
*
ola_new_dmxbuffer_t
();
101
105
typedef
void
ola_delete_dmxbuffer_t
(
ola::DmxBuffer
*buffer);
106
113
typedef
void
ola_set_dmxbuffer_t
(
ola::DmxBuffer
*buffer,
const
uint8_t *data,
114
unsigned
int
size);
115
116
extern
"C"
{
117
ola::DmxBuffer
*ola_new_dmxbuffer();
118
void
ola_delete_dmxbuffer(
ola::DmxBuffer
*buffer);
119
void
ola_set_dmxbuffer(
ola::DmxBuffer
*buffer,
const
uint8_t *data,
120
unsigned
int
size);
121
}
122
123
#endif // INCLUDE_OLA_CLIENT_MODULE_H_
Generated on Fri Jul 3 2015 15:58:45 for Open Lighting Architecture by
1.8.1.2