sACN  3.0.0
Implementation of ANSI E1.31 (Streaming ACN)
View other versions:
Loading...
Searching...
No Matches
Receiver::NetintList Struct Reference

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

#include <receiver.h>

Public Member Functions

 NetintList ()=default
 
 NetintList (sacn_receiver_t receiver_handle, McastMode mcast_mode)
 Create a Netint List instance by passing the required members explicitly.
 
 NetintList (sacn_receiver_t receiver_handle, const std::vector< SacnMcastInterface > &network_interfaces)
 Create a Netint List instance by passing the required members explicitly.
 

Data Fields

sacn_receiver_t handle {SACN_RECEIVER_INVALID}
 
std::vector< SacnMcastInterfacenetints
 
bool no_netints {false}
 

Detailed Description

A set of network interfaces for a particular receiver.

Constructor & Destructor Documentation

◆ NetintList() [1/3]

NetintList ( )
default

Create an empty, invalid data structure by default.

◆ NetintList() [2/3]

NetintList ( sacn_receiver_t receiver_handle,
McastMode mcast_mode = McastMode::kEnabledOnAllInterfaces )
inline

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

Optional members can be modified directly in the struct.

◆ NetintList() [3/3]

NetintList ( sacn_receiver_t receiver_handle,
const std::vector< SacnMcastInterface > & network_interfaces )
inline

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

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

Field Documentation

◆ handle

The receiver's handle.

◆ 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.

◆ no_netints

bool no_netints {false}

If this is true, this receiver will not use any network interfaces for multicast traffic.


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