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"
139 const std::string &msg,
189 const std::string &name,
199 OlaUniverse::merge_mode mode,
211 void Patch(
unsigned int device_alias,
215 unsigned int universe,
235 void SendDMX(
unsigned int universe,
273 void RDMGet(
unsigned int universe,
278 unsigned int data_length,
291 void RDMSet(
unsigned int universe,
296 unsigned int data_length,
311 const ola::proto::DmxData* request,
312 ola::proto::Ack* response,
313 CompletionCallback* done);
317 std::auto_ptr<RepeatableDMXCallback> m_dmx_callback;
318 std::auto_ptr<ola::rpc::RpcChannel> m_channel;
319 std::auto_ptr<ola::proto::OlaServerService_Stub> m_stub;
328 ola::proto::PluginListReply *reply_ptr,
335 ola::proto::PluginDescriptionReply *reply,
342 ola::proto::PluginStateReply *reply,
349 ola::proto::DeviceInfoReply *reply,
356 ola::proto::DeviceConfigReply *reply,
363 ola::proto::Ack *reply,
370 ola::proto::Ack *reply,
377 ola::proto::UniverseInfoReply *reply,
384 ola::proto::UniverseInfoReply *reply,
391 ola::proto::DmxData *reply,
398 ola::proto::UIDListReply *reply_ptr,
405 ola::proto::RDMResponse *reply,
411 void GenericFetchCandidatePorts(
unsigned int universe_id,
412 bool include_universe,
418 void SendRDMCommand(
bool is_set,
419 unsigned int universe,
424 unsigned int data_length,
431 ola::proto::RDMResponse *reply,
432 ola::rdm::rdm_response_code *response_code);
434 static const char NOT_CONNECTED_ERROR[];
441 #endif // OLA_OLACLIENTCORE_H_