|
sACN
HEAD (unstable)
Implementation of ANSI E1.31 (Streaming ACN)
|
View other versions:
|
Definitions shared by other APIs in this module. More...
Classes | |
| class | sacn::NotifyHandler |
| A base class for a class that receives common notification callbacks from sACN. More... | |
| struct | sacn::LibrarySettings |
| Settings for the sACN library beyond the sacn::Init overrides. More... | |
Functions | |
| etcpal::Error | sacn::Init (sacn_features_t features=SACN_FEATURES_ALL, const LibrarySettings &settings={}) |
| Initialize the sACN library. | |
| etcpal::Error | sacn::Init (const EtcPalLogParams *log_params, sacn_features_t features=SACN_FEATURES_ALL, const LibrarySettings &settings={}) |
| Initialize the sACN library. | |
| etcpal::Error | sacn::Init (const EtcPalLogParams *log_params, McastMode mcast_mode, sacn_features_t features=SACN_FEATURES_ALL, const LibrarySettings &settings={}) |
| Initialize the sACN library. | |
| etcpal::Error | sacn::Init (const EtcPalLogParams *log_params, std::vector< SacnMcastInterface > &sys_netints, sacn_features_t features=SACN_FEATURES_ALL, const LibrarySettings &settings={}) |
| Initialize the sACN library. | |
| etcpal::Error | sacn::Init (std::vector< SacnMcastInterface > &sys_netints, sacn_features_t features=SACN_FEATURES_ALL, const LibrarySettings &settings={}) |
| Initialize the sACN library. | |
| etcpal::Error | sacn::Init (const etcpal::Logger &logger, McastMode mcast_mode=McastMode::kEnabledOnAllInterfaces, sacn_features_t features=SACN_FEATURES_ALL, const LibrarySettings &settings={}) |
| Initialize the sACN library. | |
| etcpal::Error | sacn::Init (const etcpal::Logger &logger, sacn_features_t features, const LibrarySettings &settings={}) |
| Initialize the sACN library. | |
| etcpal::Error | sacn::Init (const etcpal::Logger &logger, std::vector< SacnMcastInterface > &sys_netints, sacn_features_t features=SACN_FEATURES_ALL, const LibrarySettings &settings={}) |
| Initialize the sACN library. | |
| RemoteSourceHandle | sacn::GetRemoteSourceHandle (const etcpal::Uuid &source_cid) |
| Converts a remote source CID to the corresponding handle, or kSacnRemoteSourceInvalid if not found. | |
| etcpal::Expected< etcpal::Uuid > | sacn::GetRemoteSourceCid (RemoteSourceHandle source_handle) |
| Converts a remote source handle to the corresponding source CID. | |
Definitions shared by other APIs in this module.
|
inline |
Converts a remote source handle to the corresponding source CID.
| [in] | source_handle | The handle of the remote source. |
|
inline |
Converts a remote source CID to the corresponding handle, or kSacnRemoteSourceInvalid if not found.
This is a simple conversion from a remote source CID to it's corresponding remote source handle. A handle will be returned only if it is a source that has been discovered by a receiver, merge receiver, or source detector.
| [in] | source_cid | The UUID of the remote source CID. |
|
inline |
Initialize the sACN library.
Wraps sacn_init_features(). Does all initialization required before the sACN API modules can be used.
This is an overload of Init that defaults to using all system interfaces for multicast traffic, but can also be used to disable multicast traffic on all interfaces.
Redundant initialization of features is permitted - the library tracks counters for each feature and expects deinit to be called the same number of times as init for each feature.
| logger | Logger instance for the sACN library to use to log messages. |
| mcast_mode | This controls whether or not multicast traffic is allowed on the system's network interfaces. |
| features | Mask of sACN features to initialize (defaults to all features). |
| settings | Optional library settings. |
|
inline |
Initialize the sACN library.
Wraps sacn_init_features(). Does all initialization required before the sACN API modules can be used.
This is an overload of Init that only takes a logger & features (which default to all features). It assumes all network interfaces should be used - this is useful for initializing a feature for which the network is irrelevant (e.g. SACN_FEATURE_DMX_MERGER), since the rest can be initialized later when calling Init again for all features.
Redundant initialization of features is permitted - the library tracks counters for each feature and expects deinit to be called the same number of times as init for each feature.
| logger | Logger instance for the sACN library to use to log messages. |
| features | Mask of sACN features to initialize (defaults to all features). |
| settings | Optional library settings. |
|
inline |
Initialize the sACN library.
Wraps sacn_init_features(). Does all initialization required before the sACN API modules can be used.
Redundant initialization of features is permitted - the library tracks counters for each feature and expects deinit to be called the same number of times as init for each feature.
| logger | Logger instance for the sACN library to use to log messages. |
| sys_netints | If !empty, this is the list of system interfaces the library will be limited to, and the status codes are filled in. If empty, the library is allowed to use all available system interfaces. |
| features | Mask of sACN features to initialize (defaults to all features). |
| settings | Optional library settings. |
|
inline |
Initialize the sACN library.
Wraps sacn_init_features(). Does all initialization required before the sACN API modules can be used.
This is an overload of Init that defaults to using all system interfaces for multicast traffic, but can also be used to disable multicast traffic on all interfaces.
Redundant initialization of features is permitted - the library tracks counters for each feature and expects deinit to be called the same number of times as init for each feature.
| log_params | (optional) Log parameters for the sACN library to use to log messages. If not provided, no logging will be performed. |
| mcast_mode | This controls whether or not multicast traffic is allowed on the system's network interfaces. |
| features | Mask of sACN features to initialize (defaults to all features). |
| settings | Optional library settings. |
|
inline |
Initialize the sACN library.
Wraps sacn_init_features(). Does all initialization required before the sACN API modules can be used.
This is an overload of Init that only takes a logger & features (which default to all features). It assumes all network interfaces should be used - this is useful for initializing a feature for which the network is irrelevant (e.g. SACN_FEATURE_DMX_MERGER), since the rest can be initialized later when calling Init again for all features.
Redundant initialization of features is permitted - the library tracks counters for each feature and expects deinit to be called the same number of times as init for each feature.
| log_params | (optional) Log parameters for the sACN library to use to log messages. If not provided, no logging will be performed. |
| features | Mask of sACN features to initialize (defaults to all features). |
| settings | Optional library settings. |
|
inline |
Initialize the sACN library.
Wraps sacn_init_features(). Does all initialization required before the sACN API modules can be used.
Redundant initialization of features is permitted - the library tracks counters for each feature and expects deinit to be called the same number of times as init for each feature.
| log_params | Log parameters for the sACN library to use to log messages. If not provided, no logging will be performed. |
| sys_netints | If !empty, this is the list of system interfaces the library will be limited to, and the status codes are filled in. If empty, the library is allowed to use all available system interfaces. |
| features | Mask of sACN features to initialize (defaults to all features). |
| settings | Optional library settings. |
|
inline |
Initialize the sACN library.
Wraps sacn_init_features(). Does all initialization required before the sACN API modules can be used.
This is an overload of Init that only takes features (which default to all features). It doesn't specify a logger and assumes all network interfaces should be used - this is useful for initializing a feature for which neither of these are relevant (e.g. SACN_FEATURE_DMX_MERGER), since Init can be called again for the rest of the features later.
Redundant initialization of features is permitted - the library tracks counters for each feature and expects deinit to be called the same number of times as init for each feature.
| features | Mask of sACN features to initialize (defaults to all features). |
| settings | Optional library settings. |
|
inline |
Initialize the sACN library.
Wraps sacn_init_features(). Does all initialization required before the sACN API modules can be used.
This is an overload of Init that does not enable logging.
Redundant initialization of features is permitted - the library tracks counters for each feature and expects deinit to be called the same number of times as init for each feature.
| sys_netints | If !empty, this is the list of system interfaces the library will be limited to, and the status codes are filled in. If empty, the library is allowed to use all available system interfaces. |
| features | Mask of sACN features to initialize (defaults to all features). |
| settings | Optional library settings. |