Open Lighting Architecture: ola::plugin::shownet Namespace Reference

| Open Lighting Architecture 0.10.9

Loading...
Searching...
No Matches
Classes | Typedefs | Enumerations | Functions
ola::plugin::shownet Namespace Reference

## Detailed Description

Code for the Strand ShowNet protocol.

Some reference info: https://code.google.com/p/open-lighting/issues/detail?id=218

## Classes
class | ShowNetDevice
class | ShowNetNode
struct | shownet_packet
class | ShowNetPlugin
class | ShowNetInputPort
class | ShowNetOutputPort
class | ostringstream
| STL class. More...
class | string
| STL class. More...
class | map
| STL class. More...
class | IPV4Address
| Represents a IPv4 Address. More...
class | IPV4SocketAddress
| An IPv4 SocketAddress. More...
class | UDPSocket
class | Callback0
| A 0 argument callback which can be called multiple times. More...

## Typedefs
typedef struct shownet_dmx_s | shownet_dmx
typedef struct shownet_compressed_dmx_s | shownet_compressed_dmx

## Enumerations
enum | { SHOWNET_MAC_LENGTH = ola::network::MACAddress::LENGTH }
enum | { SHOWNET_NAME_LENGTH = 9 }
enum | { SHOWNET_SPARE_LENGTH = 22 }
enum | { SHOWNET_DMX_DATA_LENGTH = DMX_UNIVERSE_SIZE }
enum | { SHOWNET_COMPRESSED_DATA_LENGTH = 1269 }
enum | ShowNetPacketType { DMX_PACKET = 0x202f , COMPRESSED_DMX_PACKET = 0x808f }

## Functions
| PACK (struct shownet_dmx_s { uint16_t port;uint16_t slot_length;uint16_t pool_size;uint16_t h_slot;uint32_t sequence;uint8_t priority;uint8_t universe;uint16_t spare[SHOWNET_SPARE_LENGTH];uint8_t dmx_data[SHOWNET_DMX_DATA_LENGTH];})
| PACK (struct shownet_compressed_dmx_s { uint16_t netSlot[4];uint16_t slotSize[4];uint16_t indexBlock[5];uint16_t sequence;uint8_t priority;uint8_t universe;uint8_t pass[2];char name[SHOWNET_NAME_LENGTH];uint8_t data[SHOWNET_COMPRESSED_DATA_LENGTH];})
uint16_t | HostToLittleEndian (uint16_t value)
| 16-bit unsigned host to little endian conversion.
uint16_t | HostToNetwork (uint16_t value)
| 16-bit unsigned host to network conversion.
uint16_t | LittleEndianToHost (uint16_t value)
| 16-bit unsigned little endian to host conversion.
uint16_t | NetworkToHost (uint16_t value)
| 16-bit unsigned network to host conversion.