|
sACN
HEAD (unstable)
Implementation of ANSI E1.31 (Streaming ACN)
|
View other versions:
|
A set of configuration settings for a new universe on a source. More...
#include <source.h>
Public Member Functions | |
| UniverseSettings ()=default | |
| Create an empty, invalid data structure by default. | |
| UniverseSettings (uint16_t universe_id) | |
| Create a Universe Settings instance by passing the required members explicitly. | |
| bool | IsValid () const |
| Determine whether a Universe Settings instance contains valid data for sACN operation. | |
Public Attributes | |
| uint16_t | universe {0} |
| The universe number. | |
| uint8_t | priority {100} |
| The sACN universe priority that is sent in each packet. | |
| bool | send_preview {false} |
| If true, this sACN source will send preview data. | |
| bool | send_unicast_only {false} |
| If true, this sACN source will only send unicast traffic on this universe. | |
| std::vector< etcpal::IpAddr > | unicast_destinations |
| The initial set of unicast destinations for this universe. | |
| uint16_t | sync_universe {0} |
| If non-zero, this is the synchronization universe used to synchronize the sACN output. | |
A set of configuration settings for a new universe on a source.
|
inline |
Create a Universe Settings instance by passing the required members explicitly.
Optional members can be modified directly in the struct.
| uint8_t sacn::Source::UniverseSettings::priority {100} |
The sACN universe priority that is sent in each packet.
This is only allowed to be from 0 - 200. Defaults to
| bool sacn::Source::UniverseSettings::send_preview {false} |
If true, this sACN source will send preview data.
Defaults to false.
| bool sacn::Source::UniverseSettings::send_unicast_only {false} |
If true, this sACN source will only send unicast traffic on this universe.
Defaults to false.
| uint16_t sacn::Source::UniverseSettings::sync_universe {0} |
If non-zero, this is the synchronization universe used to synchronize the sACN output.
Defaults to 0. TODO: At this time, synchronization is not supported by this library.
| std::vector<etcpal::IpAddr> sacn::Source::UniverseSettings::unicast_destinations |
The initial set of unicast destinations for this universe.
This can be changed further by using Source::AddUnicastDestination() and Source::RemoveUnicastDestination().
| uint16_t sacn::Source::UniverseSettings::universe {0} |
The universe number.
At this time, only values from 1 - 63999 are accepted. You cannot have a source send more than one stream of levels to a single universe.