sACN  HEAD (unstable)
Implementation of ANSI E1.31 (Streaming ACN)
View other versions:
Loading...
Searching...
No Matches
sacn::Source::UniverseSettings Struct Reference

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.
 

Detailed Description

A set of configuration settings for a new universe on a source.

Constructor & Destructor Documentation

◆ UniverseSettings()

sacn::Source::UniverseSettings::UniverseSettings ( uint16_t universe_id)
inline

Create a Universe Settings instance by passing the required members explicitly.

Optional members can be modified directly in the struct.

Member Data Documentation

◆ priority

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

◆ send_preview

bool sacn::Source::UniverseSettings::send_preview {false}

If true, this sACN source will send preview data.

Defaults to false.

◆ send_unicast_only

bool sacn::Source::UniverseSettings::send_unicast_only {false}

If true, this sACN source will only send unicast traffic on this universe.

Defaults to false.

◆ sync_universe

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.

◆ unicast_destinations

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().

◆ universe

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.


The documentation for this struct was generated from the following file: