Open Lighting Architecture
Latest Git
|
Public Types | |
enum | sandnet_port_type { SANDNET_PORT_MODE_DISABLED, SANDNET_PORT_MODE_OUT, SANDNET_PORT_MODE_IN, SANDNET_PORT_MODE_MOUT, SANDNET_PORT_MODE_MIN } |
Public Member Functions | |
SandNetNode (const std::string &preferred_ip) | |
const ola::network::Interface & | GetInterface () const |
void | SetName (const std::string &name) |
bool | Start () |
bool | Stop () |
std::vector< ola::network::UDPSocket * > | GetSockets () |
void | SocketReady (ola::network::UDPSocket *socket) |
bool | SetHandler (uint8_t group, uint8_t universe, DmxBuffer *buffer, Callback0< void > *closure) |
bool | RemoveHandler (uint8_t group, uint8_t universe) |
bool | SetPortParameters (uint8_t port_id, sandnet_port_type type, uint8_t group, uint8_t universe) |
bool | SendAdvertisement () |
bool | SendDMX (uint8_t port_id, const DmxBuffer &buffer) |