21 #ifndef OLAD_CLIENT_H_
22 #define OLAD_CLIENT_H_
25 #include "common/rpc/RpcController.h"
27 #include "olad/DmxSource.h"
31 class OlaClientService_Stub;
40 explicit Client(ola::proto::OlaClientService_Stub *client_stub)
41 : m_client_stub(client_stub) {}
43 virtual bool SendDMX(
unsigned int universe_id, uint8_t priority,
47 ola::proto::Ack *ack);
48 void DMXReceived(
unsigned int universe,
const DmxSource &source);
49 const DmxSource SourceData(
unsigned int universe)
const;
50 class ola::proto::OlaClientService_Stub *Stub()
const {
55 class ola::proto::OlaClientService_Stub *m_client_stub;
56 std::map<unsigned int, DmxSource> m_data_map;
61 #endif // OLAD_CLIENT_H_