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

A set of network interfaces for a particular universe. More...

#include <source.h>

Public Member Functions

 UniverseNetintList ()=default
 Create an empty, invalid data structure by default.
 
 UniverseNetintList (sacn_source_t source_handle, uint16_t universe_id, McastMode mcast_mode)
 Create a Universe Netint List instance by passing the required members explicitly.
 
 UniverseNetintList (sacn_source_t source_handle, uint16_t universe_id, const std::vector< SacnMcastInterface > &network_interfaces)
 Create a Universe Netint List instance by passing all members explicitly.
 

Public Attributes

sacn_source_t handle {kSacnSourceInvalid}
 The source's handle.
 
uint16_t universe {0}
 The ID of the universe.
 
std::vector< SacnMcastInterface > netints
 If !empty, this is the list of interfaces the application wants to use, and the status codes are filled in.
 
bool no_netints {false}
 If this is true, this universe will not use any network interfaces for multicast traffic.
 

Detailed Description

A set of network interfaces for a particular universe.

Constructor & Destructor Documentation

◆ UniverseNetintList() [1/2]

sacn::Source::UniverseNetintList::UniverseNetintList ( sacn_source_t source_handle,
uint16_t universe_id,
McastMode mcast_mode = McastMode::kEnabledOnAllInterfaces )
inline

Create a Universe Netint List instance by passing the required members explicitly.

Optional members can be modified directly in the struct.

◆ UniverseNetintList() [2/2]

sacn::Source::UniverseNetintList::UniverseNetintList ( sacn_source_t source_handle,
uint16_t universe_id,
const std::vector< SacnMcastInterface > & network_interfaces )
inline

Create a Universe Netint List instance by passing all members explicitly.

This constructor enables the use of list initialization when setting up one or more UniverseNetintLists (such as initializing the vector<UniverseNetintList> that gets passed into Source::ResetNetworking).

Member Data Documentation

◆ netints

std::vector<SacnMcastInterface> sacn::Source::UniverseNetintList::netints

If !empty, this is the list of interfaces the application wants to use, and the status codes are filled in.

If empty, all available interfaces are tried.


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