21 #ifndef OLA_OLACLIENTCORE_H_
22 #define OLA_OLACLIENTCORE_H_
27 #include "common/protocol/Ola.pb.h"
28 #include "common/protocol/OlaService.pb.h"
29 #include "common/rpc/RpcChannel.h"
30 #include "common/rpc/RpcController.h"
38 #include "ola/io/Descriptor.h"
39 #include "ola/plugin_id.h"
42 #include "ola/timecode/TimeCode.h"
126 const std::string &msg,
176 const std::string &name,
186 OlaUniverse::merge_mode mode,
198 void Patch(
unsigned int device_alias,
202 unsigned int universe,
222 void SendDMX(
unsigned int universe,
260 void RDMGet(
unsigned int universe,
265 unsigned int data_length,
278 void RDMSet(
unsigned int universe,
283 unsigned int data_length,
298 const ola::proto::DmxData* request,
299 ola::proto::Ack* response,
300 CompletionCallback* done);
304 std::auto_ptr<RepeatableDMXCallback> m_dmx_callback;
305 std::auto_ptr<ola::rpc::RpcChannel> m_channel;
306 std::auto_ptr<ola::proto::OlaServerService_Stub> m_stub;
313 ola::proto::PluginListReply *reply_ptr,
320 ola::proto::PluginDescriptionReply *reply,
327 ola::proto::PluginStateReply *reply,
334 ola::proto::DeviceInfoReply *reply,
341 ola::proto::DeviceConfigReply *reply,
348 ola::proto::Ack *reply,
355 ola::proto::Ack *reply,
362 ola::proto::UniverseInfoReply *reply,
369 ola::proto::UniverseInfoReply *reply,
376 ola::proto::DmxData *reply,
383 ola::proto::UIDListReply *reply_ptr,
390 ola::proto::RDMResponse *reply,
396 void GenericFetchCandidatePorts(
unsigned int universe_id,
397 bool include_universe,
403 void SendRDMCommand(
bool is_set,
404 unsigned int universe,
409 unsigned int data_length,
416 ola::proto::RDMResponse *reply,
417 ola::rdm::rdm_response_code *response_code);
419 static const char NOT_CONNECTED_ERROR[];
426 #endif // OLA_OLACLIENTCORE_H_