sACN  2.0.2
Implementation of ANSI E1.31 (Streaming ACN)
View other versions:
Loading...
Searching...
No Matches
common.h File Reference

C++ wrapper for the sACN init/deinit functions. More...

Go to the source code of this file.

Namespaces

namespace  sacn
 A namespace which contains all C++ language definitions in the sACN library.
 

Typedefs

using RemoteSourceHandle = sacn_remote_source_t
 

Functions

etcpal::Error Init (const EtcPalLogParams *log_params=nullptr)
 Initialize the sACN library.
 
etcpal::Error Init (const EtcPalLogParams *log_params, std::vector< SacnMcastInterface > &sys_netints)
 Initialize the sACN library.
 
etcpal::Error Init (std::vector< SacnMcastInterface > &sys_netints)
 Initialize the sACN library.
 
etcpal::Error Init (const etcpal::Logger &logger)
 Initialize the sACN library.
 
etcpal::Error Init (const etcpal::Logger &logger, std::vector< SacnMcastInterface > &sys_netints)
 Initialize the sACN library.
 
void Deinit ()
 Deinitialize the sACN library.
 
RemoteSourceHandle GetRemoteSourceHandle (const etcpal::Uuid &source_cid)
 Converts a remote source CID to the corresponding handle, or SACN_REMOTE_SOURCE_INVALID if not found.
 
etcpal::Expected< etcpal::UuidGetRemoteSourceCid (RemoteSourceHandle source_handle)
 Converts a remote source handle to the corresponding source CID.
 

Variables

constexpr RemoteSourceHandle kInvalidRemoteSourceHandle = SACN_REMOTE_SOURCE_INVALID
 

Detailed Description

C++ wrapper for the sACN init/deinit functions.