21 #ifndef OLAD_PLUGIN_API_CLIENT_H_ 22 #define OLAD_PLUGIN_API_CLIENT_H_ 26 #include "common/rpc/RpcController.h" 29 #include "olad/DmxSource.h" 33 class OlaClientService_Stub;
55 Client(ola::proto::OlaClientService_Stub *client_stub,
67 virtual bool SendDMX(
unsigned int universe_id, uint8_t priority,
75 void DMXReceived(
unsigned int universe,
const DmxSource &source);
81 const DmxSource SourceData(
unsigned int universe)
const;
100 ola::proto::Ack *ack);
102 std::auto_ptr<class ola::proto::OlaClientService_Stub> m_client_stub;
103 std::map<unsigned int, DmxSource> m_data_map;
109 #endif // OLAD_PLUGIN_API_CLIENT_H_ Definition: DmxSource.h:36
#define DISALLOW_COPY_AND_ASSIGN(TypeName)
Creates dummy copy constructor and assignment operator declarations.
Definition: Macro.h:44
Used to hold a single universe of DMX data.
Definition: DmxBuffer.h:49
A RDM unique identifier (UID).
bool GetUID(uid_t *uid)
Get the real UID of the process.
Definition: Credentials.cpp:61
Represents a connected OLA client on the OLA server side.
Definition: Client.h:46
Represents a RDM UID.
Definition: UID.h:57
bool SetUID(uid_t new_uid)
Set the effective UID of the process.
Definition: Credentials.cpp:121
The namespace containing all OLA symbols.
Definition: Credentials.cpp:44
A RpcController object is passed every time an RPC is invoked and is used to indicate the success or ...
Definition: RpcController.h:42