21 #ifndef OLAD_CLIENT_H_
22 #define OLAD_CLIENT_H_
25 #include "common/rpc/SimpleRpcController.h"
26 #include "olad/DmxSource.h"
30 class OlaClientService_Stub;
38 using ola::proto::OlaClientService_Stub;
42 explicit Client(OlaClientService_Stub *client_stub):
43 m_client_stub(client_stub) {}
45 virtual bool SendDMX(
unsigned int universe_id, uint8_t priority,
49 ola::proto::Ack *ack);
50 void DMXRecieved(
unsigned int universe,
const DmxSource &source);
51 const DmxSource SourceData(
unsigned int universe)
const;
52 class OlaClientService_Stub *Stub()
const {
return m_client_stub; }
58 class OlaClientService_Stub *m_client_stub;
59 map<unsigned int, DmxSource> m_data_map;
62 #endif // OLAD_CLIENT_H_