22 #ifndef OLA_OLACALLBACKCLIENT_H_
23 #define OLA_OLACALLBACKCLIENT_H_
27 #include <ola/OlaDevice.h>
28 #include <ola/common.h>
29 #include <ola/network/Socket.h>
30 #include <ola/plugin_id.h>
34 #include <ola/timecode/TimeCode.h>
49 string preferences_source;
50 vector<OlaPlugin> conflicting_plugins;
67 const vector<class OlaPlugin>&,
68 const string&> *callback);
70 bool FetchPluginDescription(
71 ola_plugin_id plugin_id,
81 const vector <class OlaDevice>&,
82 const string&> *callback);
84 bool FetchCandidatePorts(
85 unsigned int universe_id,
87 const vector <class OlaDevice>&,
88 const string&> *callback);
90 bool FetchCandidatePorts(
92 const vector <class OlaDevice>&,
93 const string&> *callback);
96 unsigned int device_alias,
101 bool SetPortPriorityInherit(
102 unsigned int device_alias,
104 PortDirection port_direction,
106 bool SetPortPriorityOverride(
107 unsigned int device_alias,
109 PortDirection port_direction,
114 bool FetchUniverseList(
116 const vector <class OlaUniverse>&,
117 const string &> *callback);
118 bool FetchUniverseInfo(
119 unsigned int universe,
122 const string &> *callback);
123 bool SetUniverseName(
127 bool SetUniverseMergeMode(
129 OlaUniverse::merge_mode mode,
134 unsigned int device_alias,
136 ola::PortDirection port_direction,
137 ola::PatchAction action,
145 const DmxBuffer&,
const string&> *callback);
152 const DmxBuffer&,
const string&> *callback);
154 bool RegisterUniverse(
155 unsigned int universe,
156 ola::RegisterAction register_action,
159 unsigned int universe,
163 unsigned int universe,
167 bool SendDmx(
unsigned int universe,
const DmxBuffer &data);
170 unsigned int universe,
175 unsigned int universe,
178 const string&> *callback);
180 unsigned int universe,
184 const string&> *callback);
189 unsigned int universe,
194 unsigned int data_length);
196 unsigned int universe,
201 unsigned int data_length);
203 unsigned int universe,
208 unsigned int data_length);
210 unsigned int universe,
215 unsigned int data_length);
228 #endif // OLA_OLACALLBACKCLIENT_H_