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,
199 const std::string &name,
209 OlaUniverse::merge_mode mode,
221 void Patch(
unsigned int device_alias,
225 unsigned int universe,
245 void SendDMX(
unsigned int universe,
283 void RDMGet(
unsigned int universe,
288 unsigned int data_length,
301 void RDMSet(
unsigned int universe,
306 unsigned int data_length,
321 const ola::proto::DmxData* request,
322 ola::proto::Ack* response,
323 CompletionCallback* done);
327 std::auto_ptr<RepeatableDMXCallback> m_dmx_callback;
328 std::auto_ptr<ola::rpc::RpcChannel> m_channel;
329 std::auto_ptr<ola::proto::OlaServerService_Stub> m_stub;
338 ola::proto::PluginListReply *reply_ptr,
345 ola::proto::PluginDescriptionReply *reply,
352 ola::proto::PluginStateReply *reply,
359 ola::proto::DeviceInfoReply *reply,
366 ola::proto::DeviceConfigReply *reply,
373 ola::proto::Ack *reply,
380 ola::proto::Ack *reply,
387 ola::proto::UniverseInfoReply *reply,
394 ola::proto::UniverseInfoReply *reply,
401 ola::proto::DmxData *reply,
408 ola::proto::UIDListReply *reply_ptr,
415 ola::proto::RDMResponse *reply,
421 void GenericFetchCandidatePorts(
unsigned int universe_id,
422 bool include_universe,
428 void SendRDMCommand(
bool is_set,
429 unsigned int universe,
434 unsigned int data_length,
441 ola::proto::RDMResponse *reply,
442 ola::rdm::RDMStatusCode *status_code);
444 static const char NOT_CONNECTED_ERROR[];
451 #endif // OLA_OLACLIENTCORE_H_