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

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

#include <merge_receiver.h>

Public Member Functions

 NetintList ()=default
 Create an empty, invalid data structure by default.
 
 NetintList (sacn_merge_receiver_t merge_receiver_handle, McastMode mcast_mode)
 Create a Netint List instance by passing the required members explicitly.
 
 NetintList (sacn_merge_receiver_t merge_receiver_handle, const std::vector< SacnMcastInterface > &network_interfaces)
 Create a Netint List instance by passing the required members explicitly.
 

Public Attributes

sacn_merge_receiver_t handle {kSacnMergeReceiverInvalid}
 The merge receiver's handle.
 
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 merge receiver will not use any network interfaces for multicast traffic.
 

Detailed Description

A set of network interfaces for a particular merge receiver.

Constructor & Destructor Documentation

◆ NetintList() [1/2]

sacn::MergeReceiver::NetintList::NetintList ( sacn_merge_receiver_t merge_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() [2/2]

sacn::MergeReceiver::NetintList::NetintList ( sacn_merge_receiver_t merge_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).

Member Data Documentation

◆ netints

std::vector<SacnMcastInterface> sacn::MergeReceiver::NetintList::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: