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"
39 #include "ola/plugin_id.h"
42 #include "ola/timecode/TimeCode.h"
132 const std::string &msg,
182 const std::string &name,
192 OlaUniverse::merge_mode mode,
204 void Patch(
unsigned int device_alias,
208 unsigned int universe,
228 void SendDMX(
unsigned int universe,
266 void RDMGet(
unsigned int universe,
271 unsigned int data_length,
284 void RDMSet(
unsigned int universe,
289 unsigned int data_length,
304 const ola::proto::DmxData* request,
305 ola::proto::Ack* response,
306 CompletionCallback* done);
310 std::auto_ptr<RepeatableDMXCallback> m_dmx_callback;
311 std::auto_ptr<ola::rpc::RpcChannel> m_channel;
312 std::auto_ptr<ola::proto::OlaServerService_Stub> m_stub;
319 ola::proto::PluginListReply *reply_ptr,
326 ola::proto::PluginDescriptionReply *reply,
333 ola::proto::PluginStateReply *reply,
340 ola::proto::DeviceInfoReply *reply,
347 ola::proto::DeviceConfigReply *reply,
354 ola::proto::Ack *reply,
361 ola::proto::Ack *reply,
368 ola::proto::UniverseInfoReply *reply,
375 ola::proto::UniverseInfoReply *reply,
382 ola::proto::DmxData *reply,
389 ola::proto::UIDListReply *reply_ptr,
396 ola::proto::RDMResponse *reply,
402 void GenericFetchCandidatePorts(
unsigned int universe_id,
403 bool include_universe,
409 void SendRDMCommand(
bool is_set,
410 unsigned int universe,
415 unsigned int data_length,
422 ola::proto::RDMResponse *reply,
423 ola::rdm::rdm_response_code *response_code);
425 static const char NOT_CONNECTED_ERROR[];
432 #endif // OLA_OLACLIENTCORE_H_