Open Lighting Architecture  0.9.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Public Types | Public Member Functions | List of all members
ola::plugin::sandnet::SandNetNode Class Reference

Classes

struct  sandnet_port
struct  universe_handler

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::InterfaceGetInterface () 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)

The documentation for this class was generated from the following files: